mirror of
https://github.com/PyratLabs/ansible-role-k3s.git
synced 2024-11-29 12:55:51 +01:00
18 lines
502 B
YAML
18 lines
502 B
YAML
---
|
|
|
|
- name: Check to see if k3s_state is a supported value
|
|
ansible.builtin.assert:
|
|
that:
|
|
- k3s_state in k3s_valid_states
|
|
fail_msg: "k3s_state not valid. Check README.md for details."
|
|
success_msg: "k3s_state is valid."
|
|
when: k3s_state is defined
|
|
|
|
- import_tasks: generate-check-config.yml
|
|
|
|
- import_tasks: check-environment.yml
|
|
when: not k3s_skip_validation
|
|
|
|
- include_tasks: issue-data.yml
|
|
when: pyratlabs_issue_controller_dump is defined and pyratlabs_issue_controller_dump
|