shiva
shiva copied to clipboard
Snap-based package installs
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).