Add group_vars conf for Centos iptables

This commit is contained in:
Nemo 2020-07-11 19:05:49 +02:00
parent c15c18abc3
commit 4a5741c879
2 changed files with 12 additions and 11 deletions

View file

@ -1,6 +1,6 @@
# Service and package's name of NTP client on Debian # Service and package's name of NTP client on Debian
ntp_service_name: ntpd ntp_service_name: chronyd
ntp_package: ntp ntp_package: chrony
# Package's name of sudo package on Debian # Package's name of sudo package on Debian
sudo_package: sudo sudo_package: sudo
@ -23,5 +23,6 @@ tools_package:
- grep - grep
- net-tools - net-tools
# Do not configure iptables/firewall with Ansible # Define iptables save files for CentOS
configure_iptables: false iptables_save_file: /etc/sysconfig/iptables
ip6tables_save_file: /etc/sysconfig/ip6tables

View file

@ -1,10 +1,10 @@
--- ---
- hosts: all - hosts: all
roles: roles:
# - auto_reboot - auto_reboot
# - auto_upgrade - auto_upgrade
# - client_ntp - client_ntp
# - client_resolvers - client_resolvers
# - client_tools - client_tools
# - users_sudo - users_sudo
- client_iptables # OK for Debian (iptables-persistent mode) - client_iptables