Fix logic to stop overrwriting upgrade hieradata

(cherry picked from commit b066abcb2e)

Change-Id: I0c5d99b40465e010a3f7f9f1f4f6c4bb356d4430
This commit is contained in:
Jose Luis Franco Arza 2020-02-10 11:41:17 +01:00
parent 6ab4fbc074
commit 2e74cf5e8a
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 }}"