Remove duplicate delegate_to

This will remove some warnings in the playbook runs.

Change-Id: I55ab98e0e30b8a3c2ade7a301d94535ae463c026
This commit is contained in:
Jean-Philippe Evrard 2016-10-03 10:07:15 +01:00 committed by Jesse Pretorius (odyssey4me)
parent 0c518f1b58
commit 81e11817b2
1 changed files with 0 additions and 2 deletions

View File

@ -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: