Dmitriy Rabotyagov 541bfb98dc Fix ini tempalting idempotency
When Ansible is run with --diff argument, config_template was reporting
changed state even when nothing was actually changed on disk.

This was caused by overly broad check, which removed empty
dictionaries or lists from the resulting
data, which was evalueated by --diff.

At the same time running without --diff was successful and was not
reporting changes.

Change-Id: Ibc777492c0ebcfc321db94424846d9d757a89e94
Signed-off-by: Dmitriy Rabotyagov <dmitriy.rabotyagov@cleura.com>
2026-03-26 14:28:07 +01:00
2026-03-03 10:44:17 +00:00
2026-03-26 14:28:07 +01:00
2019-04-19 19:49:22 +00:00
2016-02-01 16:47:07 +00:00
2025-12-24 14:32:55 +01:00

OpenStack-Ansible config_template

This module is an ansible plugin that extends regular template functionality with the ability to override items in config, in transit, through the use of a simple dictionary without having to write out various temp files on target machines.

Please, use ansible-galaxy to install the collection, more details in documentation: https://docs.openstack.org/ansible-config_template/latest/

More infromation about the project

Documentation for the project can be found at:

https://docs.openstack.org/ansible-config_template/latest/

Release notes for the project can be found at:

https://docs.openstack.org/releasenotes/ansible-config_template/

The project source code repository is located at:

https://opendev.org/openstack/ansible-config_template/

The project home is at:

https://launchpad.net/openstack-ansible

The project bug tracker is located at:

https://bugs.launchpad.net/openstack-ansible

Description
Ansible action plugin to template arbitrary json ini yaml data
Readme 1.8 MiB
Languages
Python 100%