24 lines
536 B
YAML
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
|