Fix logic to stop overrwriting upgrade hieradata
Change-Id: I5eade126445358dbe20140af78665d9747db18de
This commit is contained in:
parent
625126ac71
commit
b066abcb2e
|
@ -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