good start
This commit is contained in:
0
roles/k3s-ha/tasks/install.yml
Normal file
0
roles/k3s-ha/tasks/install.yml
Normal file
13
roles/k3s-ha/tasks/main.yml
Normal file
13
roles/k3s-ha/tasks/main.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
- name: Download k3s install script
|
||||
get_url:
|
||||
url: https://get.k3s.io
|
||||
dest: /tmp/install-k3s.sh
|
||||
mode: 0755
|
||||
|
||||
- name: Create k3s config file
|
||||
template:
|
||||
src: ../templates/config.yml.j2
|
||||
dest: /tmp/config.yml
|
||||
|
||||
- name: Execute k3s install script providing a config.yml
|
||||
shell: /tmp/install-k3s.sh --config /tmp/config.yml server
|
Reference in New Issue
Block a user