mirror of
https://github.com/PyratLabs/ansible-role-k3s
synced 2024-11-04 21:03:29 +01:00
WIP(molecule): snapshotter defaulted
This commit is contained in:
parent
a6b209abdb
commit
8410d2c402
7 changed files with 9 additions and 14 deletions
|
@ -24,6 +24,5 @@
|
|||
filename: 05-metallb-namespace.yml
|
||||
k3s_service_env_vars:
|
||||
K3S_TEST_VAR: "Hello world!"
|
||||
k3s_skip_post_checks: true
|
||||
roles:
|
||||
- role: "{{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }}"
|
||||
|
|
|
@ -3,10 +3,9 @@
|
|||
hosts: all
|
||||
become: true
|
||||
vars:
|
||||
k3s_skip_post_checks: true
|
||||
pyratlabs_issue_controller_dump: true
|
||||
k3s_agent:
|
||||
snapshotter: native
|
||||
# k3s_agent:
|
||||
# snapshotter: native
|
||||
pre_tasks:
|
||||
- name: Ensure k3s_debug is set
|
||||
ansible.builtin.set_fact:
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
vars:
|
||||
molecule_is_test: true
|
||||
k3s_install_hard_links: true
|
||||
k3s_skip_post_checks: true
|
||||
k3s_release_version: stable
|
||||
k3s_agent:
|
||||
snapshotter: native
|
||||
# k3s_agent:
|
||||
# snapshotter: native
|
||||
|
|
|
@ -9,10 +9,9 @@
|
|||
k3s_control_token: 55ba04e5-e17d-4535-9170-3e4245453f4d
|
||||
k3s_server:
|
||||
datastore-endpoint: "postgres://postgres:verybadpass@database:5432/postgres?sslmode=disable"
|
||||
k3s_agent:
|
||||
snapshotter: native
|
||||
# k3s_agent:
|
||||
# snapshotter: native
|
||||
k3s_service_env_file: /tmp/k3s.env
|
||||
k3s_skip_post_checks: true
|
||||
pre_tasks:
|
||||
- name: Set each node to be a control node
|
||||
ansible.builtin.set_fact:
|
||||
|
|
|
@ -11,9 +11,9 @@
|
|||
secrets-encryption: true
|
||||
k3s_agent:
|
||||
node-ip: "{{ ansible_default_ipv4.address }}"
|
||||
snapshotter: native
|
||||
# snapshotter: native
|
||||
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:
|
||||
- name: Set each node to be a control node
|
||||
ansible.builtin.set_fact:
|
||||
|
|
|
@ -8,6 +8,5 @@
|
|||
k3s_agent: "{{ lookup('file', 'k3s_agent.yml') | from_yaml }}"
|
||||
k3s_airgap: true
|
||||
k3s_release_version: latest
|
||||
k3s_skip_post_checks: true
|
||||
roles:
|
||||
- role: "{{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }}"
|
||||
|
|
|
@ -6,4 +6,4 @@ node-label:
|
|||
kubelet-arg:
|
||||
- "cloud-provider=external"
|
||||
- "provider-id=azure"
|
||||
snapshotter: native
|
||||
# snapshotter: native
|
||||
|
|
Loading…
Reference in a new issue