]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Assume mon_docker_privileged false in switch to containers
authorGiulio Fidente <gfidente@redhat.com>
Tue, 22 Aug 2017 11:01:03 +0000 (13:01 +0200)
committerGiulio Fidente <gfidente@redhat.com>
Tue, 22 Aug 2017 11:01:25 +0000 (13:01 +0200)
infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml

index 87e7ee60fd4bd63df026ba44a3ec6846ce8050cd..0c61c671cc708770b6a4d3459084b26de2eb7071 100644 (file)
       name: "ceph-mon-{{ ansible_hostname }}"
       net: "host"
       state: "running"
-      privileged: "{{ mon_docker_privileged }}"
+      privileged: "{{ mon_docker_privileged|default(false) }}"
       env: "MON_IP={{ hostvars[inventory_hostname]['ansible_' + monitor_interface]['ipv4']['address'] }},CEPH_DAEMON=MON,CEPH_PUBLIC_NETWORK={{ public_network }},CEPH_FSID={{ ceph_fsid.stdout }},{{ ceph_mon_docker_extra_env|default('') }}"
       volumes: "/var/lib/ceph:/var/lib/ceph,/etc/ceph:/etc/ceph,/etc/localtime:/etc/localtime:ro"