From 1e64eb7111ac1b085b2acce8b7777f8bdec5b1bb Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Wed, 30 Nov 2016 15:06:06 -0600 Subject: [PATCH] ceph-mon: adds static: no to an include to avoid an ansible bug 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 --- roles/ceph-mon/tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/ceph-mon/tasks/main.yml b/roles/ceph-mon/tasks/main.yml index c8f9945a1..217494eaa 100644 --- a/roles/ceph-mon/tasks/main.yml +++ b/roles/ceph-mon/tasks/main.yml @@ -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: -- 2.39.5