sadly, serial is not acceptable here
This commit is contained in:
parent
135669f7cb
commit
27cb804afc
1 changed files with 1 additions and 4 deletions
|
@ -73,12 +73,9 @@
|
||||||
ignore_errors: True
|
ignore_errors: True
|
||||||
register: hostkey
|
register: hostkey
|
||||||
when: host_is_up|failed
|
when: host_is_up|failed
|
||||||
#
|
|
||||||
# Set serial: 1 here due to locking bug with known_hosts
|
|
||||||
#
|
|
||||||
- name: add new ssh host key (you still need to add it to official ssh_host_keys later)
|
- name: add new ssh host key (you still need to add it to official ssh_host_keys later)
|
||||||
local_action: known_hosts path={{ item }} key={{ hostkey.stdout }} host={{ inventory_hostname }} state=present
|
local_action: known_hosts path={{ item }} key={{ hostkey.stdout }} host={{ inventory_hostname }} state=present
|
||||||
serial: 1
|
|
||||||
ignore_errors: True
|
ignore_errors: True
|
||||||
with_items:
|
with_items:
|
||||||
- /root/.ssh/known_hosts
|
- /root/.ssh/known_hosts
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue