system-config/inventory/service/group_vars
Ian Wienand 19ea4603f4 puppet: don't run module install steps multiple times
It turns out you can't use "run_once" with the "free" strategy in
Ansible.  It actually warns you about this, if you're looking in the
right place.

The existing run-puppet role calls two things with "run_once:", both
delegated to localhost -- cloning the ansible-role-puppet repo (so we
can include_role: puppet) and installing the puppet modules (via
install-ansible-roles role), which are copied from bridge to the
remote side and run by ansible-role-puppet.

With remote_puppet_else.yaml we are running all the puppet hosts at
once with the "free" strategy.  This means that these two tasks, both
delegated to localhost (bridge) are actually running for every host.
install-ansible-roles does a git clone, and thus we often see one of
the clones bailing out with a git locking error, because the other
host is running similtaneously.
I8585a1af2dcc294c0e61fc45d9febb044e42151d tried to stop this with
"run_once:" -- but as noted because it's running under the "free"
strategy this is silently ignored.

To get around this, split out the two copying steps into a new role
"puppet-setup".  To maintain the namespace, the "run-puppet" module is
renamed to "puppet-run".  Before each call of (now) "puppet-run", make
sure we run "puppet-setup" just on localhost.

Remove the run_once and delegation on "install-ansible-roles"; because
this is now called from the playbook with localhost context.

Change-Id: I3b1cea5a25974f56ea9202e252af7b8420f4adc9
2020-09-03 09:23:05 +10:00
..
adns.yaml Split inventory into multiple dirs and move hostvars 2020-06-04 07:44:36 -05:00
afs.yaml Split inventory into multiple dirs and move hostvars 2020-06-04 07:44:36 -05:00
afsdb.yaml Split inventory into multiple dirs and move hostvars 2020-06-04 07:44:36 -05:00
all.yaml Split inventory into multiple dirs and move hostvars 2020-06-04 07:44:36 -05:00
ask.yaml Split inventory into multiple dirs and move hostvars 2020-06-04 07:44:36 -05:00
cloud-launcher.yaml Split inventory into multiple dirs and move hostvars 2020-06-04 07:44:36 -05:00
dns.yaml Split inventory into multiple dirs and move hostvars 2020-06-04 07:44:36 -05:00
eavesdrop.yaml Split inventory into multiple dirs and move hostvars 2020-06-04 07:44:36 -05:00
elasticsearch.yaml Split inventory into multiple dirs and move hostvars 2020-06-04 07:44:36 -05:00
files.yaml Split inventory into multiple dirs and move hostvars 2020-06-04 07:44:36 -05:00
firehose.yaml Split inventory into multiple dirs and move hostvars 2020-06-04 07:44:36 -05:00
futureparser.yaml Split inventory into multiple dirs and move hostvars 2020-06-04 07:44:36 -05:00
gerrit.yaml Split inventory into multiple dirs and move hostvars 2020-06-04 07:44:36 -05:00
git-loadbalancer.yaml Split inventory into multiple dirs and move hostvars 2020-06-04 07:44:36 -05:00
gitea-lb.yaml Split inventory into multiple dirs and move hostvars 2020-06-04 07:44:36 -05:00
gitea.yaml gitea: open port 3081 2020-07-08 13:54:44 +10:00
graphite_opendev.org Graphite container deployment 2020-07-03 07:17:28 +10:00
graphite.yaml Remove mirror-update.openstack.org from graphite iptables 2020-06-19 16:06:41 +10:00
groups.yaml Split inventory into multiple dirs and move hostvars 2020-06-04 07:44:36 -05:00
jvb.yaml Split inventory into multiple dirs and move hostvars 2020-06-04 07:44:36 -05:00
kdc.yaml Split inventory into multiple dirs and move hostvars 2020-06-04 07:44:36 -05:00
logstash.yaml Split inventory into multiple dirs and move hostvars 2020-06-04 07:44:36 -05:00
mailman.yaml Split inventory into multiple dirs and move hostvars 2020-06-04 07:44:36 -05:00
meetpad.yaml Split inventory into multiple dirs and move hostvars 2020-06-04 07:44:36 -05:00
mirror.yaml Split inventory into multiple dirs and move hostvars 2020-06-04 07:44:36 -05:00
nodepool-builder_opendev.yaml Split inventory into multiple dirs and move hostvars 2020-06-04 07:44:36 -05:00
nodepool-builder.yaml Split inventory into multiple dirs and move hostvars 2020-06-04 07:44:36 -05:00
nodepool-launcher_opendev.yaml Split inventory into multiple dirs and move hostvars 2020-06-04 07:44:36 -05:00
nodepool-launcher.yaml Split inventory into multiple dirs and move hostvars 2020-06-04 07:44:36 -05:00
nodepool.yaml Split inventory into multiple dirs and move hostvars 2020-06-04 07:44:36 -05:00
ns.yaml Split inventory into multiple dirs and move hostvars 2020-06-04 07:44:36 -05:00
openstackid-dev.yaml Split inventory into multiple dirs and move hostvars 2020-06-04 07:44:36 -05:00
openstackid.yaml Split inventory into multiple dirs and move hostvars 2020-06-04 07:44:36 -05:00
pbx.yaml Split inventory into multiple dirs and move hostvars 2020-06-04 07:44:36 -05:00
puppet4.yaml Split inventory into multiple dirs and move hostvars 2020-06-04 07:44:36 -05:00
puppet.yaml puppet: don't run module install steps multiple times 2020-09-03 09:23:05 +10:00
registry.yaml Split inventory into multiple dirs and move hostvars 2020-06-04 07:44:36 -05:00
static.yaml Split inventory into multiple dirs and move hostvars 2020-06-04 07:44:36 -05:00
storyboard-dev.yaml Split inventory into multiple dirs and move hostvars 2020-06-04 07:44:36 -05:00
storyboard.yaml Split inventory into multiple dirs and move hostvars 2020-06-04 07:44:36 -05:00
webservers.yaml Split inventory into multiple dirs and move hostvars 2020-06-04 07:44:36 -05:00
wiki.yaml Split inventory into multiple dirs and move hostvars 2020-06-04 07:44:36 -05:00
zookeeper.yaml Zookeeper: listen on plain and TLS ports 2020-06-17 10:38:59 -07:00
zuul-executor-opendev.yaml Split inventory into multiple dirs and move hostvars 2020-06-04 07:44:36 -05:00
zuul-executor.yaml Consolidate zuul_connection variable 2020-06-08 14:48:49 -07:00
zuul-preview.yaml Split inventory into multiple dirs and move hostvars 2020-06-04 07:44:36 -05:00
zuul-scheduler.yaml Consolidate zuul_connection variable 2020-06-08 14:48:49 -07:00
zuul.yaml Consolidate zuul_connection variable 2020-06-08 14:48:49 -07:00