From dc4c9b4fb2a9f4318f5f45354c523ebd0b23d03d Mon Sep 17 00:00:00 2001 From: Matthieu Bertin Date: Thu, 1 Jun 2017 00:59:48 +0200 Subject: [PATCH] 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. --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index d6e9878..da8bcdb 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -32,7 +32,7 @@ register: dhcpd_register_nameservers changed_when: False when: dhcpd_mode == 'server' - always_run: yes + check_mode: no - name: Convert list of nameservers to Ansible list set_fact: