fix(molecule): skip post checks for now

This commit is contained in:
Xan Manning 2022-09-02 18:59:19 +01:00
parent e9ddc8738a
commit a6b209abdb
No known key found for this signature in database
GPG key ID: FEBA410BBAD454FF
6 changed files with 6 additions and 2 deletions

View file

@ -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 }}"

View file

@ -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

View file

@ -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

View file

@ -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:

View file

@ -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:

View file

@ -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 }}"