Purge /var/lib/nova/instanceha

This directory is no longer used, after we removed the check script
for instance ha.

Change-Id: I6017d32494d3b1a09f2ccec335be34b5ff3437e9
This commit is contained in:
Takashi Kajinami 2023-08-02 15:59:05 +09:00
parent 118d29c350
commit 3ffcaa4b79

@ -1742,6 +1742,18 @@ outputs:
state: removed
failed_when: false
when: step|int == 2
post_update_tasks:
- name: Ensure instanceha directory is purged
when: step|int == 1
file:
path: /var/lib/nova/instanceha
state: absent
post_upgrade_tasks:
- name: Ensure instanceha directory is purged
when: step|int == 1
file:
path: /var/lib/nova/instanceha
state: absent
scale_tasks:
- when:
- step|int == 1