16 lines
380 B
YAML
16 lines
380 B
YAML
---
|
|
- name: check if binary already exists
|
|
stat:
|
|
path: "{{ k3s_binary_dir }}/{{ k3s_binary_name }}"
|
|
register: binary_check_result
|
|
|
|
- name: install binary
|
|
include_tasks: installation.yml
|
|
when: not binary_check_result.stat.exists or k3s_force_update
|
|
|
|
- name: general preparation
|
|
include_tasks: preparation.yml
|
|
|
|
- name: configuration
|
|
include_tasks: configuration.yml
|