shiva icon indicating copy to clipboard operation
shiva copied to clipboard

Snap-based package installs

Open airman604 opened this issue 5 years ago • 0 comments

Moved golang and node.js to snap-based package installs, which are easier and more maintainable (and work across Ubuntu 18.04 and 20.04 etc.). Snap package versions are kept relatively fresh (more recent than apt at least). With go, it's not linked to a specific golang verison and will install latest available. For node, a specific major version can be specified with snap "channel".

Ansible snap module is available in Ansible 2.8 and up, on Ubuntu 18.04 apt package for Ansible is an older version, but a newer one can be installed with:

$ sudo apt install software-properties-common
$ sudo apt-add-repository --yes --update ppa:ansible/ansible
$ sudo apt install ansible

This only needs to be done on the host system, I believe (in case of remote provisioning).

airman604 avatar Sep 15 '20 00:09 airman604