add sections

This commit is contained in:
Ruben Blanco 2024-02-15 09:53:40 +01:00
parent 688e4992e6
commit 5102cf4db6
1 changed files with 67 additions and 21 deletions

View File

@ -1,42 +1,73 @@
--- ---
### COMMON #####################################################################
hostname: 'test-playbook'
### ROOT-USER ###############################################################
root-user_enabled: True
#root-user_enabled: False
#############################################################################
### HOSTNAME ################################################################
hostname_enabled: True
#hostname_enabled: False
hostname: 'test-playbook'
#############################################################################
### HOSTS ###################################################################
hosts_enabled: True
#hosts_enabled: False
hosts: hosts:
- ip: 127.0.0.1 - ip: 127.0.0.1
name: localhost name: localhost
- ip: 127.0.1.1 - ip: 127.0.1.1
name: test-playbook.lab.dc.verdnatura.es test-playbook name: test-playbook.lab.dc.verdnatura.es test-playbook
#############################################################################
### RESOLV ##################################################################
resolv_enabled: True
#resolv_enabled: False
domain_name: lab.dc.verdnatura.es domain_name: lab.dc.verdnatura.es
search_name: lab.dc.verdnatura.es search_name: lab.dc.verdnatura.es
resolvs: resolvs:
- ip: 10.0.0.4 - ip: 10.0.0.4
- ip: 10.0.0.5 - ip: 10.0.0.5
################################################################################ #############################################################################
### ROOT-USER ################################################################## ### UPDATE ##################################################################
root-user_enabled: True #############################################################################
#root-user_enabled: False
################################################################################
### HOSTNAME ################################################################### ### INSTALL PACKAGES ########################################################
hostname_enabled: True #############################################################################
#hostname_enabled: False
################################################################################
### HOSTS ################################################################### ### RELAY HOST SMTP #########################################################
hosts_enabled: True #############################################################################
#hosts_enabled: False
################################################################################
### RESOLV ################################################################### ### CENTRALIZED AUTH ########################################################
resolv_enabled: True #############################################################################
#resolv_enabled: False
################################################################################
### SUDOERS #################################################################
#############################################################################
### FAIL2BAN ################################################################### ### SECURE GRUB #############################################################
#############################################################################
### VIM OPTIONS #############################################################
#############################################################################
### MOTD ####################################################################
#############################################################################
### HOT PLUG ################################################################
#############################################################################
### LOCALES #################################################################
#############################################################################
### TZDATA ##################################################################
#############################################################################
### REPO VN #################################################################
#############################################################################
### FAIL2BAN ################################################################
fail2ban_enabled: True fail2ban_enabled: True
#fail2ban_enabled: False #fail2ban_enabled: False
fail2ban_times: fail2ban_times:
@ -50,4 +81,19 @@ fail2ban_jails:
filter: sshd filter: sshd
logpath: "%(sshd_log)s" logpath: "%(sshd_log)s"
backend: "%(sshd_backend)s" backend: "%(sshd_backend)s"
################################################################################ #############################################################################
### NAGIOS NRPE #############################################################
#############################################################################
### SERVER TYPE #############################################################
#############################################################################
### NTP #####################################################################
#############################################################################
### AUTOFS HOMES ############################################################
#############################################################################
### ZABBIX AGENT ############################################################
#############################################################################