| 1 | - hosts: all |
| 2 | user: root |
| 3 | roles: |
| 4 | - dev-sec.os-hardening |
| 5 | - dev-sec.ssh-hardening |
| 6 | vars: |
| 7 | sysctl_overwrite: |
| 8 | net.ipv6.conf.all.disable_ipv6: 0 |
| 9 | ufw_manage_defaults: false # we're managing the default ufw in scripts/10-firewall.sh |
| 10 | os_filesystem_whitelist: "vfat" # the EFI partition is formatted with this filesystem |
| 11 | # Digital Ocean doesn't disable the option, regardless of whether the |
| 12 | # image supports it, so we must enable it. |
| 13 | # see: https://caddy.community/t/cannot-sign-in-to-digitalocean-droplet/6963 |
| 14 | ssh_permit_root_login: "yes" |
| 15 | ssh_max_auth_retries: 100 |