Merge "Ensure iptables-services is installed when persisting firewall config"
This commit is contained in:
commit
d7a171cfae
@ -10,6 +10,13 @@
|
|||||||
content: "{{ ip6tables_rules.stdout }}"
|
content: "{{ ip6tables_rules.stdout }}"
|
||||||
dest: "/etc/sysconfig/ip6tables"
|
dest: "/etc/sysconfig/ip6tables"
|
||||||
|
|
||||||
|
# This provides the systemd unit file for iptables which might not be installed
|
||||||
|
- name: Ensure iptables-services is installed
|
||||||
|
become: yes
|
||||||
|
package:
|
||||||
|
name: iptables-services
|
||||||
|
state: present
|
||||||
|
|
||||||
- name: Ensure iptables is started
|
- name: Ensure iptables is started
|
||||||
become: yes
|
become: yes
|
||||||
service:
|
service:
|
||||||
|
Loading…
Reference in New Issue
Block a user