Plugins for OpenStack-Ansible
Go to file
Andy McCrae 542835cb50 Utilise sorted to ensure no random changes
This is a manual backport of a5ef4ea.
The config_template plugin was unified in Queens.

As part of the ceph-ansible project, this change was put in:
ceph/ceph-ansible@ec04221
This was to handle the case where the config would change, initiating a
restart handler, even though no actual change happened.

We can juse use sorted() since we are passing back a list with .items()
which can then be sorted.

The above change didn't include a change to ensure the order of the
sections, which meant that although the individual items were sorted the
sections could change order causing unnecessary changes.

Additionally, this adds a test to retemplate the file 3 times, with a
lot more sections to ensure the order remains the same, this will fail
when the config template changes even though no changes have happened.

Change-Id: I7c7cd9ef1dd767a2a5d754ac4663cf8655dd60c2
2018-03-21 11:46:14 +00:00
action Utilise sorted to ensure no random changes 2018-03-21 11:46:14 +00:00
callback Remove profile_tasks callback 2017-02-06 09:03:20 -06:00
connection Reduce interactions by nearly 50% 2018-03-06 11:02:10 -06:00
doc Initial OSA zuul v3 role jobs 2017-10-31 11:31:09 +00:00
examples Replace github with git.o.o 2016-11-02 12:22:21 +11:00
filter Add a get_nested filter 2017-07-07 19:42:39 +00:00
library Add missing domain parameter to _get_group_roles 2017-11-21 16:43:29 +00:00
lookup Follow symlinks in the lookup 2017-12-04 09:40:55 +00:00
meta Add openSUSE and CentOS as supported distributions 2017-04-10 23:07:15 +01:00
releasenotes Make possible to use ansible 2.4 2018-01-12 10:48:45 +00:00
strategy Fix the physical_host_addr vars lookup 2017-07-05 09:09:59 -05:00
tests Utilise sorted to ensure no random changes 2018-03-21 11:46:14 +00:00
vars_plugins Make possible to use ansible 2.4 2018-01-12 10:48:45 +00:00
zuul.d Zuul: Remove project name 2018-01-28 07:42:54 -08:00
.gitignore Updated from OpenStack Ansible Tests 2017-06-22 15:20:16 +00:00
.gitreview Update .gitreview for stable/pike 2017-08-18 08:00:52 +00:00
CONTRIBUTING.rst [DOCS] Cleanup the role docs for consistency and clarity 2016-03-07 17:38:19 -05:00
LICENSE Update LICENSE file 2016-02-01 16:47:07 +00:00
README.rst Show team and repo badges on README 2016-11-25 16:21:30 +01:00
Vagrantfile Updated from OpenStack Ansible Tests 2017-07-28 15:01:09 +00:00
bindep.txt Updated from OpenStack Ansible Tests 2017-08-24 17:11:40 +00:00
manual-test.rc Use centralised test scripts 2016-09-28 12:04:13 +01:00
run_tests.sh Initial OSA zuul v3 role jobs 2017-10-31 11:31:09 +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
test-requirements.txt Updated from global requirements 2017-07-27 19:18:22 +00:00
tox.ini Update vars and test tooling for Pike 2017-08-23 11:45:07 +00: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.