generated from edwardtheharris/ansible-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
site.yml
40 lines (40 loc) · 728 Bytes
/
site.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
---
###
# ```{rubric} The main site deployment
# ```
# ---
# This playbook defines the primary site deployment code for this repository.
#
# ```{literalinclude} /site.yml
# :language: yaml
# ```
- name: Reset Kubernetes Control Planes
hosts: kcp
become: true
roles:
- role: reset
tags:
- reset
- name: Initialize the first control plane
hosts: kcp01_init
become: true
roles:
- role: kv
tags:
- kv
- role: init
tags:
- init
- name: Join the secondary and tertiary control planes
hosts: kcp_join
become: true
roles:
- role: join
tags:
- join
- name: Deploy Calico CNI
hosts: local
roles:
- role: calico
tags:
- calico