initial commit
This commit is contained in:
15
tasks/main.yml
Normal file
15
tasks/main.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
- 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
|
||||
Reference in New Issue
Block a user