2020-01-11 18:03:47 +01:00
|
|
|
---
|
|
|
|
- name: Converge
|
2020-10-17 17:31:04 +02:00
|
|
|
hosts: node*
|
2020-01-11 18:03:47 +01:00
|
|
|
become: true
|
|
|
|
vars:
|
|
|
|
molecule_is_test: true
|
2021-05-15 21:41:33 +02:00
|
|
|
k3s_release_version: latest
|
2020-10-17 17:31:04 +02:00
|
|
|
k3s_build_cluster: false
|
2020-12-21 20:14:52 +01:00
|
|
|
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
|
2021-12-19 00:04:24 +01:00
|
|
|
k3s_agent:
|
|
|
|
snapshotter: native
|
2020-01-11 18:03:47 +01:00
|
|
|
k3s_server_manifests_templates:
|
2020-10-17 19:26:30 +02:00
|
|
|
- "molecule/autodeploy/templates/00-ns-monitoring.yml.j2"
|
2021-05-27 20:13:55 +02:00
|
|
|
k3s_server_manifests_urls:
|
|
|
|
- url: https://raw.githubusercontent.com/metallb/metallb/v0.9.6/manifests/namespace.yaml
|
|
|
|
filename: 05-metallb-namespace.yml
|
2021-12-19 20:02:31 +01:00
|
|
|
k3s_service_env_vars:
|
|
|
|
GOGC: 10
|
2020-01-11 18:03:47 +01:00
|
|
|
roles:
|
2021-02-16 16:46:01 +01:00
|
|
|
- role: "{{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }}"
|