I am automating Canonical Kubernetes installation with Ansible. The intallation process required snap to be present on the host.
Is there a standard way to install snap packages with Ansible already?
I am automating Canonical Kubernetes installation with Ansible. The intallation process required snap to be present on the host.
Is there a standard way to install snap packages with Ansible already?
The snap module is available since version 2.8 of Ansible (released May 2019):
https://docs.ansible.com/ansible/latest/modules/snap_module.html#snap-module
The required task will be:
- name: Install conjure-up for Canonical Kubernetes
snap:
name: conjure-up
classic: yes