diff options
author | Mark Chappell <mchappel@redhat.com> | 2017-06-23 14:31:08 +0200 |
---|---|---|
committer | Mark Chappell <mchappel@redhat.com> | 2017-06-23 14:32:03 +0200 |
commit | 9e2db2bb18b2446dfd603b097936a21686d5b020 (patch) | |
tree | 90f408a57ecd3a39db5be340d284d6a536af4331 /roles/contiv | |
parent | 0371aff5b86302d4786a87c0fe6f52b32a2952c9 (diff) | |
download | openshift-9e2db2bb18b2446dfd603b097936a21686d5b020.tar.gz openshift-9e2db2bb18b2446dfd603b097936a21686d5b020.tar.bz2 openshift-9e2db2bb18b2446dfd603b097936a21686d5b020.tar.xz openshift-9e2db2bb18b2446dfd603b097936a21686d5b020.zip |
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.
Diffstat (limited to 'roles/contiv')
-rw-r--r-- | roles/contiv/tasks/netplugin_iptables.yml | 2 |
1 files changed, 1 insertions, 1 deletions
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: |