always_run is deprecated. Use check_mode = no instead..

[DEPRECATION WARNING]: always_run is deprecated. Use check_mode = no instead..
This feature will be removed in version 2.4. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
This commit is contained in:
Matthieu Bertin 2017-06-01 00:59:48 +02:00 committed by GitHub
parent 082b385e6f
commit dc4c9b4fb2

View File

@ -32,7 +32,7 @@
register: dhcpd_register_nameservers register: dhcpd_register_nameservers
changed_when: False changed_when: False
when: dhcpd_mode == 'server' when: dhcpd_mode == 'server'
always_run: yes check_mode: no
- name: Convert list of nameservers to Ansible list - name: Convert list of nameservers to Ansible list
set_fact: set_fact: