kolla-ansible/ansible
Mark Goddard 1ae90d4b55 Fix fact gathering with --limit
Prior to this change, when the --limit argument is used, each host in the
limit gathers facts for every other host. This is clearly unnecessary, and
can result in up to (N-1)^2 fact gathers.

This change gathers facts for each host only once. Hosts that are not in
the limit are divided between those that are in the limit, and facts are
gathered via delegation.

This change also factors out the fact gathering logic into a separate
playbook that is imported where necessary.

Change-Id: I923df5af41a7f1b7b0142d0da185a9a0979be543
(cherry picked from commit 56b4352f9e)
2018-12-20 10:15:50 +00:00
..
action_plugins Use unified vars in task 2017-06-15 22:37:28 +08:00
group_vars Deploy of keystone fails if api_interface names differ 2018-02-09 19:40:18 +03:00
inventory Restructure the vpnaas roles 2018-11-19 11:10:30 +00:00
library Allow set tty for containers 2018-12-17 20:08:56 +01:00
roles Allow set tty for containers 2018-12-17 20:08:56 +01:00
bifrost.yml Detect openstack_release in kolla-ansible deploy-bifrost 2018-03-13 10:30:54 +00:00
certificates.yml Make the certificates role just run on deploy node 2018-05-31 01:47:49 +00:00
destroy.yml Give plays in the playbooks a name 2016-12-05 15:40:56 +00:00
gather-facts.yml Fix fact gathering with --limit 2018-12-20 10:15:50 +00:00
kolla-host.yml Fix fact gathering with --limit 2018-12-20 10:15:50 +00:00
mariadb_recovery.yml Detect openstack_release variable in mariadb recovery playbooks 2017-04-11 07:38:25 +00:00
post-deploy.yml post-deploy: honour --config-dir argument 2017-10-12 16:35:56 +02:00
site.yml Fix fact gathering with --limit 2018-12-20 10:15:50 +00:00
stop.yml Added support for a stop playbook in kolla 2016-11-23 11:45:23 +00:00