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:
parent
4e216386f3
commit
3d4f143b89
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue