Give sudo powers in Disable mysql task.
In order to allow the external upgrade tasks disable the galera bundle we need to run the task as sudo, otherwise the task will fail with: Error: unable to get cib. Change-Id: Id2916738ff36961fc9489a828e02545024fd5ab0
This commit is contained in:
parent
47c6bc687d
commit
cdfa27f079
@ -578,6 +578,7 @@ outputs:
|
||||
- system_upgrade_transfer_data
|
||||
block:
|
||||
- name: Disable mysql
|
||||
become: true
|
||||
command: /usr/sbin/pcs resource disable galera-bundle --wait
|
||||
delegate_to: "{{hostvars[groups['overcloud'][0]]['mysql_short_node_names'][1]}}"
|
||||
- name: Transfer mysql data
|
||||
|
Loading…
x
Reference in New Issue
Block a user