Remove duplicate delegate_to
This will remove some warnings in the playbook runs. Change-Id: I55ab98e0e30b8a3c2ade7a301d94535ae463c026
This commit is contained in:
parent
0c518f1b58
commit
81e11817b2
|
@ -42,7 +42,6 @@
|
|||
login_host: "{{ cinder_galera_address }}"
|
||||
name: "{{ cinder_galera_database }}"
|
||||
state: "present"
|
||||
delegate_to: "10.100.100.2"
|
||||
when: inventory_hostname == groups['cinder_all'][0]
|
||||
delegate_to: "{{ hostvars[groups['galera_all'][0]]['ansible_host'] }}"
|
||||
tags:
|
||||
|
@ -57,7 +56,6 @@
|
|||
host: "{{ item }}"
|
||||
state: "present"
|
||||
priv: "{{ cinder_galera_database }}.*:ALL"
|
||||
delegate_to: "10.100.100.2"
|
||||
when: inventory_hostname == groups['cinder_all'][0]
|
||||
delegate_to: "{{ hostvars[groups['galera_all'][0]]['ansible_host'] }}"
|
||||
with_items:
|
||||
|
|
Loading…
Reference in New Issue