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
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

View file

@ -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