Browse Source

Fix logic to stop overrwriting upgrade hieradata

Change-Id: I5eade126445358dbe20140af78665d9747db18de
changes/25/711125/1
Lukas Bezdicka 2 years ago
parent
commit
b066abcb2e
  1. 2
      tripleo_ansible/roles/tripleo_upgrade_hiera/tasks/create-tripleo-upgrade-file.yml

2
tripleo_ansible/roles/tripleo_upgrade_hiera/tasks/create-tripleo-upgrade-file.yml

@ -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…
Cancel
Save