Ansible playbooks for deploying OpenStack.
Go to file
Jesse Pretorius 59aad8bf8b Automatically source the rc file for ansible/ansible-playbook
For Newton onwards, when both ansible and ansible-playbook
commands are run the /usr/local/bin/openstack-ansible.rc file
needs to be sourced before executing the commands.

It's very often the case that we get reports that commands have
failed because deployers are trying to use 'ansible-playbook'
instead of 'openstack-ansible'.

This patch ensures that both these commands execute using the
openstack-ansible wrapper to ensure that the rc file is sourced
appropriately and that /etc/openstack_deploy/user*.yml are
included as extra vars under the right circumstances.

The wrapper only implements the sourced config and extra vars if
the ansible/ansible-playbook commands are executed from the git
clone root directory. This protection has been added in order to
ensure that non-OSA execution is not interfered with.

As learned and applied in https://review.openstack.org/385511 the
order of parameters is changed to ensure that the playbook is
before all other parameters.

Change-Id: I6706dcca6046addb57733b53bc1610644bcbb2d1
Closes-Bug: #1633411
2016-10-17 17:14:04 +01:00
doc [docs] Provide example configurations 2016-10-13 12:21:53 +00:00
etc [docs] Provide example configurations 2016-10-13 12:21:53 +00:00
lib Move inventory generation code into lib 2016-10-11 19:18:04 +00:00
playbooks Fix container log bind mount regression 2016-10-13 05:28:39 +00:00
releasenotes Set default keepalived cidr if none is provided 2016-10-12 10:09:56 +00:00
scripts Automatically source the rc file for ansible/ansible-playbook 2016-10-17 17:14:04 +01:00
tests Merge "Remove xrange for run both Python 2 and Python 3" 2016-10-13 18:23:05 +00:00
.gitignore Merge "Update run-playbooks to support playbook logic" 2016-09-26 22:59:06 +00:00
.gitreview Update .gitreview for project rename 2015-09-11 20:58:10 +00:00
LICENSE.txt Correct path to callback plugins in gate script 2016-02-01 16:52:54 +00:00
README.rst Trivial: Keep consistency of "OpenStack-Ansible" 2016-01-12 15:29:46 +08:00
ansible-role-requirements.yml Switch the repo_server role to master 2016-10-12 23:44:19 +00:00
ansible-role-requirements.yml.example Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
bindep.txt Compress all gathered logs for CI 2016-09-10 17:02:14 +00:00
global-requirement-pins.txt Update all SHAs for Ocata 2016-10-12 2016-10-12 20:36:21 +00:00
requirements.txt Updated from global requirements 2016-09-30 20:03:37 +00:00
setup.cfg Update the home-page info with the developer documentation 2016-08-01 06:57:14 +00:00
setup.py Updated from global requirements 2016-07-15 12:58:23 +00:00
test-requirements.txt Updated from global requirements 2016-10-10 20:45:46 +00:00
tox.ini Move inventory generation code into lib 2016-10-11 19:18:04 +00:00

README.rst

OpenStack-Ansible

OpenStack-Ansible is an official OpenStack project which aims to deploy production environments from source in a way that makes it scalable while also being simple to operate, upgrade, and grow.

For an overview of the mission, repositories and related Wiki home page, please see the formal Home Page for the project.

For those looking to test OpenStack-Ansible using an All-In-One (AIO) build, please see the Quick Start guide.

For more detailed Installation and Operator documentation, please see the Install Guide.

If OpenStack-Ansible is missing something you'd like to see included, then we encourage you to see the Developer Documentation for more details on how you can get involved.

Developers wishing to work on the OpenStack-Ansible project should always base their work on the latest code, available from the master GIT repository at Source.

If you have some questions, or would like some assistance with achieving your goals, then please feel free to reach out to us on the OpenStack Mailing Lists (particularly openstack-operators or openstack-dev) or on IRC in #openstack-ansible on the freenode network.