ansible-role-k3s/molecule/highavailabilityetcd/converge.yml

18 lines
401 B
YAML
Raw Permalink Normal View History

---
2020-11-29 21:10:42 +01: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
k3s_server:
secrets-encryption: true
pre_tasks:
- name: Set each node to be a control node
ansible.builtin.set_fact:
k3s_control_node: true
roles:
- role: "{{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }}"