ansible-role-k3s/molecule/highavailabilityetcd/converge.yml
Xan Manning 7e4a16e167 Pre-documentation work
- Restructured when and asserts
  - Standardise molecule call, add systemd config
2021-02-16 16:53:49 +00:00

17 lines
401 B
YAML

---
- name: Converge
hosts: node*
become: true
vars:
molecule_is_test: true
k3s_use_experimental: true
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 }}"