FFWD3: Resolve deployment error with become

Check if deployed file exists for CADeployment | controller-0 | error={"changed": false, "msg": "Permission denied"}

Upgrade returns this error which is simply caused by missing become.

Change-Id: I1bf6987f2feab13ee22ffd240e7a5b0c19346c58
(cherry picked from commit c9e8b25bd1)
This commit is contained in:
Lukas Bezdicka 2022-08-02 23:16:04 +02:00 committed by Sergii Golovatiuk
parent 4e216386f3
commit 3d4f143b89
1 changed files with 1 additions and 0 deletions

View File

@ -154,6 +154,7 @@
- not ansible_check_mode|bool
- name: "Check if deployed file exists for {{ item }}"
become: true
stat:
path: /var/lib/heat-config/deployed/{{ deployment_uuid }}.json
register: deployed_file_stat