Fix logic to stop overrwriting upgrade hieradata

Change-Id: I5eade126445358dbe20140af78665d9747db18de
This commit is contained in:
Lukas Bezdicka 2020-03-04 00:14:29 +01:00
parent 625126ac71
commit b066abcb2e
1 changed files with 1 additions and 1 deletions

View File

@ -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 }}"