From 9e2db2bb18b2446dfd603b097936a21686d5b020 Mon Sep 17 00:00:00 2001 From: Mark Chappell Date: Fri, 23 Jun 2017 14:31:08 +0200 Subject: replace deprecated always_run with check_mode: no Prior to Ansible 2.2 only the the equivalent of check_mode: no existed. The notation for that was always_run: yes. always_run now generates a deprecation warning: [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. --- roles/contiv/tasks/netplugin_iptables.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/contiv/tasks') diff --git a/roles/contiv/tasks/netplugin_iptables.yml b/roles/contiv/tasks/netplugin_iptables.yml index 184c595c5..3ea34645d 100644 --- a/roles/contiv/tasks/netplugin_iptables.yml +++ b/roles/contiv/tasks/netplugin_iptables.yml @@ -2,7 +2,7 @@ - name: Netplugin IPtables | Get iptables rules command: iptables -L --wait register: iptablesrules - always_run: yes + check_mode: no - name: Netplugin IPtables | Enable iptables at boot service: -- cgit v1.2.3