Skip to content
Snippets Groups Projects
Verified Commit 5af1d545 authored by Varac's avatar Varac
Browse files

Install kubectl and helm as snaps

parent 6e1517f4
No related branches found
No related tags found
No related merge requests found
......@@ -3,3 +3,19 @@
- name: Set configuration directory
set_fact:
configuration_directory: "{{ configuration_directory }}"
- name: Install snapd
package:
name: snapd
- name: Install helm snap
# helm needs to get install as "classic" snap
command: snap install --classic helm
args:
creates: /snap/bin/helm
- name: Install kubectl snap
# helm needs to get install as "classic" snap
command: snap install --classic kubectl
args:
creates: /snap/bin/kubectl
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment