Files
kubernetes-security-baselin…/ansible/bootstrap-flatcar-k3d.yml
T
swaphb 6c79340d9a
Kube-bench CIS scan / Scan ephemeral K3s cluster (push) Successful in 1m3s
add environment-specific cilium profiles
2026-08-16 20:04:14 -04:00

24 lines
536 B
YAML

---
- name: Bootstrap Flatcar k3d security test host
hosts: flatcar_k3d_hosts
become: true
gather_facts: false
vars:
argocd_enabled: true
cilium_enabled: false
cilium_profile: k3d
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