mirror of
https://github.com/PyratLabs/ansible-role-k3s
synced 2024-11-14 17:30:18 +01:00
fix(molecule): skip post checks for now
This commit is contained in:
parent
e9ddc8738a
commit
a6b209abdb
6 changed files with 6 additions and 2 deletions
|
@ -24,5 +24,6 @@
|
||||||
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,6 +3,7 @@
|
||||||
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
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
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
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
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: "{{ ansible_os_family | lower == 'redhat' }}"
|
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:
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
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: "{{ ansible_os_family | lower == 'redhat' }}"
|
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:
|
||||||
|
|
|
@ -8,5 +8,6 @@
|
||||||
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 }}"
|
||||||
|
|
Loading…
Reference in a new issue