Skip ssh_known_hosts tasks in check mode
The tempfile task is skipped in check mode so we need to skip all tasks to avoid referencing the undefined temp file path. Change-Id: I87a4b40387cabed86e04efa64ddc19f117693589 Closes-Bug: 1817765
This commit is contained in:
parent
1d415e64f2
commit
6f538dc820
@ -1,6 +1,7 @@
|
||||
---
|
||||
- name: Add host keys in /etc/ssh/ssh_known_hosts for live/cold-migration
|
||||
become: true
|
||||
check_mode: no
|
||||
block:
|
||||
# Workaround https://bugs.launchpad.net/tripleo/+bug/1810932
|
||||
# Ansible modules perform a replace instead of in-place modification.
|
||||
|
Loading…
x
Reference in New Issue
Block a user