Elevate privileges when deleting stack dir

Octavia creates a bunch of files/folders with elevated
privileges in external_post_deploy step. Though we should
ensure the ownership permissions appropriately, it does
not hurt to force delete those with elevated privileges.

Change-Id: I7e8d0a2a1e4a00fcd6cb736919fe0da8f432023c
This commit is contained in:
rabi
2022-04-26 13:55:55 +05:30
parent 59d4ff58f8
commit b219db1fae

View File

@@ -59,6 +59,7 @@
path: "{{ config_download_path }}/{{ stack_name }}"
state: absent
- name: Remove the deploy stack
become: true
file:
path: "{{ overcloud_deploy_path }}/{{ stack_name }}"
state: absent