Role openstack_hosts for OpenStack-Ansible
Go to file
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
defaults Add the ability to run the role on all hosts 2017-11-24 14:50:40 +00:00
doc Initial OSA zuul v3 role jobs 2017-10-17 18:20:51 +00:00
examples [DOCS] Move playbook example to separate file 2016-08-11 20:33:39 -05:00
files/gpg Add the ability to run the role on all hosts 2017-11-24 14:50:40 +00:00
handlers Remove Trusty support from openstack_hosts role 2016-12-15 13:14:48 +00:00
meta Add OpenStack-Ansible metadata 2017-10-11 08:44:57 +00:00
releasenotes Add the ability to run the role on all hosts 2017-11-24 14:50:40 +00:00
tasks Add the ability to run the role on all hosts 2017-11-24 14:50:40 +00:00
templates Add the ability to run the role on all hosts 2017-11-24 14:50:40 +00:00
tests Add the ability to run the role on all hosts 2017-11-24 14:50:40 +00:00
vars Add the ability to run the role on all hosts 2017-11-24 14:50:40 +00:00
zuul.d Remove unified queue from gate pipeline 2017-10-23 11:13:57 +01:00
.gitignore Updated from OpenStack Ansible Tests 2017-06-22 15:19:06 +00:00
.gitreview New git dotfiles for independant repository 2015-11-25 18:44:58 +00:00
CONTRIBUTING.rst [DOCS] - Removing tags: and category: 2016-08-18 19:43:06 +00:00
LICENSE IRR for openstack_hosts 2015-11-03 02:57:54 -06:00
README.rst Update links in README 2017-09-13 10:01:59 +08:00
Vagrantfile Updated from OpenStack Ansible Tests 2017-07-28 15:00:01 +00:00
bindep.txt Updated from OpenStack Ansible Tests 2017-09-12 23:54:53 +00:00
manual-test.rc Use centralised test scripts 2016-09-27 17:08:37 +01:00
run_tests.sh Initial OSA zuul v3 role jobs 2017-10-17 18:20:51 +00:00
setup.cfg update homepage with developer documentation page 2016-09-20 13:09:12 +05:30
setup.py Updated from global requirements 2017-03-02 11:51:22 +00:00
test-requirements.txt Updated from global requirements 2017-09-16 23:19:21 +00:00
tox.ini Ensure that role tests pin pip/setuptools/wheel 2017-06-04 11:19:06 +01:00

README.rst

Team and repository tags

image

OpenStack-Ansible openstack_hosts

Role for basic setup and configuration of a host machine for use within OpenStack. This role tunes a host to receive OpenStack. The basic operations within the role install, set up, and tune specific kernel options that all OpenStack hosts need to perform nominally.

Documentation for the project can be found at:

https://docs.openstack.org/openstack-ansible-openstack_hosts/latest/

The project home is at:

http://launchpad.net/openstack-ansible