Plugins for OpenStack-Ansible
Go to file
Andy McCrae 2ab0160123 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
(cherry picked from commit 542835cb50)
2018-03-21 15:40:22 +00:00
action Utilise sorted to ensure no random changes 2018-03-21 15:40:22 +00:00
callback Remove profile_tasks callback 2017-02-06 16:57:40 +00:00
connection conditional import of shlex_quote 2017-06-20 17:33:51 +00:00
doc Delete unnecessary utf-8 coding 2016-12-27 10:22:00 +08:00
examples Replace github with git.o.o 2016-11-02 12:22:21 +11:00
filter Python3 compatibility for osa-filters 2017-07-25 20:56:22 +00:00
library Add missing domain parameter to _get_group_roles 2017-11-20 17:34:09 +00:00
lookup Follow symlinks in the lookup 2017-12-04 09:41:03 +00:00
meta Remove Trusty support from plugins role 2016-12-15 15:17:53 +00:00
releasenotes Add ignore_none_type to config template 2017-08-21 21:06:16 +00:00
strategy Fix delegation to containers between hosts 2017-06-20 08:13:38 +01:00
tests Utilise sorted to ensure no random changes 2018-03-21 15:40:22 +00:00
vars_plugins Introduce userspace group_vars and host_vars 2017-03-14 18:12:58 +00:00
zuul.d Zuul: Remove project name 2018-01-28 07:22:49 -08:00
.gitignore Updated from OpenStack Ansible Tests 2017-08-25 11:28:22 +00:00
.gitreview Update .gitreview for stable/ocata 2017-02-03 18:58:54 +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-08-25 11:28:22 +00:00
bindep.txt Updated from OpenStack Ansible Tests 2017-08-25 11:28:22 +00:00
manual-test.rc Use centralised test scripts 2016-09-28 12:04:13 +01:00
run_tests.sh Used cached git sources and enable depends-on 2017-11-06 18:37:03 +00:00
setup.cfg Update homepage with developer documentation page 2016-09-20 12:04:01 +05:30
setup.py Updated from global requirements 2016-07-15 03:58:17 +00:00
test-requirements.txt Updated from global requirements 2016-12-02 05:11:23 +00:00
tox.ini Used cached git sources and enable depends-on 2017-11-06 18:37:03 +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.