2020-09-17 22:01:20 +02:00
|
|
|
---
|
2020-11-29 21:10:42 +01:00
|
|
|
|
2020-09-17 22:01:20 +02:00
|
|
|
- name: Converge
|
|
|
|
hosts: node*
|
|
|
|
become: true
|
|
|
|
vars:
|
|
|
|
molecule_is_test: true
|
|
|
|
k3s_use_experimental: true
|
2020-10-23 17:31:21 +02:00
|
|
|
k3s_etcd_datastore: true
|
2020-10-22 20:26:15 +02:00
|
|
|
k3s_server:
|
|
|
|
secrets-encryption: true
|
2020-09-17 22:01:20 +02:00
|
|
|
pre_tasks:
|
|
|
|
- name: Set each node to be a control node
|
2020-12-21 20:14:52 +01:00
|
|
|
ansible.builtin.set_fact:
|
2020-09-17 22:01:20 +02:00
|
|
|
k3s_control_node: true
|
|
|
|
roles:
|
2021-02-16 16:46:01 +01:00
|
|
|
- role: "{{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }}"
|