Fix logic to stop overrwriting upgrade hieradata
(cherry picked from commit b066abcb2e
)
Change-Id: I0c5d99b40465e010a3f7f9f1f4f6c4bb356d4430
This commit is contained in:
parent
6ab4fbc074
commit
2e74cf5e8a
|
@ -46,7 +46,7 @@
|
|||
become: true
|
||||
when:
|
||||
- not (_tripleo_upgrade_hiera_file.stat.exists | bool) or
|
||||
(_tripleo_upgrade_hiera_test.stdout | length) > 0
|
||||
not (_tripleo_upgrade_hiera_test.stdout | length) > 0
|
||||
|
||||
- name: load the json hiera data
|
||||
command: "jq . {{ tripleo_upgrade_hiera_file }}"
|
||||
|
|
Loading…
Reference in New Issue