mirror of
https://github.com/PyratLabs/ansible-role-k3s
synced 2024-11-14 01:10:19 +01:00
7e4a16e167
- Restructured when and asserts - Standardise molecule call, add systemd config
15 lines
352 B
YAML
15 lines
352 B
YAML
---
|
|
- name: Converge
|
|
hosts: node1
|
|
become: true
|
|
become_user: k3suser
|
|
vars:
|
|
molecule_is_test: true
|
|
k3s_use_experimental: true
|
|
k3s_server:
|
|
rootless: true
|
|
k3s_agent:
|
|
rootless: true
|
|
k3s_install_dir: "/home/{{ ansible_user_id }}/bin"
|
|
roles:
|
|
- role: "{{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }}"
|