ansible-role-k3s/molecule/highavailability/playbook-dqlite.yml

19 lines
445 B
YAML
Raw Normal View History

---
- name: Converge
hosts: node*
become: true
vars:
molecule_is_test: true
k3s_release_version: v1.18
k3s_dqlite_datastore: true
2020-05-17 12:40:53 +02:00
k3s_secrets_encryption: true
k3s_use_experimental: true
k3s_use_unsupported_config: 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