mirror of
https://github.com/JamesTurland/JimsGarage.git
synced 2025-10-04 17:26:20 +00:00
Talos
This commit is contained in:
37
Ansible/Playbooks/Talos/site.yaml
Normal file
37
Ansible/Playbooks/Talos/site.yaml
Normal file
@@ -0,0 +1,37 @@
|
||||
# Hello, thanks for using my playbook, hopefully you can help to improve it.
|
||||
|
||||
# Install TalosCTL on Ansible node
|
||||
- name: Install TalosCTL
|
||||
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:
|
||||
- install-talosctl
|
||||
|
||||
# Configure Cluster Configuration
|
||||
- name: Configure Cluster
|
||||
hosts: ansible
|
||||
gather_facts: true
|
||||
roles:
|
||||
- configure-cluster
|
||||
|
||||
# Apply Cluster Configuration
|
||||
- name: Configure Cluster
|
||||
hosts: ansible
|
||||
gather_facts: true
|
||||
roles:
|
||||
- apply-config
|
||||
|
||||
# Configure TalosCTL
|
||||
- name: Configure TalosCTL
|
||||
hosts: ansible
|
||||
gather_facts: true
|
||||
roles:
|
||||
- configure-talosctl
|
||||
|
||||
# Add Workers
|
||||
- name: Add Workers
|
||||
hosts: ansible
|
||||
gather_facts: true
|
||||
roles:
|
||||
- add-workers
|
Reference in New Issue
Block a user