base: ensure iptables is installed
Signed-off-by: Mark O Brien <markobri@redhat.com>
This commit is contained in:
parent
de2279d2cb
commit
148f8307d7
1 changed files with 11 additions and 5 deletions
|
@ -229,6 +229,12 @@
|
|||
- base
|
||||
when: ansible_distribution_major_version|int > 31 and ansible_distribution == 'Fedora' or ansible_distribution == 'RedHat'
|
||||
|
||||
- name: Ensure iptables is installed
|
||||
dnf: state=present name=iptables
|
||||
tags:
|
||||
- packages
|
||||
- base
|
||||
|
||||
- name: iptables
|
||||
template: src={{ item }} dest=/etc/sysconfig/iptables mode=0600 validate="/sbin/iptables-restore --test %s"
|
||||
with_first_found:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue