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:
parent
1d415e64f2
commit
54d089f4a8
6
roles/tripleo-persist/tasks/cleanup.yml
Normal file
6
roles/tripleo-persist/tasks/cleanup.yml
Normal 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}}"
|
6
roles/tripleo-transfer/tasks/cleanup.yml
Normal file
6
roles/tripleo-transfer/tasks/cleanup.yml
Normal 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}}"
|
Loading…
Reference in New Issue
Block a user