mirror of
https://github.com/PyratLabs/ansible-role-k3s.git
synced 2024-10-31 08:28:54 +01:00
7e4a16e167
- Restructured when and asserts - Standardise molecule call, add systemd config
17 lines
488 B
YAML
17 lines
488 B
YAML
---
|
|
- name: Converge
|
|
hosts: node*
|
|
become: true
|
|
vars:
|
|
molecule_is_test: true
|
|
k3s_build_cluster: false
|
|
k3s_install_dir: /opt/k3s/bin
|
|
k3s_config_file: /opt/k3s/etc/k3s.yaml
|
|
k3s_server:
|
|
data-dir: /var/lib/k3s-io
|
|
default-local-storage-path: /var/lib/k3s-io/local-storage
|
|
k3s_server_manifests_templates:
|
|
- "molecule/autodeploy/templates/00-ns-monitoring.yml.j2"
|
|
roles:
|
|
- role: "{{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }}"
|