Files
kubernetes-security-baselin…/ansible/README.md
T
2026-08-09 19:52:19 -04:00

18 lines
685 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Optional Ansible bootstrap
The playbook applies a small host baseline (AppArmor, unattended security
updates, swap removal, and SSH hardening) and installs a pinned K3s server. It
is intentionally separate from the local k3d path so the portfolio can be
run without cloud credentials.
```bash
cp inventory.example.yml inventory.yml
# Replace the Terraform public IP and local SSH key path.
ansible-playbook -i inventory.yml bootstrap-k3s.yml
```
Before production use, review the pinned K3s version and extend the playbook
for your organizations OS baseline, firewall model, HA topology, and secret
management. RKE2 can replace K3s here if the target environment requires it.