Add group_vars conf for Centos iptables
This commit is contained in:
parent
c15c18abc3
commit
4a5741c879
|
@ -1,6 +1,6 @@
|
|||
# Service and package's name of NTP client on Debian
|
||||
ntp_service_name: ntpd
|
||||
ntp_package: ntp
|
||||
ntp_service_name: chronyd
|
||||
ntp_package: chrony
|
||||
|
||||
# Package's name of sudo package on Debian
|
||||
sudo_package: sudo
|
||||
|
@ -23,5 +23,6 @@ tools_package:
|
|||
- grep
|
||||
- net-tools
|
||||
|
||||
# Do not configure iptables/firewall with Ansible
|
||||
configure_iptables: false
|
||||
# Define iptables save files for CentOS
|
||||
iptables_save_file: /etc/sysconfig/iptables
|
||||
ip6tables_save_file: /etc/sysconfig/ip6tables
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
---
|
||||
- hosts: all
|
||||
roles:
|
||||
# - auto_reboot
|
||||
# - auto_upgrade
|
||||
# - client_ntp
|
||||
# - client_resolvers
|
||||
# - client_tools
|
||||
# - users_sudo
|
||||
- client_iptables # OK for Debian (iptables-persistent mode)
|
||||
- auto_reboot
|
||||
- auto_upgrade
|
||||
- client_ntp
|
||||
- client_resolvers
|
||||
- client_tools
|
||||
- users_sudo
|
||||
- client_iptables
|
||||
|
|
Loading…
Reference in a new issue