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 (cherry picked from commit 4f0187e7fc77f51dee4c13e712ee837bb713c5a4)
This commit is contained in:
parent
1053431027
commit
31ccacb3ed
@ -112,7 +112,6 @@
|
||||
command: "{{ neutron_bin }}/neutron-db-manage upgrade --contract"
|
||||
become: yes
|
||||
become_user: "{{ neutron_system_user_name }}"
|
||||
delegate_to: "{{ groups[neutron_services['neutron-server']['group']][0] }}"
|
||||
changed_when: false
|
||||
when:
|
||||
- "ansible_local['openstack_ansible']['neutron']['need_db_contract'] | bool"
|
||||
|
Loading…
x
Reference in New Issue
Block a user