summaryrefslogtreecommitdiffstats
path: root/roles/contiv/tasks
diff options
context:
space:
mode:
authorRussell Teague <rteague@redhat.com>2017-06-16 11:26:45 -0400
committerRussell Teague <rteague@redhat.com>2017-06-16 11:42:25 -0400
commit9bdc70492301a309a4cfe2f92ac4fdc77343ee9f (patch)
tree652159982bdbd06fabf220614a79be63fb2e6f10 /roles/contiv/tasks
parent78894125d25d7a3e7bae849cd1243b1472d9e937 (diff)
downloadopenshift-9bdc70492301a309a4cfe2f92ac4fdc77343ee9f.tar.gz
openshift-9bdc70492301a309a4cfe2f92ac4fdc77343ee9f.tar.bz2
openshift-9bdc70492301a309a4cfe2f92ac4fdc77343ee9f.tar.xz
openshift-9bdc70492301a309a4cfe2f92ac4fdc77343ee9f.zip
Resolve 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 8c348ac67..a0b97575b 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: