Remove handler delegation for DB contract
There is no reason to perform that kind of delegation, as handler should run only for one host out of the play anyway. Even more, this delegation might cause failures in case of running role with limits, as `neutron_bin` on play host may not exist on the delegated host during minor upgrades, for instance. Change-Id: Ic8d8aae75dd58a30cd41327fe62009cc0dfb8bbb
This commit is contained in:
parent
a53b28c8da
commit
4f0187e7fc
@ -112,7 +112,6 @@
|
|||||||
command: "{{ neutron_bin }}/neutron-db-manage upgrade --contract"
|
command: "{{ neutron_bin }}/neutron-db-manage upgrade --contract"
|
||||||
become: yes
|
become: yes
|
||||||
become_user: "{{ neutron_system_user_name }}"
|
become_user: "{{ neutron_system_user_name }}"
|
||||||
delegate_to: "{{ groups[neutron_services['neutron-server']['group']][0] }}"
|
|
||||||
changed_when: false
|
changed_when: false
|
||||||
when:
|
when:
|
||||||
- "ansible_local['openstack_ansible']['neutron']['need_db_contract'] | bool"
|
- "ansible_local['openstack_ansible']['neutron']['need_db_contract'] | bool"
|
||||||
|
Loading…
Reference in New Issue
Block a user