Plugins for OpenStack-Ansible
Go to file
Jimmy McCrory 3eb9d79a1a Fix connection plugin for Ansible 2.6
inventory_hostname is not reliable to be used as container_name. When
delegating in 2.6+, the inventory_hostname of the delegating host is
passed to the connection plugin, additionally when a host doesn't have
its own container_name variable a cached inventory_hostname is used in
its place.

To get the connection plugin working with Ansible 2.6 this change
essentially allows the container_check to fall through when delegating
to physical hosts or hosts not in the inventory by:
- removing inventory_hostname as a fallback for container_name
- unsetting container_name when delegating to a known physical host
- unsetting container_name when delegating to a host not mentioned in
  the inventory

container_name can no longer be used as a group variable based on
inventory_hostname, it will need to be an inventory/host variable for
each individual host.

Also, when container_user is used the remote_tmp path needs to be set to
a system writable directory instead of the root user's home.

Change-Id: If2eb4c16273e19599f6ec3f0cba6b3573912c6a0
2018-10-18 13:27:27 -07:00
action Fix config_template to work with Ansible 2.6 2018-08-02 09:41:23 -06:00
callback Remove debug_message_collector plugin 2017-09-08 12:46:52 -05:00
connection Fix connection plugin for Ansible 2.6 2018-10-18 13:27:27 -07:00
doc Updated spice-html5 git repository URL 2018-06-06 07:23:01 +02:00
examples Trivial: Fix the pep8 warning 2018-05-08 17:30:51 +08:00
filter Revert "Add a get_nested filter" 2018-07-20 11:22:38 +01:00
library Updates provider_network plugin to support geneve 2018-10-02 12:57:01 +00:00
lookup Remove *.txt file content from py_pkgs lookup output 2018-06-28 09:45:16 +01:00
meta Add Bionic testing 2018-07-10 21:53:36 +00:00
releasenotes Fix connection plugin for Ansible 2.6 2018-10-18 13:27:27 -07:00
strategy Fix connection plugin for Ansible 2.6 2018-10-18 13:27:27 -07:00
tests Fix connection plugin for Ansible 2.6 2018-10-18 13:27:27 -07:00
zuul.d switch documentation job to new PTI 2018-08-21 13:22:08 +00:00
.gitignore Updated from OpenStack Ansible Tests 2018-10-02 14:55:54 +00:00
.gitreview Updated repo for new org 2016-01-27 10:31:29 -06:00
CONTRIBUTING.rst Replace Chinese punctuation with English punctuation 2018-09-12 12:59:23 +00:00
LICENSE Update LICENSE file 2016-02-01 16:47:07 +00:00
README.rst Update links in README 2018-03-03 13:02:21 +08:00
Vagrantfile Updated from OpenStack Ansible Tests 2018-09-28 06:22:48 +00:00
bindep.txt Updated from OpenStack Ansible Tests 2017-12-06 00:06:54 +00:00
manual-test.rc Use centralised test scripts 2016-09-28 12:04:13 +01:00
run_tests.sh Updated from OpenStack Ansible Tests 2018-09-29 04:56:47 +00:00
setup.cfg Update URLs in documents according to document migration 2017-07-14 09:47:00 +08:00
setup.py Updated from global requirements 2017-03-02 11:52:19 +00:00
tox.ini fix tox python3 overrides 2018-09-26 18:44:51 -04:00

README.rst

Team and repository tags

image

OpenStack-Ansible plugins

These are the plugins the OpenStack-Ansible deployment project relies on. The plugins can be added to any Ansible project by simply cloning this repository and setting up the ansible.cfg file to point at them as additional plugins for your project.