ansible-community / ansible-nomad

:watch: Ansible role for Nomad
https://galaxy.ansible.com/brianshumate/nomad
BSD 2-Clause "Simplified" License
297 stars 165 forks source link

Is this playbook able to upgrade a nomad binary? #161

Open Netlims opened 1 year ago

Netlims commented 1 year ago

let's say i have version 0.12.5 and i want to upgrade to a x.x.x version binary, if i specifiy it in the variable, will it recognize i "want" a different version and delete the current one and copy the upgraded one?

Orionde commented 1 year ago

I use this playbook for various nomad clients and the upgrading of the nomad binary with ansible is working if nomad was installed by the nomad playbook.

On some nomad client, I had nomad installed with apt before running ansible on it and the update via ansible is not working (looks normal, the nomad binary is not on the exact same path when it's installed via apt).