]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
upgrade: fix standby_mdss group creation
authorGuillaume Abrioux <gabrioux@redhat.com>
Thu, 17 Oct 2019 13:15:58 +0000 (15:15 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Fri, 18 Oct 2019 20:09:04 +0000 (22:09 +0200)
This commit fixes the standby_mdss group creation by using `{{ item }}`.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit c4fc8cc8787e13cb6a45db51581c558a587a6f27)

infrastructure-playbooks/rolling_update.yml

index b18aa248d3ed393108ddc7fd09c35e7ee5448728..e971de8179f659c44f202312ea00e62b0e524234 100644 (file)
 
     - name: create standby_mdss group
       add_host:
-        name: "{{ standby_mdss }}"
+        name: "{{ item }}"
         groups: standby_mdss
         ansible_host: "{{ hostvars[item]['ansible_host'] | default(omit) }}"
         ansible_port: "{{ hostvars[item]['ansible_port'] | default(omit) }}"