]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-mon: adds static: no to an include to avoid an ansible bug
authorAndrew Schoen <aschoen@redhat.com>
Wed, 30 Nov 2016 21:06:06 +0000 (15:06 -0600)
committerAndrew Schoen <aschoen@redhat.com>
Thu, 1 Dec 2016 16:28:54 +0000 (10:28 -0600)
Adding that avoids this bug:

https://github.com/ansible/ansible/issues/18206

Without that you'll get failures like:

TASK [ceph-mon : set keys permissions]
*****************************************
task path:
/home/andrewschoen/ceph-ansible/roles/ceph-mon/tasks/ceph_keys.yml:31
fatal: [mon0]: FAILED! => {"failed": true, "msg": "'dict object' has no attribute 'stdout_lines'"}

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
roles/ceph-mon/tasks/main.yml

index c8f9945a11bca6dd9f3a803bf3c277b4fa01a180..217494eaa2862dbbb7950f743b9546c3c2db3e48 100644 (file)
@@ -7,6 +7,8 @@
 
 - include: ceph_keys.yml
   when: not mon_containerized_deployment
+  # this avoids the bug mentioned here: https://github.com/ansible/ansible/issues/18206
+  static: no
 
 - include: create_mds_filesystems.yml
   when: