mirror of
https://github.com/PyratLabs/ansible-role-k3s
synced 2025-01-08 10:40:19 +01:00
Bugfix: Issue with non-control-nodes in docker provision
This commit is contained in:
parent
a6ff65900d
commit
c7119c3033
1 changed files with 2 additions and 2 deletions
|
@ -3,11 +3,11 @@
|
||||||
- include_tasks: preconfigure-k3s.yml
|
- include_tasks: preconfigure-k3s.yml
|
||||||
- include_tasks: install-docker-prerequisites-{{ ansible_os_family|lower }}.yml
|
- include_tasks: install-docker-prerequisites-{{ ansible_os_family|lower }}.yml
|
||||||
when: k3s_ensure_docker_installed
|
when: k3s_ensure_docker_installed
|
||||||
and ((k3s_control_workers and k3s_control_node)
|
and ((k3s_control_workers)
|
||||||
or (not k3s_control_workers and not k3s_control_node))
|
or (not k3s_control_workers and not k3s_control_node))
|
||||||
- include_tasks: install-docker.yml
|
- include_tasks: install-docker.yml
|
||||||
when: k3s_ensure_docker_installed
|
when: k3s_ensure_docker_installed
|
||||||
and ((k3s_control_workers and k3s_control_node)
|
and ((k3s_control_workers)
|
||||||
or (not k3s_control_workers and not k3s_control_node))
|
or (not k3s_control_workers and not k3s_control_node))
|
||||||
- include_tasks: get-version.yml
|
- include_tasks: get-version.yml
|
||||||
when: k3s_release_version is not defined or not k3s_release_version
|
when: k3s_release_version is not defined or not k3s_release_version
|
||||||
|
|
Loading…
Reference in a new issue