In ansible 2.2 always_run is depreciated. Switch to check_mode.

This commit is contained in:
Kevin Fenzi 2016-11-01 16:29:49 +00:00
parent 1fe7e9264d
commit b1a2d105c9
67 changed files with 124 additions and 124 deletions

View file

@ -5,7 +5,7 @@
register: host_is_up
ignore_errors: true
changed_when: false
always_run: true
check_mode: no
- name: clean out old known_hosts (name based entries)
local_action: known_hosts path={{item}} host={{inventory_hostname}} state=absent
@ -56,7 +56,7 @@
changed_when: volume_available.rc == 0
ignore_errors: True
when: volumes is defined
always_run: True
check_mode: no
#
# If it is attach it.
@ -97,7 +97,7 @@
- name: gather facts
setup:
always_run: True
check_mode: no
ignore_errors: True
register: facts