summaryrefslogtreecommitdiffstats
path: root/roles/os_firewall
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-09-28 17:06:19 -0400
committerGitHub <noreply@github.com>2016-09-28 17:06:19 -0400
commit7f1a3f99fc39265e39054e5de1a8d6e29f0d63b8 (patch)
treee3c87865a5c6ddc4087cd42d21f33e607226f9af /roles/os_firewall
parentba824ca4300f5e0c9b81980f9031fffa3618a3b5 (diff)
parent70dd1bb1e94530741d6524eba57166a7457ec7f2 (diff)
downloadopenshift-7f1a3f99fc39265e39054e5de1a8d6e29f0d63b8.tar.gz
openshift-7f1a3f99fc39265e39054e5de1a8d6e29f0d63b8.tar.bz2
openshift-7f1a3f99fc39265e39054e5de1a8d6e29f0d63b8.tar.xz
openshift-7f1a3f99fc39265e39054e5de1a8d6e29f0d63b8.zip
Merge pull request #2518 from abutcher/quiet-time
Reduce warning output
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