2023-04-24 10:11:09 +00:00
|
|
|
|
- name: server
|
|
|
|
|
hosts: servers
|
2023-04-24 10:30:17 +00:00
|
|
|
|
become: no
|
2023-04-24 10:11:09 +00:00
|
|
|
|
gather_facts: no
|
|
|
|
|
roles:
|
|
|
|
|
# Ansible prerequisites
|
|
|
|
|
- schuerg.prerequisites
|
|
|
|
|
|
|
|
|
|
- name: server
|
|
|
|
|
hosts: servers
|
2023-04-24 10:30:17 +00:00
|
|
|
|
#become: yes
|
2023-04-24 10:11:09 +00:00
|
|
|
|
#gather_facts: no
|
|
|
|
|
roles:
|
|
|
|
|
# Ansible prerequisites
|
|
|
|
|
#- robertdebock.bootstrap
|
|
|
|
|
|
|
|
|
|
# EPEL for centos
|
|
|
|
|
#- geerlingguy.repo-epel
|
|
|
|
|
|
|
|
|
|
#NTP is important for curl and apt
|
|
|
|
|
# - ericsysmin.system.ntp
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Users
|
|
|
|
|
#- sysadmins
|
|
|
|
|
|
|
|
|
|
# Locales
|
|
|
|
|
# TODO set locales date and currency
|
|
|
|
|
#- alvistack.locales
|
|
|
|
|
- oefenweb.locales
|
|
|
|
|
|
|
|
|
|
# Sys update. Playbook bien fait.
|
|
|
|
|
- robertdebock.update
|
|
|
|
|
|
|
|
|
|
# Manage sudoers
|
|
|
|
|
#- GROG.sudo
|
|
|
|
|
|
|
|
|
|
# Unattended upgrades
|
|
|
|
|
#- jnv.unattended-upgrades
|
|
|
|
|
#- thorian93.unattended_upgrade
|
|
|
|
|
#- racqspace.unattended_upgrades
|
|
|
|
|
|
|
|
|
|
# ssh security
|
|
|
|
|
# using geerlingguy security
|
|
|
|
|
#- dev-sec.ssh-hardening
|
|
|
|
|
- geerlingguy.security
|
|
|
|
|
|
|
|
|
|
# fail2ban
|
|
|
|
|
#- oefenweb.fail2ban
|
|
|
|
|
#- robertdebock.fail2ban
|
|
|
|
|
|
|
|
|
|
# firewall conf
|
|
|
|
|
# TODO it destroy the DOCKER rules…
|
|
|
|
|
#- geerlingguy.firewall
|
|
|
|
|
|
|
|
|
|
# Rootkit protection
|
|
|
|
|
#- mablanco.antirootkits
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# antivirus
|
|
|
|
|
#- geerlingguy.clamav
|
|
|
|
|
|
|
|
|
|
# docker
|
|
|
|
|
- geerlingguy.docker
|
|
|
|
|
|
|
|
|
|
# timezone
|
|
|
|
|
- oefenweb.timezone
|
|
|
|
|
|
|
|
|
|
# ntp
|
|
|
|
|
#- geerlingguy.ntp
|
|
|
|
|
|
|
|
|
|
# docker metrics proxy
|
|
|
|
|
#- docker-metrics-proxy
|
|
|
|
|
|
|
|
|
|
# logrotate
|
|
|
|
|
# - ontic/logrotate
|
|
|
|
|
|
|
|
|
|
# apparmor ?
|
|
|
|
|
# - manala.apparmor
|
|
|
|
|
|
|
|
|
|
# autofs
|
|
|
|
|
# - cmprescott.autofs_ng
|
|
|
|
|
|
|
|
|
|
# smart TODO
|
|
|
|
|
#- stuvusit/smartd
|
|
|
|
|
|
|
|
|
|
# graylog Nope, too heavy…
|
|
|
|
|
# TODO lininfile for prometheus
|
|
|
|
|
# 127.0.1.1 docker-host
|
2023-07-06 15:37:16 +00:00
|
|
|
|
- jean-cloud-common
|
2023-04-24 10:11:09 +00:00
|
|
|
|
|
|
|
|
|
##- deploy_all
|
|
|
|
|
|
|
|
|
|
- name: shlago
|
|
|
|
|
hosts: shlago
|
|
|
|
|
become: yes
|
|
|
|
|
gather_facts: no
|
|
|
|
|
roles:
|
|
|
|
|
- ordiportables
|