openstack-ansible-openstack.../tasks
Jean-Philippe Evrard f8a150cc76 Add the ability to run the role on all hosts
We currently have spread out package/host management to multiple
roles, sometimes repeating ourselves in the process (see
pip_install and openstack_hosts overlap)

That is against Ansible principles, and we should have one role
that configures the minimum (to run openstack), applying it to
all the nodes, maybe behaving slightly differently depending on
some parameters. Here that parameter is if the host is a container
or not. If the host is a container, all the physical host
configuration (kernel and sysctl) is be skipped, the
rest of the configuration (packages/repos) still applies.

This needed a refactor to split the tasks into those two group
while remaining efficient and avoid multiple back and forth
of package installs/removal. For that last point, new defaults
variables were introduced, allowing overrides per host/group.
A node now member of a group x can now directly use this role
to setup all its necessary repos and keys.

Last, but not least, this override mechanism can now easily
trigger pip_install role, which can from now on, be removed
from every role. On top of that pip_install role can now
remove its repo management, and focus on installing pip on
hosts that don't have a proper version of pip installed.

Change-Id: Ibf145e561c80a12055bd4d5dca3914c4d495a748
2017-11-24 14:50:40 +00:00
..
configure_metal_hosts.yml Add the ability to run the role on all hosts 2017-11-24 14:50:40 +00:00
main.yml Add the ability to run the role on all hosts 2017-11-24 14:50:40 +00:00
openstack_authorized_keys.yml Remove urllib3 dependency 2017-02-28 17:58:36 +00:00
openstack_hosts_configure_apt.yml Add the ability to run the role on all hosts 2017-11-24 14:50:40 +00:00
openstack_hosts_configure_dnf.yml Add the ability to run the role on all hosts 2017-11-24 14:50:40 +00:00
openstack_hosts_configure_yum.yml Add the ability to run the role on all hosts 2017-11-24 14:50:40 +00:00
openstack_hosts_configure_zypper.yml Add the ability to run the role on all hosts 2017-11-24 14:50:40 +00:00
openstack_proxy_settings.yml Update instead of replacing the environment file 2017-03-29 10:58:53 +01:00
openstack_release.yml Make the release file options more configurable 2016-12-07 12:32:54 +00:00
openstack_sysstat.yml Add the ability to run the role on all hosts 2017-11-24 14:50:40 +00:00
openstack_update_hosts_file.yml Use the host python interpreter when delegating to localhost 2017-06-15 13:42:42 +01:00