Install python-firewall as ansible needs python2 firewalld support

This commit is contained in:
Eric Paris 2015-06-23 14:05:07 -04:00
parent fc5c063a2d
commit 83bd4d0903
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,7 @@
---
- name: Generic | Install Firewalld Python2 Package
action: "{{ ansible_pkg_mgr }}"
args:
name: python-firewall
state: latest
when: ansible_distribution_major_version|int >= 22

View File

@ -19,3 +19,6 @@
- include: centos.yml
when: ansible_distribution == "CentOS"
- include: fedora-install.yml
when: not is_atomic and ansible_distribution == "Fedora"