system-config/roles
Ian Wienand 72b4b868ab Skip installing puppetlabs repos if they exist
Currently ansible fails on most puppet4 hosts with

 TASK [puppet-install : Install puppetlabs repo] ********************************
 fatal: [...]: FAILED! => {"changed": false, "msg": "A later version is already installed"}

As described inline, the version at the "top level" we are installing
via ansible here is actualy lower than the version in the repo this
package installs (inception).  Thus once an upgrade has been run on
the host, we are now trying to *downgrade* the puppetlabs-release
package.  This stops the ansible run and makes everything unhappy.

If we have the puppet repo, just skip trying to install it again.

We do this for just trusty and xenial; at this point we don't have any
puppet5 hosts (and none are planned) and I haven't checked if it has
the same issues.

Change-Id: I55ea8bfbfc40befb1d138e9bc0f95b120f8f5dbd
2019-04-09 18:30:13 +10:00
..
exim Scope exim service name variable 2018-08-24 17:05:03 -07:00
kerberos-client roles/kerberos-client: fix defaults 2018-08-29 15:34:06 +10:00
openafs-client Use include_tasks instead of include 2018-09-20 09:08:55 -05:00
puppet-install Skip installing puppetlabs repos if they exist 2019-04-09 18:30:13 +10:00