mirror of
https://github.com/jcwimer/kubernetes-ansible
synced 2026-03-25 00:54:44 +00:00
Changed from Kubeadm to RKE for deployment
This commit is contained in:
26
playbooks/rke.yml
Normal file
26
playbooks/rke.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
- name: Setup ansible dependencies
|
||||
hosts: all
|
||||
gather_facts: false
|
||||
serial: 100%
|
||||
tasks:
|
||||
- include: ../roles/ansible-dependencies/tasks/main.yml
|
||||
|
||||
- name: Pre rke
|
||||
hosts: masters workers
|
||||
gather_facts: yes
|
||||
serial: 100%
|
||||
tasks:
|
||||
- include: ../roles/rke/tasks/pre-rke.yml
|
||||
|
||||
- name: Set up Kubernetes
|
||||
hosts: localhost
|
||||
tasks:
|
||||
- include: ../roles/rke/tasks/main.yml
|
||||
|
||||
- name: Post rke
|
||||
hosts: masters workers
|
||||
gather_facts: yes
|
||||
serial: 100%
|
||||
tasks:
|
||||
- include: ../roles/rke/tasks/post-rke.yml
|
||||
Reference in New Issue
Block a user