Always run the check to see if the host is up or not
This commit is contained in:
parent
2554a35bf7
commit
18e2fcf325
1 changed files with 1 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
||||||
register: host_is_up
|
register: host_is_up
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
always_run: true
|
||||||
|
|
||||||
- name: clean out old known_hosts (name based entries)
|
- name: clean out old known_hosts (name based entries)
|
||||||
local_action: known_hosts path={{item}} host={{inventory_hostname}} state=absent
|
local_action: known_hosts path={{item}} host={{inventory_hostname}} state=absent
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue