initial commit

This commit is contained in:
2023-11-19 14:57:18 +03:00
commit 097ce0a6cf
11 changed files with 876 additions and 0 deletions

15
tasks/main.yml Normal file
View 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