1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/changelogs/fragments
patchback[bot] 7b66573df0
[PR #8075/4363f876 backport][stable-8] ini_file - support optional spaces around section names (#8135)
ini_file - support optional spaces around section names (#8075)

* ini_file - support optional spaces between section names and their surrounding brackets

Some ini files have spaces between some of their section names and the
brackets that enclose them. This is documented in the 'openssl.cnf(5)' man
page. In order to manage files such as /etc/ssl/openssl.cnf with ini_file
before now, one would have to include spaces in the section name like this:
    section: ' crypto_policy '
    option: Options
    value: UnsafeLegacyRenegotiation

This change implements matching section headers with such optional spaces.
Existing tasks using the workaround above will continue to work, even in
cases where spaces in section headers are subsequently removed.

* readability improvement in the test content expressions

---------

Co-authored-by: Todd Lewis <todd_lewis@unc.edu>
(cherry picked from commit 4363f8764b)

Co-authored-by: Todd Lewis <utoddl@gmail.com>
2024-03-24 18:26:01 +01:00
..
.keep Rename changelogs/fragments/.empty -> changelogs/fragments/.keep 2020-08-07 08:17:57 +02:00
7953-proxmox_kvm-fix_status_check.yml [PR #7953/248e2ff3 backport][stable-8] [FIX] proxmox_kvm: fetch vm status from node-specific API endpoint to ensure fresh state (#8043) 2024-02-28 22:23:32 +01:00
7998-icinga2-inventory-group_by_hostgroups-parameter.yml [PR #7998/4947786d backport][stable-8] Adds group_by_hostgroups parameter to Icinga2 inventory (#8134) 2024-03-24 18:25:52 +01:00
8048-fix-homebrew-module-error-reporting-on-become-true.yaml [PR #8048/fa30b022 backport][stable-8] fix(homebrew): give correct error message when become true used (#8068) 2024-03-09 12:42:34 +00:00
8057-pam_limits-check-mode.yml [PR #8057/c13bede0 backport][stable-8] pam_limits: do not create file in check mode when it does not exist (#8071) 2024-03-09 12:42:12 +00:00
8073-ldap-attrs-diff.yml [PR #8073/09cded05 backport][stable-8] Add --diff support for ldap_attrs module (#8099) 2024-03-14 23:39:18 +01:00
8075-optional-space-around-section-names.yaml [PR #8075/4363f876 backport][stable-8] ini_file - support optional spaces around section names (#8135) 2024-03-24 18:26:01 +01:00
8087-removed-redundant-unicode-prefixes.yml [PR #8087/22620752 backport][stable-8] Removed the redundant unicode prefixes (#8096) 2024-03-14 22:32:44 +01:00
8091-consul-token-fixes.yaml [PR #8091/67736d79 backport][stable-8] Fix consul_token usage without accessor_id. (#8097) 2024-03-14 23:39:10 +01:00
aix_filesystem-crfs-issue.yml [PR #8052/73b6b98e backport][stable-8] Aix filesystem crfs issue (#8112) 2024-03-17 17:40:33 +01:00
lxd-instances-api-endpoint-added.yml [PR #7980/74c15c12 backport][stable-8] Updates lxd_container to support new LXD API (#8046) 2024-02-28 22:27:21 +01:00
pacemaker-cluster.yml [PR #8081/17e275bc backport][stable-8] pacemaker_cluster: implement check mode (#8095) 2024-03-14 22:32:35 +01:00