upgrade: fix standby_mdss group creation

This commit fixes the standby_mdss group creation by using `{{ item }}`.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit c4fc8cc878)
pull/4639/head
Guillaume Abrioux 2019-10-17 15:15:58 +02:00
parent c6f1ef893d
commit bc3138eff4
1 changed files with 1 additions and 1 deletions

View File

@ -577,7 +577,7 @@
- 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) }}"