summaryrefslogtreecommitdiffstats
path: root/roles/os_firewall
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2015-12-07 10:24:20 -0500
committerScott Dodson <sdodson@redhat.com>2015-12-15 17:07:17 -0500
commitafe0064e01d3f6f33f323ffea7aae0eaf00b9ac2 (patch)
tree1ab5236c3948197cb8976cac91305937f45bb727 /roles/os_firewall
parent3f2be7d987ccef8c4e157163dd9394ba6492a88c (diff)
downloadopenshift-afe0064e01d3f6f33f323ffea7aae0eaf00b9ac2.tar.gz
openshift-afe0064e01d3f6f33f323ffea7aae0eaf00b9ac2.tar.bz2
openshift-afe0064e01d3f6f33f323ffea7aae0eaf00b9ac2.tar.xz
openshift-afe0064e01d3f6f33f323ffea7aae0eaf00b9ac2.zip
Skip yum/dnf ops when is_containerized
Diffstat (limited to 'roles/os_firewall')
-rw-r--r--roles/os_firewall/tasks/firewall/firewalld.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/os_firewall/tasks/firewall/firewalld.yml b/roles/os_firewall/tasks/firewall/firewalld.yml
index ba12c6b0c..ac4600f83 100644
--- a/roles/os_firewall/tasks/firewall/firewalld.yml
+++ b/roles/os_firewall/tasks/firewall/firewalld.yml
@@ -1,6 +1,7 @@
---
- name: Install firewalld packages
action: "{{ ansible_pkg_mgr }} name=firewalld state=present"
+ when: not openshift.common.is_containerized | bool
register: install_result
- name: Check if iptables-services is installed