[ffwd3] idempotency fix

Change-Id: I8b92f4b5517637dd4b0be1e6c2c6100a74d74ef0
This commit is contained in:
Lukas Bezdicka 2023-07-19 18:25:10 +02:00
parent 0fd5e39d5f
commit cb45c2dd3c
1 changed files with 2 additions and 2 deletions

View File

@ -27,12 +27,12 @@
- name: fetch baremetal deploy file source
shell: |
grep overcloud-node-provision .tripleo/history | sed -e "s/.* input=\(.*\), output.*/\1/"
grep overcloud-node-provision .tripleo/history | head -n 1 | sed -e "s/.* input=\(.*\), output.*/\1/"
register: baremetal_file
- name: fetch baremetal deploy file destination
shell: |
grep overcloud-node-provision .tripleo/history | sed -e "s/.* input=.*, output=\(.*\), yes=.*/\1/"
grep overcloud-node-provision .tripleo/history | head -n 1 | sed -e "s/.* input=.*, output=\(.*\), yes=.*/\1/"
register: baremetal_file_dst
- set_fact: