mirror of
https://github.com/PyratLabs/ansible-role-k3s.git
synced 2024-11-25 12:15:51 +01:00
7e4a16e167
- Restructured when and asserts - Standardise molecule call, add systemd config
16 lines
352 B
YAML
16 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 }}"
|