57 lines
943 B
YAML
57 lines
943 B
YAML
---
|
|
# - 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
|