add Ansible Flatcar and platform bootstrap
Kube-bench CIS scan / Scan ephemeral K3s cluster (push) Successful in 56s

This commit is contained in:
2026-08-15 16:40:37 -04:00
parent 478cc49e50
commit 664c3c8236
11 changed files with 379 additions and 6 deletions
+22
View File
@@ -0,0 +1,22 @@
---
- name: Bootstrap Flatcar k3d security test host
hosts: flatcar_k3d_hosts
become: true
gather_facts: false
vars:
argocd_enabled: true
cilium_enabled: false
pre_tasks:
- name: Read host operating system identity
ansible.builtin.raw: cat /etc/os-release
register: flatcar_os_release
changed_when: false
roles:
- role: flatcar_k3d_host
- role: cilium_bootstrap
when: cilium_enabled | bool
- role: argocd_bootstrap
when: argocd_enabled | bool