Role os_nova for OpenStack-Ansible
Go to file
Jesse Pretorius dc472f3bc9 Update tox configuration
In order to prepare for implementing requirements management by the
OpenStack requirements management process, and to improve the
reliability and effectiveness of test execution, this patch implements
some changes to the tox configuration:

- The minimum tox version is increased in order to be able to use
  constraints for the python packages.
- The OpenStack upper-constraints are used when preparing the test
  venv for the linters checks.
- Any proxy environment variables set on the test host are passed
  into the venv to enable testing from behind a proxy.
- The environment variables used by Ansible tests are moved into
  a new venv called 'ansible' and this environment is inherited
  by all Ansible-related tests.
- The docs test will clean-up an existing build directory before
  executing the docs build.
- The releasenotes build cannot use upper-constraints at this point,
  so it doesn't.
- The Ansible role download will no longer ignore errors so that any
  problems discovered will result in a failed test.
- The human readable logging callback plugin is implemented for
  functional testing.
- The ansible test requirements are moved into tox.ini to ensure
  compliance for requirements.txt/test-requirements.txt for the
  global-requirements management contract.
- The ~/.ansible directory as a whole is not deleted. Instead only
  the plugins and roles folders are deleted to ensure that zuul's
  Ansible artifacts are left in-place.
- The ansible-lint version is updated to support execution against a
  folder, and the test now executes against the entire role to ensure
  that it captures all applicable files for lint testing.

This is a combined port of the following:
- https://review.openstack.org/323507
- https://review.openstack.org/338193
- https://review.openstack.org/332443
- https://review.openstack.org/338193
- https://review.openstack.org/339493

Change-Id: I8e1881e9d33f188eae3aa34498d42a773f541e52
2016-07-18 16:36:28 +00:00
defaults Nova role should not default vars outside the nova namespace 2016-07-18 11:25:18 -04:00
doc Update sphinx configuration 2016-07-12 16:53:47 +01:00
files Update paste, policy and rootwrap configurations 2016-07-01 2016-07-06 07:08:03 +00:00
handlers Address Ansible bare variable usage 2016-06-15 11:13:57 -04:00
meta Add missing xenial to meta.yml 2016-06-27 15:35:13 -04:00
releasenotes Update sphinx configuration 2016-07-12 16:53:47 +01:00
tasks Merge "Update role to use the Multi-Distro framework" 2016-07-07 16:21:30 +00:00
templates Nova role should not default vars outside the nova namespace 2016-07-18 11:25:18 -04:00
tests Update tox configuration 2016-07-18 16:36:28 +00:00
vars Update role to use the Multi-Distro framework 2016-07-02 12:19:40 +00:00
.gitignore Add .swp files to .gitignore 2016-05-04 15:21:06 +01:00
.gitreview Implement base configuration for independent repository 2016-03-02 00:07:37 +00:00
CONTRIBUTING.rst Implement base configuration for independent repository 2016-03-02 00:07:37 +00:00
LICENSE Implement base configuration for independent repository 2016-03-02 00:07:37 +00:00
other-requirements.txt Add dependencies for paramiko 2.0 2016-05-04 08:35:14 +00:00
README.rst DOC - Adopting the common role documentation pattern 2016-07-01 08:54:52 +00:00
run_tests.sh Add dependencies for paramiko 2.0 2016-05-04 08:35:14 +00:00
setup.cfg Implement base configuration for independent repository 2016-03-02 00:07:37 +00:00
setup.py Implement base configuration for independent repository 2016-03-02 00:07:37 +00:00
test-requirements.txt Update tox configuration 2016-07-18 16:36:28 +00:00
tox.ini Update tox configuration 2016-07-18 16:36:28 +00:00

OpenStack-Ansible Nova

Ansible role that installs and configures OpenStack Nova and all of its corresponding services.

Default Variables

../../defaults/main.yml

Required Variables

Example Playbook