Tasks for cleaning up after tripleo_persist and tripleo_transfer

After the upgrade has been completed, we want to clean up the data
from undercloud.

Change-Id: I680b4f2c0a4a7ca8e98750347701b8d390e565cd
Implements: blueprint upgrades-with-os
This commit is contained in:
Jiri Stransky 2019-02-26 15:34:40 +01:00
parent 1d415e64f2
commit 54d089f4a8
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,6 @@
- name: ensure tripleo_persist storage directory is removed
file:
path: "{{tripleo_persist_storage_root_dir}}"
state: absent
delegate_to: localhost
become: "{{tripleo_persist_storage_root_become}}"

View File

@ -0,0 +1,6 @@
- name: ensure tripleo_transfer storage directory is removed
file:
path: "{{tripleo_transfer_storage_root_dir}}"
state: absent
delegate_to: localhost
become: "{{tripleo_transfer_storage_root_become}}"