Drop the docker dependency and the helm install from the kubernetes role
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
---
|
---
|
||||||
dependencies:
|
#dependencies:
|
||||||
- role: docker
|
# - role: docker
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: /etc/rancher/k3s/
|
path: /etc/rancher/k3s/
|
||||||
state: directory
|
state: directory
|
||||||
mode: '0755'
|
mode: "0755"
|
||||||
|
|
||||||
- name: Read the live k3s config
|
- name: Read the live k3s config
|
||||||
slurp:
|
slurp:
|
||||||
@@ -33,14 +33,14 @@
|
|||||||
get_url:
|
get_url:
|
||||||
url: https://get.k3s.io
|
url: https://get.k3s.io
|
||||||
dest: /root/k3s_install.sh
|
dest: /root/k3s_install.sh
|
||||||
mode: '744'
|
mode: "744"
|
||||||
# todo: update when file changed?
|
# todo: update when file changed?
|
||||||
|
|
||||||
- import_tasks: ./install/server/setup_network.yml
|
- import_tasks: ./install/server/setup_network.yml
|
||||||
when: "type == 'server'"
|
when: "type == 'server'"
|
||||||
|
|
||||||
- import_tasks: ./install/server/install_helm.yml
|
#- import_tasks: ./install/server/install_helm.yml
|
||||||
when: "type == 'server'"
|
# when: "type == 'server'"
|
||||||
|
|
||||||
- import_tasks: ./install/server/install_k3s.yml
|
- import_tasks: ./install/server/install_k3s.yml
|
||||||
when: "type == 'server'"
|
when: "type == 'server'"
|
||||||
|
|||||||
Reference in New Issue
Block a user