]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
mon: copy openstack keys over to all mon
authorGuillaume Abrioux <gabrioux@redhat.com>
Thu, 7 Jun 2018 07:09:38 +0000 (09:09 +0200)
committerSébastien Han <seb@redhat.com>
Thu, 7 Jun 2018 08:42:54 +0000 (16:42 +0800)
When configuring openstack, the created keyrings aren't copied over to
all monitors nodes.

This should have been backported from
433ecc7cbcc1ac91cab509dabe5c647d58c18c7f but this would implie too much
changes.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1588093
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-mon/tasks/openstack_config.yml

index 7bf2293fe6e436be3a5bd2dc0aaafebefea1daef..3ab7b5a8bb6b60725a9aba43cd17349b04850d63 100644 (file)
@@ -56,7 +56,7 @@
   when:
     - cephx
     - openstack_config
-    - item.0 != groups[mon_group_name] | last
+    - item.0 != groups[mon_group_name]
 
 - name: chmod openstack key(s) on the other mons and this mon
   file: