Role os_neutron for OpenStack-Ansible
Go to file
Jesse Pretorius 5ce4d64150 Change pip install task state to 'latest'
Currently all pip install tasks only require the package to be
present. This means that when an environment undergoes a minor
upgrade the package is not upgraded to the same version that
was tested with. This ultimately results in a deployed
environment that does not match the tested environment.

While for the services installed into venvs this is not an
issue, it does affect those which do not use venvs and any
packages which are installed outside of a venv or on top
of a venv.

This patch changes the behaviour to ensure that the install
task will always use the latest available package. In
developer_mode this will mean using the version specified
in upper-constraints, and in an integrated build this will
mean the version which is available in the wheel repo's
folder for the tag.

Change-Id: I22821cb24642aad4bface0ae0838351cd0cce257
2016-05-04 10:38:50 +01:00
defaults Dynamically determine whether Neutron Agents should be enabled 2016-04-20 10:02:50 +01:00
doc Implement base configuration for independent repository 2016-03-01 13:21:12 -08:00
files/rootwrap.d Update paste, policy and rootwrap configurations 2016-04-22 2016-04-22 17:23:05 +01:00
handlers Ansible 2.x - Address deprecation warning of bare variables 2016-04-22 11:48:50 -04:00
library Update os_neutron to handle newton migrations 2016-04-20 21:17:39 +01:00
meta Update min_ansible_version to 1.9 2016-04-11 12:20:46 +01:00
releasenotes Remove Liberty releasenote index 2016-04-20 22:02:58 +01:00
tasks Change pip install task state to 'latest' 2016-05-04 10:38:50 +01:00
templates Correct Neutron VPNaaS service_provider config entry 2016-04-20 12:34:18 +01:00
tests Switch defaults/tests to use master branch 2016-04-03 13:48:39 +01:00
.gitignore Add reno scaffolding for release notes management 2016-04-09 19:21:03 +01:00
.gitreview Implement base configuration for independent repository 2016-03-01 13:21:12 -08:00
CONTRIBUTING.rst Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
LICENSE Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
other-requirements.txt Add dependencies for paramiko 2.0 2016-05-03 08:56:35 +01:00
README.rst Cleanup the os_neutron role readme 2015-10-29 06:51:18 -07:00
run_tests.sh Add dependencies for paramiko 2.0 2016-05-03 08:56:35 +01:00
setup.cfg Implement base configuration for independent repository 2016-03-01 13:21:12 -08:00
setup.py Implement base configuration for independent repository 2016-03-01 13:21:12 -08:00
test-requirements.txt blacklist Ansible 1.9.6 2016-04-16 08:43:03 -05:00
tox.ini Add reno scaffolding for release notes management 2016-04-09 19:21:03 +01:00

OpenStack Neutron

tags

openstack, neutron, cloud, ansible

category

*nix

Role for deployment, setup and installation of Neutron.

This role will install the following:
  • neutron-server
  • neutron-agents
- name: Installation and setup of Neutron
  hosts: neutron_all
  user: root
  roles:
    - { role: "os_neutron", tags: [ "os-neutron" ] }
  vars:
    neutron_galera_address: "{{ internal_lb_vip_address }}"