3 ms·
To address just the package concern, it's worth noting that Ansible can pin packages to a particular version, by naming the version you want installed. Then, e
by falcolas 13y ago
To address just the package concern, it's worth noting that Ansible can pin packages to a particular version, by naming the version you want installed.
Then, even if a new package is pushed to the repo, you will not receive it (and will be notified by an error by subsequent runs if it's been manually updated) until you update the inventory file.
Many things in Ansible can be pinned in similar ways.
http://www.ansibleworks.com/docs/modules.html#yum http://www.ansibleworks.com/docs/modules.html#yum
- mpdehaan2 13y agoI'd also highly recommend maintaining a local mirror, regardless of your CM system. Makes things faster and ensures even if you don't pin versions you are not going to get upstream surprises.