25 lines
872 B
YAML
25 lines
872 B
YAML
---
|
|
|
|
- name: "Setup a GNU/Linux target with standards or defined tags"
|
|
hosts: "{{ target if target is defined else 'planets' }}"
|
|
|
|
roles:
|
|
# --- Hardening ---
|
|
# Basic rules or good practises to apply
|
|
|
|
- { role: hardening-basic, tags: [hardening, ips, ids] }
|
|
- { role: iptables-basic, tags: [firewall, ips, ids] }
|
|
- { role: fail2ban-basic, tags: [fail2ban, ips, ids] }
|
|
- { role: auditd, tags: [auditd] }
|
|
- { role: iptables-webserver, tags: [firewall, webserver] }
|
|
|
|
# --- Sysadmin ---
|
|
- { role: sysadmin-tools, tags: [sysadmin] }
|
|
|
|
# --- Services ---
|
|
# Role relative to services, applications and so on
|
|
- { role: ipfs, tags: [ipfs] }
|
|
- { role: yggdrasil, tags: [yggdrasil] }
|
|
- { role: snort-community, tags: [snort, ips, ids] }
|
|
- { role: dns-filter, tags: [dns_filter] }
|
|
- { role: samba, tags: [samba, smb] }
|