mirror of
https://gitlab.durp.info/durfy/runbooks/ansible.git
synced 2026-05-07 08:00:29 -05:00
update
This commit is contained in:
parent
1cb7a7295b
commit
3d8533472f
1 changed files with 8 additions and 0 deletions
|
|
@ -34,6 +34,14 @@
|
||||||
Expected derived groups '{{ master_group }}' and '{{ node_group }}' to exist in inventory
|
Expected derived groups '{{ master_group }}' and '{{ node_group }}' to exist in inventory
|
||||||
for cluster '{{ cluster }}'.
|
for cluster '{{ cluster }}'.
|
||||||
|
|
||||||
|
- name: Load k3s shared variables
|
||||||
|
hosts: localhost
|
||||||
|
gather_facts: false
|
||||||
|
tasks:
|
||||||
|
- name: Load vars from k3s/vars/main.yaml
|
||||||
|
ansible.builtin.include_vars:
|
||||||
|
file: "./ansible/roles/k3s/vars/main.yaml"
|
||||||
|
|
||||||
- name: Install prerequisites on all nodes
|
- name: Install prerequisites on all nodes
|
||||||
hosts: "{{ cluster }}"
|
hosts: "{{ cluster }}"
|
||||||
gather_facts: yes
|
gather_facts: yes
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue