Cleanup instance ha dir as root
Without become=true FFU would fail with: FATAL | Ensure instanceha directory is purged | compute-1 | error={"changed": false, "msg": "rmtree failed: [Errno 13] Permission denied: 'check-run-nova-compute'"} Change-Id: I9b25063dded49fa5dae589fba627b2dbdccb17f6
This commit is contained in:
parent
e100ce997f
commit
96846e3f2a
@ -1777,12 +1777,14 @@ outputs:
|
||||
post_update_tasks:
|
||||
- name: Ensure instanceha directory is purged
|
||||
when: step|int == 1
|
||||
become: true
|
||||
file:
|
||||
path: /var/lib/nova/instanceha
|
||||
state: absent
|
||||
post_upgrade_tasks:
|
||||
- name: Ensure instanceha directory is purged
|
||||
when: step|int == 1
|
||||
become: true
|
||||
file:
|
||||
path: /var/lib/nova/instanceha
|
||||
state: absent
|
||||
|
Loading…
x
Reference in New Issue
Block a user