mirror of
https://github.com/PyratLabs/ansible-role-k3s
synced 2024-12-15 07:10:19 +01:00
16 lines
344 B
YAML
16 lines
344 B
YAML
|
---
|
||
|
- name: Converge
|
||
|
hosts: node*
|
||
|
become: true
|
||
|
vars:
|
||
|
molecule_is_test: true
|
||
|
k3s_dqlite_datastore: true
|
||
|
k3s_use_experimental: true
|
||
|
pre_tasks:
|
||
|
- name: Set each node to be a control node
|
||
|
set_fact:
|
||
|
k3s_control_node: true
|
||
|
when: inventory_hostname in ['node2', 'node3']
|
||
|
roles:
|
||
|
- role: xanmanning.k3s
|