Add reusable Debian and Ubuntu hardening playbooks
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
---
|
||||
# Rename this file to match the host alias in hosts.yml.
|
||||
admin_user_authorized_keys:
|
||||
- "ssh-ed25519 REPLACE_WITH_YOUR_PUBLIC_KEY admin@laptop"
|
||||
|
||||
# Add only inbound ports required by this host's services. SSH is managed by
|
||||
# ssh_port and ssh_keep_legacy_port, so do not duplicate it here.
|
||||
ufw_allowed_rules: []
|
||||
|
||||
# To retire an existing UFW rule, list it here for one deployment, then remove
|
||||
# it from this cleanup list.
|
||||
ufw_remove_rules: []
|
||||
Reference in New Issue
Block a user