mirror of
https://github.com/PyratLabs/ansible-role-k3s.git
synced 2025-01-03 18:38:22 +01:00
WIP(molecule): snapshotter defaulted
This commit is contained in:
parent
a6b209abdb
commit
8410d2c402
@ -24,6 +24,5 @@
|
|||||||
filename: 05-metallb-namespace.yml
|
filename: 05-metallb-namespace.yml
|
||||||
k3s_service_env_vars:
|
k3s_service_env_vars:
|
||||||
K3S_TEST_VAR: "Hello world!"
|
K3S_TEST_VAR: "Hello world!"
|
||||||
k3s_skip_post_checks: true
|
|
||||||
roles:
|
roles:
|
||||||
- role: "{{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }}"
|
- role: "{{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }}"
|
||||||
|
@ -3,10 +3,9 @@
|
|||||||
hosts: all
|
hosts: all
|
||||||
become: true
|
become: true
|
||||||
vars:
|
vars:
|
||||||
k3s_skip_post_checks: true
|
|
||||||
pyratlabs_issue_controller_dump: true
|
pyratlabs_issue_controller_dump: true
|
||||||
k3s_agent:
|
# k3s_agent:
|
||||||
snapshotter: native
|
# snapshotter: native
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- name: Ensure k3s_debug is set
|
- name: Ensure k3s_debug is set
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
vars:
|
vars:
|
||||||
molecule_is_test: true
|
molecule_is_test: true
|
||||||
k3s_install_hard_links: true
|
k3s_install_hard_links: true
|
||||||
k3s_skip_post_checks: true
|
|
||||||
k3s_release_version: stable
|
k3s_release_version: stable
|
||||||
k3s_agent:
|
# k3s_agent:
|
||||||
snapshotter: native
|
# snapshotter: native
|
||||||
|
@ -9,10 +9,9 @@
|
|||||||
k3s_control_token: 55ba04e5-e17d-4535-9170-3e4245453f4d
|
k3s_control_token: 55ba04e5-e17d-4535-9170-3e4245453f4d
|
||||||
k3s_server:
|
k3s_server:
|
||||||
datastore-endpoint: "postgres://postgres:verybadpass@database:5432/postgres?sslmode=disable"
|
datastore-endpoint: "postgres://postgres:verybadpass@database:5432/postgres?sslmode=disable"
|
||||||
k3s_agent:
|
# k3s_agent:
|
||||||
snapshotter: native
|
# snapshotter: native
|
||||||
k3s_service_env_file: /tmp/k3s.env
|
k3s_service_env_file: /tmp/k3s.env
|
||||||
k3s_skip_post_checks: true
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- name: Set each node to be a control node
|
- name: Set each node to be a control node
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
|
@ -11,9 +11,9 @@
|
|||||||
secrets-encryption: true
|
secrets-encryption: true
|
||||||
k3s_agent:
|
k3s_agent:
|
||||||
node-ip: "{{ ansible_default_ipv4.address }}"
|
node-ip: "{{ ansible_default_ipv4.address }}"
|
||||||
snapshotter: native
|
# snapshotter: native
|
||||||
k3s_skip_validation: "{{ k3s_service_handler[ansible_service_mgr] == 'service' }}"
|
k3s_skip_validation: "{{ k3s_service_handler[ansible_service_mgr] == 'service' }}"
|
||||||
k3s_skip_post_checks: true
|
k3s_skip_post_checks: "{{ ansible_os_family | lower == 'redhat' }}"
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- name: Set each node to be a control node
|
- name: Set each node to be a control node
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
|
@ -8,6 +8,5 @@
|
|||||||
k3s_agent: "{{ lookup('file', 'k3s_agent.yml') | from_yaml }}"
|
k3s_agent: "{{ lookup('file', 'k3s_agent.yml') | from_yaml }}"
|
||||||
k3s_airgap: true
|
k3s_airgap: true
|
||||||
k3s_release_version: latest
|
k3s_release_version: latest
|
||||||
k3s_skip_post_checks: true
|
|
||||||
roles:
|
roles:
|
||||||
- role: "{{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }}"
|
- role: "{{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }}"
|
||||||
|
@ -6,4 +6,4 @@ node-label:
|
|||||||
kubelet-arg:
|
kubelet-arg:
|
||||||
- "cloud-provider=external"
|
- "cloud-provider=external"
|
||||||
- "provider-id=azure"
|
- "provider-id=azure"
|
||||||
snapshotter: native
|
# snapshotter: native
|
||||||
|
Loading…
Reference in New Issue
Block a user