summaryrefslogtreecommitdiffstats
path: root/roles/os_firewall
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-09-27 16:49:38 -0400
committerAndrew Butcher <abutcher@redhat.com>2016-09-28 15:30:42 -0400
commit37788eb7590babf79bbec52fb29211ada7136878 (patch)
treea8b497cf7a2b533fdb7727fb397ea016714b509d /roles/os_firewall
parent43f52e292afac7bde5e588377e56d9c49574806c (diff)
downloadopenshift-37788eb7590babf79bbec52fb29211ada7136878.tar.gz
openshift-37788eb7590babf79bbec52fb29211ada7136878.tar.bz2
openshift-37788eb7590babf79bbec52fb29211ada7136878.tar.xz
openshift-37788eb7590babf79bbec52fb29211ada7136878.zip
Suppress more warnings.
Diffstat (limited to 'roles/os_firewall')
-rw-r--r--roles/os_firewall/tasks/firewall/iptables.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/os_firewall/tasks/firewall/iptables.yml b/roles/os_firewall/tasks/firewall/iptables.yml
index 774916798..470d4f4f9 100644
--- a/roles/os_firewall/tasks/firewall/iptables.yml
+++ b/roles/os_firewall/tasks/firewall/iptables.yml
@@ -1,6 +1,10 @@
---
- name: Check if firewalld is installed
command: rpm -q firewalld
+ args:
+ # Disables the following warning:
+ # Consider using yum, dnf or zypper module rather than running rpm
+ warn: no
register: pkg_check
failed_when: pkg_check.rc > 1
changed_when: no