restructure
This commit is contained in:
7
ansible/playbooks/00_baremetal.yaml
Normal file
7
ansible/playbooks/00_baremetal.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
- name: bare metal os installation
|
||||
gather_facts: false
|
||||
hosts: hv00
|
||||
become: true
|
||||
roles:
|
||||
- baremetal
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
- name: Configure lab host
|
||||
- name: configure hyervisor host
|
||||
gather_facts: false
|
||||
hosts: lab
|
||||
hosts: hv00
|
||||
become: true
|
||||
|
||||
roles:
|
7
ansible/playbooks/02_vm_template.yaml
Normal file
7
ansible/playbooks/02_vm_template.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
- name: create vm template
|
||||
hosts: hv00
|
||||
gather_facts: true
|
||||
become: true
|
||||
roles:
|
||||
- vm_template
|
@ -4,7 +4,7 @@
|
||||
gather_facts: true
|
||||
become: true
|
||||
roles:
|
||||
- k8s_vms
|
||||
- vm_deploy
|
||||
|
||||
- name: python bootstrap
|
||||
hosts: k8s
|
||||
@ -19,11 +19,4 @@
|
||||
become: true
|
||||
roles:
|
||||
- sshd
|
||||
- firewall
|
||||
|
||||
- name: configure control plane
|
||||
hosts: k8s_control
|
||||
gather_facts: true
|
||||
become: false
|
||||
roles:
|
||||
- k8s_control
|
||||
- firewall
|
7
ansible/playbooks/04_k8s.yaml
Normal file
7
ansible/playbooks/04_k8s.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
- name: configure control plane
|
||||
hosts: k8s_control
|
||||
gather_facts: true
|
||||
become: false
|
||||
roles:
|
||||
- k8s_control
|
Reference in New Issue
Block a user