summaryrefslogtreecommitdiffstats
path: root/roles/contiv/tasks
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-07-27 21:11:19 -0400
committerGitHub <noreply@github.com>2017-07-27 21:11:19 -0400
commit7dddb07d4c81482835670d8f1de73fde092c8c60 (patch)
tree6288b47c1629d2858a32ffe8fd85fb8ff52f52cd /roles/contiv/tasks
parent95c9c869c8503e9bb2af4ef496ee9fb5d3b3a1ca (diff)
parent9bdc70492301a309a4cfe2f92ac4fdc77343ee9f (diff)
downloadopenshift-7dddb07d4c81482835670d8f1de73fde092c8c60.tar.gz
openshift-7dddb07d4c81482835670d8f1de73fde092c8c60.tar.bz2
openshift-7dddb07d4c81482835670d8f1de73fde092c8c60.tar.xz
openshift-7dddb07d4c81482835670d8f1de73fde092c8c60.zip
Merge pull request #4479 from mtnbikenc/contiv-warnings
Resolve Ansible deprecation warnings in Contiv roles
Diffstat (limited to 'roles/contiv/tasks')
-rw-r--r--roles/contiv/tasks/netmaster_iptables.yml2
-rw-r--r--roles/contiv/tasks/netplugin_iptables.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/roles/contiv/tasks/netmaster_iptables.yml b/roles/contiv/tasks/netmaster_iptables.yml
index 2d0fb95ae..07bb16ea7 100644
--- a/roles/contiv/tasks/netmaster_iptables.yml
+++ b/roles/contiv/tasks/netmaster_iptables.yml
@@ -2,7 +2,7 @@
- name: Netmaster IPtables | Get iptables rules
command: iptables -L --wait
register: iptablesrules
- always_run: yes
+ check_mode: no
- name: Netmaster IPtables | Enable iptables at boot
service:
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: