-
Notifications
You must be signed in to change notification settings - Fork 0
/
site.yaml
69 lines (61 loc) · 1.48 KB
/
site.yaml
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# Hello, thanks for using my playbook, hopefully you can help to improve it.
# Install TalosCTL on Ansible node
- name: Install tpi
hosts: ansible
gather_facts: true # enables us to gather lots of useful variables: https://docs.ansible.com/ansible/latest/collections/ansible/builtin/setup_module.html
become: true
roles:
- role: install-tpi
tags: install-tpi
# Install TalosCTL on Ansible node
- name: Install TalosCTL
hosts: ansible
gather_facts: true
become: true
roles:
- role: install-talosctl
tags: install-talosctl
# Download Talos on Ansible node
- name: Download Talos
hosts: ansible
gather_facts: true
become: false
roles:
- role: download-talos
tags: download-talos
# Flash Turing RK1 compute modules
- name: Flash RK1
hosts: ansible
gather_facts: true
become: false
roles:
- role: flash-modules
tags: flash-modules
# Configure Cluster Configuration
- name: Configure Cluster
hosts: ansible
gather_facts: true
roles:
- role: configure-cluster
tags: configure-cluster
# Apply Cluster Configuration
- name: Configure Cluster
hosts: ansible
gather_facts: true
roles:
- role: apply-config
tags: apply-config
# Configure TalosCTL
- name: Configure TalosCTL
hosts: ansible
gather_facts: true
roles:
- role: configure-talosctl
tags: configure-talosctl
# Add Workers
- name: Add Workers
hosts: ansible
gather_facts: true
roles:
- role: add-workers
tags: add-workers