begin k8s setup
This commit is contained in:
19
ansible/playbooks/k8s.yaml
Normal file
19
ansible/playbooks/k8s.yaml
Normal file
@ -0,0 +1,19 @@
|
||||
---
|
||||
- name: python bootstrap
|
||||
hosts: k8s
|
||||
gather_facts: false
|
||||
become: true
|
||||
roles:
|
||||
- python-install
|
||||
- name: ssh hardening
|
||||
hosts: k8s
|
||||
gather_facts: true
|
||||
become: true
|
||||
roles:
|
||||
- sshd
|
||||
- name: configure control plane
|
||||
hosts: k8s_control
|
||||
gather_facts: true
|
||||
become: false
|
||||
roles:
|
||||
- k8s_control
|
Reference in New Issue
Block a user