30 lines
434 B
YAML
30 lines
434 B
YAML
---
|
|
- name: create the vms
|
|
hosts: hv00
|
|
gather_facts: true
|
|
become: true
|
|
roles:
|
|
- k8s_vms
|
|
|
|
- name: python bootstrap
|
|
hosts: k8s
|
|
gather_facts: false
|
|
become: true
|
|
roles:
|
|
- python-install
|
|
|
|
- name: vm hardening
|
|
hosts: k8s
|
|
gather_facts: true
|
|
become: true
|
|
roles:
|
|
- sshd
|
|
- firewall
|
|
|
|
- name: configure control plane
|
|
hosts: k8s_control
|
|
gather_facts: true
|
|
become: false
|
|
roles:
|
|
- k8s_control
|