refs #7538 Swarm nodes removed #21
|
@ -0,0 +1,133 @@
|
||||||
|
---
|
||||||
|
|
||||||
|
### ROOT-USER ###############################################################
|
||||||
|
root_user_enabled: True
|
||||||
|
#root_user_enabled: False
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
### HOSTNAME ################################################################
|
||||||
|
hostname_enabled: True
|
||||||
|
#hostname_enabled: False
|
||||||
|
hostname: 'vm-debian12'
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
### HOSTS ###################################################################
|
||||||
|
hosts_enabled: True
|
||||||
|
#hosts_enabled: False
|
||||||
|
hosts:
|
||||||
|
- ip: 127.0.0.1
|
||||||
|
name: localhost
|
||||||
|
- ip: 127.0.1.1
|
||||||
|
name: vm-debian12.lab.verdnatura.es vm-debian12
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
### RESOLV ##################################################################
|
||||||
|
resolv_enabled: True
|
||||||
|
#resolv_enabled: False
|
||||||
|
domain_name: lab.verdnatura.es
|
||||||
|
search_name: lab.verdnatura.es
|
||||||
|
resolvs:
|
||||||
|
- ip: 10.0.0.4
|
||||||
|
- ip: 10.0.0.5
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
### UPDATE ##################################################################
|
||||||
|
update_enabled: True
|
||||||
|
#update_enabled: False
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
### INSTALL PACKAGES ########################################################
|
||||||
|
packages_enabled: True
|
||||||
|
#packages_enabled: False
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
### RELAY HOST SMTP #########################################################
|
||||||
|
relay_host_enabled: True
|
||||||
|
#relay_host_enabled: False
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
### CENTRALIZED AUTH ########################################################
|
||||||
|
centralized_auth_enabled: True
|
||||||
|
#centralized_auth_enabled: False
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
### SUDOERS #################################################################
|
||||||
|
sudoers_enabled: True
|
||||||
|
#sudoers_enabled: False
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
### SECURE GRUB #############################################################
|
||||||
|
#secure_grub_enabled: True
|
||||||
|
secure_grub_enabled: False
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
### VIM OPTIONS #############################################################
|
||||||
|
vim_options_enabled: True
|
||||||
|
#vim_options_enabled: False
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
### MOTD ####################################################################
|
||||||
|
motd_enabled: True
|
||||||
|
#motd_enabled: False
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
### HOT PLUG ################################################################
|
||||||
|
hot_plug_enabled: True
|
||||||
|
#hot_plug_enabled: False
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
### LOCALES #################################################################
|
||||||
|
locales_enabled: True
|
||||||
|
#locales_enabled: False
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
### TZDATA ##################################################################
|
||||||
|
tzdata_enabled: True
|
||||||
|
#tzdata_enabled: False
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
### REPO VN #################################################################
|
||||||
|
repo_vn_enabled: True
|
||||||
|
#repo_vn_enabled: False
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
### FAIL2BAN ################################################################
|
||||||
|
#fail2ban_enabled: True
|
||||||
|
fail2ban_enabled: False
|
||||||
|
fail2ban_times:
|
||||||
|
- bantime: "604800"
|
||||||
|
maxretry: "4"
|
||||||
|
findtime: "604800"
|
||||||
|
fail2ban_jails:
|
||||||
|
- name: sshd
|
||||||
|
enabled: true
|
||||||
|
port: ['22']
|
||||||
|
filter: sshd
|
||||||
|
logpath: "%(sshd_log)s"
|
||||||
|
backend: "%(sshd_backend)s"
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
### NAGIOS NRPE #############################################################
|
||||||
|
nagios_nrpe_enabled: True
|
||||||
|
#nagios_nrpe_enabled: False
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
### SERVER TYPE #############################################################
|
||||||
|
server_type_enabled: True
|
||||||
|
#server_type_enabled: False
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
### NTP #####################################################################
|
||||||
|
ntp_enabled: True
|
||||||
|
#ntp_enabled: False
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
### AUTOFS HOMES ############################################################
|
||||||
|
autofs_homes_enabled: True
|
||||||
|
#autofs_homes_enabled: False
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
### ZABBIX AGENT ############################################################
|
||||||
|
#zabbix_agent_enabled: True
|
||||||
|
zabbix_agent_enabled: False
|
||||||
|
#############################################################################
|
112
hosts
112
hosts
|
@ -2,29 +2,23 @@
|
||||||
|
|
||||||
dhcp1 ansible_host=dhcp1.servers.dc.verdnatura.es
|
dhcp1 ansible_host=dhcp1.servers.dc.verdnatura.es
|
||||||
dhcp2 ansible_host=dhcp2.servers.dc.verdnatura.es
|
dhcp2 ansible_host=dhcp2.servers.dc.verdnatura.es
|
||||||
ns1 ansible_host=ns1.verdnatura.es
|
ns1 ansible_host=ns1.servers.dc.verdnatura.es
|
||||||
ns2 ansible_host=ns2.verdnatura.es
|
ns2 ansible_host=ns2.servers.dc.verdnatura.es
|
||||||
smtp ansible_host=smtp.verdnatura.es
|
mailgw1 ansible_host=mailgw1.servers.dc.verdnatura.es
|
||||||
mailgw1 ansible_host=mailgw1.verdnatura.es
|
mailgw2 ansible_host=mailgw2.servers.dc.verdnatura.es
|
||||||
mailgw2 ansible_host=mailgw2.verdnatura.es
|
|
||||||
mail2 ansible_host=mail2.verdnatura.es
|
|
||||||
postfixadmin ansible_host=postfixadmin.verdnatura.es
|
|
||||||
postfix ansible_host=postfix.servers.dc.verdnatura.es
|
postfix ansible_host=postfix.servers.dc.verdnatura.es
|
||||||
time1 ansible_host=time1.verdnatura.es
|
time1 ansible_host=time1.servers.dc.verdnatura.es
|
||||||
time2 ansible_host=time2.verdnatura.es
|
time2 ansible_host=time2.servers.dc.verdnatura.es
|
||||||
pbx ansible_host=pbx.servers.dc.verdnatura.es
|
pbx ansible_host=pbx.servers.dc.verdnatura.es
|
||||||
homes ansible_host=homes.servers.dc.verdnatura.es
|
homes ansible_host=homes.servers.dc.verdnatura.es
|
||||||
server ansible_host=server.servers.dc.verdnatura.es
|
server ansible_host=server.servers.dc.verdnatura.es
|
||||||
mail ansible_host=mail.static.verdnatura.es
|
|
||||||
vpn ansible_host=vpn.servers.dc.verdnatura.es
|
vpn ansible_host=vpn.servers.dc.verdnatura.es
|
||||||
cacti ansible_host=cacti.verdnatura.es
|
cacti ansible_host=cacti.servers.dc.verdnatura.es
|
||||||
logger ansible_host=logger.servers.dc.verdnatura.es
|
logger ansible_host=logger.servers.dc.verdnatura.es
|
||||||
nagios ansible_host=nagios.verdnatura.es
|
nagios ansible_host=nagios.servers.dc.verdnatura.es
|
||||||
nagiosql-db ansible_host=nagiosql-db.verdnatura.es
|
nagiosql-db ansible_host=nagiosql-db.servers.dc.verdnatura.es
|
||||||
doku ansible_host=doku.verdnatura.es
|
doku ansible_host=doku.servers.dc.verdnatura.es
|
||||||
unifi ansible_host=unifi.verdnatura.es
|
unifi ansible_host=unifi.servers.dc.verdnatura.es
|
||||||
ubd ansible_host=ubd.verdnatura.es
|
|
||||||
opera ansible_host=opera.verdnatura.es
|
|
||||||
dc1 ansible_host=dc1.servers.dc.verdnatura.es
|
dc1 ansible_host=dc1.servers.dc.verdnatura.es
|
||||||
dc2 ansible_host=dc2.servers.dc.verdnatura.es
|
dc2 ansible_host=dc2.servers.dc.verdnatura.es
|
||||||
ldap-proxy1 ansible_host=ldap-proxy1.servers.dc.verdnatura.es
|
ldap-proxy1 ansible_host=ldap-proxy1.servers.dc.verdnatura.es
|
||||||
|
@ -32,25 +26,18 @@ ldap-proxy2 ansible_host=ldap-proxy2.servers.dc.verdnatura.es
|
||||||
ldap1 ansible_host=ldap1.servers.dc.verdnatura.es
|
ldap1 ansible_host=ldap1.servers.dc.verdnatura.es
|
||||||
ldap2 ansible_host=ldap2.servers.dc.verdnatura.es
|
ldap2 ansible_host=ldap2.servers.dc.verdnatura.es
|
||||||
ldap3 ansible_host=ldap3.servers.dc.verdnatura.es
|
ldap3 ansible_host=ldap3.servers.dc.verdnatura.es
|
||||||
ldapweb ansible_host=ldapweb.verdnatura.es
|
|
||||||
db1 ansible_host=db1.servers.dc.verdnatura.es
|
db1 ansible_host=db1.servers.dc.verdnatura.es
|
||||||
db2 ansible_host=db2.servers.dc.verdnatura.es
|
db2 ansible_host=db2.servers.dc.verdnatura.es
|
||||||
db-proxy1 ansible_host=db-proxy1.servers.dc.verdnatura.es
|
db-proxy1 ansible_host=db-proxy1.servers.dc.verdnatura.es
|
||||||
db-proxy2 ansible_host=db-proxy2.servers.dc.verdnatura.es
|
db-proxy2 ansible_host=db-proxy2.servers.dc.verdnatura.es
|
||||||
db-proxy-vip1 ansible_host=db-proxy-vip1.verdnatura.es
|
|
||||||
db-proxy-vip2 ansible_host=db-proxy-vip2.verdnatura.es
|
|
||||||
test-db1 ansible_host=test-db1.servers.dc.verdnatura.es
|
test-db1 ansible_host=test-db1.servers.dc.verdnatura.es
|
||||||
test-db-proxy1 ansible_host=test-db-proxy1.servers.dc.verdnatura.es
|
test-db-proxy1 ansible_host=test-db-proxy1.servers.dc.verdnatura.es
|
||||||
test-db-proxy2 ansible_host=test-db-proxy2.servers.dc.verdnatura.es
|
test-db-proxy2 ansible_host=test-db-proxy2.servers.dc.verdnatura.es
|
||||||
monthly-db ansible_host=monthly-db.servers.dc.verdnatura.es
|
monthly-db ansible_host=monthly-db.servers.dc.verdnatura.es
|
||||||
dev-db ansible_host=dev-db.servers.dc.verdnatura.es
|
dev-db ansible_host=dev-db.servers.dc.verdnatura.es
|
||||||
test-db-vip1 ansible_host=test-db-vip1.verdnatura.es
|
|
||||||
test-db-vip2 ansible_host=test-db-vip2.verdnatura.es
|
|
||||||
asterisk ansible_host=asterisk.verdnatura.es
|
|
||||||
train ansible_host=train.verdnatura.es
|
|
||||||
tftp ansible_host=tftp.backup.dc.verdnatura.es
|
tftp ansible_host=tftp.backup.dc.verdnatura.es
|
||||||
core-agent ansible_host=core-agent.static.verdnatura.es
|
core-agent ansible_host=core-agent.core.dc.verdnatura.es
|
||||||
core-proxy ansible_host=core-proxy.static.verdnatura.es
|
core-proxy ansible_host=core-proxy.core.dc.verdnatura.es
|
||||||
spamd-db ansible_host=spamd-db.servers.dc.verdnatura.es
|
spamd-db ansible_host=spamd-db.servers.dc.verdnatura.es
|
||||||
spamd ansible_host=spamd.servers.dc.verdnatura.es
|
spamd ansible_host=spamd.servers.dc.verdnatura.es
|
||||||
dovecot ansible_host=dovecot.servers.dc.verdnatura.es
|
dovecot ansible_host=dovecot.servers.dc.verdnatura.es
|
||||||
|
@ -64,22 +51,18 @@ nas2 ansible_host=nas2.servers.dc.verdnatura.es
|
||||||
|
|
||||||
[windows]
|
[windows]
|
||||||
|
|
||||||
a3 ansible_host=a3.static.verdnatura.es
|
a3 ansible_host=a3.outsource.dc.verdnatura.es
|
||||||
adwindows ansible_host=adwindows.servers.dc.verdnatura.es
|
rsat ansible_host=rsat.servers.dc.verdnatura.es
|
||||||
franceexpress ansible_host=franceexpress.servers.dc.verdnatura.es
|
contaplus ansible_host=contaplus.outsource.dc.verdnatura.es
|
||||||
contaplus ansible_host=contaplus.static.verdnatura.es
|
dipole ansible_host=dipole.outsource.dc.verdnatura.es
|
||||||
rdswebbbdd ansible_host=rdswebbbdd.servers.dc.verdnatura.es
|
|
||||||
dipole ansible_host=dipole.static.verdnatura.es
|
|
||||||
printserver ansible_host=printserver.servers.dc.verdnatura.es
|
printserver ansible_host=printserver.servers.dc.verdnatura.es
|
||||||
sage ansible_host=sage.static.verdnatura.es
|
sage ansible_host=sage.outsource.dc.verdnatura.es
|
||||||
mrw ansible_host=mrw.servers.dc.verdnatura.es
|
mrw ansible_host=mrw.servers.dc.verdnatura.es
|
||||||
bt1 ansible_host=bt1.servers.dc.verdnatura.es
|
ts1 ansible_host=ts1.rds.dc.verdnatura.es
|
||||||
bt2 ansible_host=bt2.servers.dc.verdnatura.es
|
ts2 ansible_host=ts2.rds.dc.verdnatura.es
|
||||||
rds-licenses ansible_host=rds-licenses.servers.dc.verdnatura.es
|
rds-licenses ansible_host=rds-licenses.rds.dc.verdnatura.es
|
||||||
integra2 ansible_host=integra2.servers.dc.verdnatura.es
|
integra2 ansible_host=integra2.servers.dc.verdnatura.es
|
||||||
docuware ansible_host=docuware.static.verdnatura.es
|
docuware ansible_host=docuware.outsource.dc.verdnatura.es
|
||||||
logiflora ansible_host=logiflora.static.verdnatura.es
|
|
||||||
wac ansible_host=wac.servers.dc.verdnatura.es
|
|
||||||
|
|
||||||
[backup]
|
[backup]
|
||||||
|
|
||||||
|
@ -91,46 +74,48 @@ bacularis ansible_host=bacularis.backup.dc.verdnatura.es
|
||||||
bacula-dir ansible_host=bacula-dir.backup.dc.verdnatura.es
|
bacula-dir ansible_host=bacula-dir.backup.dc.verdnatura.es
|
||||||
bacula-db ansible_host=bacula-db.backup.dc.verdnatura.es
|
bacula-db ansible_host=bacula-db.backup.dc.verdnatura.es
|
||||||
|
|
||||||
[core]
|
[pve]
|
||||||
|
|
||||||
mox1 ansible_host=mox1.verdnatura.es
|
pve01 ansible_host=pve01.core.dc.verdnatura.es
|
||||||
mox2 ansible_host=mox2.verdnatura.es
|
pve02 ansible_host=pve02.core.dc.verdnatura.es
|
||||||
mox3 ansible_host=mox3.verdnatura.es
|
pve03 ansible_host=pve03.core.dc.verdnatura.es
|
||||||
mox4 ansible_host=mox4.verdnatura.es
|
pve04 ansible_host=pve04.core.dc.verdnatura.es
|
||||||
mox5 ansible_host=mox5.verdnatura.es
|
|
||||||
|
|
||||||
[ilo]
|
[pve-ilo]
|
||||||
|
|
||||||
mox1-ilo ansible_host=mox1-ilo.verdnatura.es
|
pve01-ilo ansible_host=pve01-ilo.core.dc.verdnatura.es
|
||||||
mox2-ilo ansible_host=mox2-ilo.verdnatura.es
|
pve02-ilo ansible_host=pve02-ilo.core.dc.verdnatura.es
|
||||||
mox3-ilo ansible_host=mox3-ilo.verdnatura.es
|
pve03-ilo ansible_host=pve03-ilo.core.dc.verdnatura.es
|
||||||
mox4-ilo ansible_host=mox4-ilo.verdnatura.es
|
pve04-ilo ansible_host=pve04-ilo.core.dc.verdnatura.es
|
||||||
mox5-ilo ansible_host=mox5-ilo.verdnatura.es
|
|
||||||
ve3-ilo ansible_host=ve3-ilo.verdnatura.es
|
|
||||||
ve4-ilo ansible_host=ve4-ilo.verdnatura.es
|
|
||||||
ve5-ilo ansible_host=ve5-ilo.verdnatura.es
|
|
||||||
|
|
||||||
[kubernetes]
|
[kube-master]
|
||||||
|
|
||||||
kube-master1 ansible_host=kube-master1.servers.dc.verdnatura.es
|
kube-master1 ansible_host=kube-master1.servers.dc.verdnatura.es
|
||||||
kube-master2 ansible_host=kube-master2.servers.dc.verdnatura.es
|
kube-master2 ansible_host=kube-master2.servers.dc.verdnatura.es
|
||||||
kube-master3 ansible_host=kube-master3.servers.dc.verdnatura.es
|
kube-master3 ansible_host=kube-master3.servers.dc.verdnatura.es
|
||||||
|
|
||||||
|
[kube-worker]
|
||||||
|
|
||||||
kube-worker1 ansible_host=kube-worker1.servers.dc.verdnatura.es
|
kube-worker1 ansible_host=kube-worker1.servers.dc.verdnatura.es
|
||||||
kube-worker2 ansible_host=kube-worker2.servers.dc.verdnatura.es
|
kube-worker2 ansible_host=kube-worker2.servers.dc.verdnatura.es
|
||||||
kube-worker3 ansible_host=kube-worker3.servers.dc.verdnatura.es
|
kube-worker3 ansible_host=kube-worker3.servers.dc.verdnatura.es
|
||||||
kube-worker4 ansible_host=kube-worker4.servers.dc.verdnatura.es
|
kube-worker4 ansible_host=kube-worker4.servers.dc.verdnatura.es
|
||||||
|
|
||||||
|
[kube-proxy]
|
||||||
|
|
||||||
kube-proxy1 ansible_host=kube-proxy1.servers.dc.verdnatura.es
|
kube-proxy1 ansible_host=kube-proxy1.servers.dc.verdnatura.es
|
||||||
kube-proxy2 ansible_host=kube-proxy2.servers.dc.verdnatura.es
|
kube-proxy2 ansible_host=kube-proxy2.servers.dc.verdnatura.es
|
||||||
|
|
||||||
|
[kube-backup]
|
||||||
|
|
||||||
kube-helm ansible_host=kube-helm.servers.dc.verdnatura.es
|
kube-helm ansible_host=kube-helm.servers.dc.verdnatura.es
|
||||||
kube-proxy-vip1 ansible_host=kube-proxy-vip1.verdnatura.es
|
|
||||||
kube-proxy-vip2 ansible_host=kube-proxy-vip2.verdnatura.es
|
|
||||||
|
|
||||||
[vmware]
|
[kube:children]
|
||||||
|
|
||||||
ve3 ansible_host=ve3.verdnatura.es
|
kube-master
|
||||||
ve4 ansible_host=ve4.verdnatura.es
|
kube-worker
|
||||||
ve5 ansible_host=ve5.verdnatura.es
|
kube-proxy
|
||||||
vcenter ansible_host=vcenter.verdnatura.es
|
kube-backup
|
||||||
|
|
||||||
[test]
|
[test]
|
||||||
|
|
||||||
|
@ -154,4 +139,5 @@ freeradius-playbook ansible_host=freeradius-playbook.lab.verdnatura.es
|
||||||
debian-vn-test ansible_host=debian-vn-test.lab.verdnatura.es
|
debian-vn-test ansible_host=debian-vn-test.lab.verdnatura.es
|
||||||
iventoy-test ansible_host=iventoy-test.lab.verdnatura.es
|
iventoy-test ansible_host=iventoy-test.lab.verdnatura.es
|
||||||
kubelab-proxy1 ansible_host=kubelab-proxy1.lab.verdnatura.es
|
kubelab-proxy1 ansible_host=kubelab-proxy1.lab.verdnatura.es
|
||||||
openvpn-freeradius ansible_host=openvpn-freeradius.lab.verdnatura.es
|
openvpn-freeradius ansible_host=openvpn-freeradius.lab.verdnatura.es
|
||||||
|
vm-debian12 ansible_host=vm-debian12.lab.verdnatura.es
|
||||||
|
|
|
@ -23,4 +23,9 @@
|
||||||
- mlocate
|
- mlocate
|
||||||
- bind9-dnsutils
|
- bind9-dnsutils
|
||||||
- task-spanish
|
- task-spanish
|
||||||
- locales-all
|
- locales-all
|
||||||
|
- tree
|
||||||
|
- ncdu
|
||||||
|
- cloud-guest-utils
|
||||||
|
- net-tools
|
||||||
|
- curl
|
||||||
|
|
Loading…
Reference in New Issue