feat: changed lxc to vm in k3s
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
---
|
||||
# - hosts: localhost
|
||||
# gather_facts: no
|
||||
# become: yes
|
||||
# roles:
|
||||
# - role: k3s/provision/delete
|
||||
- hosts: localhost
|
||||
gather_facts: no
|
||||
become: yes
|
||||
roles:
|
||||
- role: k3s/provision/create
|
||||
- hosts: k3s_hosts
|
||||
gather_facts: yes
|
||||
become: yes
|
||||
roles:
|
||||
- role: k3s/provision/pre
|
||||
- role: k3s/provision/cloud-init
|
||||
- hosts: localhost
|
||||
gather_facts: no
|
||||
become: yes
|
||||
roles:
|
||||
- role: k3s/provision/start
|
||||
- hosts: k3s_cluster
|
||||
gather_facts: yes
|
||||
become: yes
|
||||
roles:
|
||||
- role: prereq
|
||||
- role: download
|
||||
- hosts: master
|
||||
become: yes
|
||||
roles:
|
||||
- role: k3s/master
|
||||
|
||||
- hosts: node
|
||||
become: yes
|
||||
roles:
|
||||
- role: k3s/node
|
||||
|
||||
- hosts: master
|
||||
become: yes
|
||||
roles:
|
||||
- role: k3s/post
|
||||
|
||||
- hosts: master
|
||||
become: yes
|
||||
roles:
|
||||
- role: k3s/copy-config
|
||||
- hosts: localhost
|
||||
become: yes
|
||||
roles:
|
||||
- role: longhorn
|
||||
- role: traefik
|
||||
- role: nginx
|
||||
- role: cert-manager
|
||||
- role: authelia
|
||||
- role: redis
|
||||
Reference in New Issue
Block a user