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
Jonathan Kamens 8a9b98273d
Add ignore_spaces option to ini_file to ignore spacing changes (#7273)
* Add `ignore_spaces` option to `ini_file` to ignore spacing changes

Add a new `ignore_spaces` option to the `ini_file` module which, if
true, prevents the module from changing a line in a file if the only
thing that would change by doing so is whitespace before or after the
`=`.

Also add test cases for this new functionality. There were previously
no tests for `ini_file` at all, and this doesn't attempt to fix that,
but it does add tests to ensure that the new behavior implemented here
as well as the old behavior in the affected code are correct.

Fixes #7202.

* Add changelog fragment

* pep8 / pylint

* remove unused import

* fix typo in comment in integration test file

* Add symlink tests to main.yml

It appears that #6546 added symlink tests but neglected to add them to
main.yml so they weren't being executed.

* ini_file symlink tests; create output files in correct location

* Add integration tests for ini_file ignore_spaces

* PR feedback
2023-09-17 13:22:22 +02:00
..
.keep Rename changelogs/fragments/.empty -> changelogs/fragments/.keep 2020-08-07 08:17:57 +02:00
6223-get-secret-ids-by-folderid.yml Fetch secret id's which are in folder by folder id (#6652) 2023-06-09 17:14:05 +02:00
6435-snap-channel-aware.yml snap: aware of channel in installed snaps (#6435) 2023-06-06 20:49:12 +02:00
6469-add-composites-support-for-keycloak-role.yml Inspq keycloak role composites (#6469) 2023-06-15 06:57:30 +02:00
6471-redfish-add-multipart-http-push-command.yml Redfish: Add MultipartHTTPPushUpdate (#6612) 2023-06-05 21:56:44 +02:00
6502-cobbler-inventory_hostname.yml plugins/inventory/cobbler: Add option to use system name for inventory (#6502) 2023-05-29 18:53:56 +02:00
6510-proxmox-create-support_timezone.yaml proxmox: support param timezone when creating container (#6510) 2023-05-31 08:01:47 +02:00
6512-cpanm-default-mode.yml cpanm: deprecate default mode (#6512) 2023-05-29 18:52:02 +02:00
6513-opkg-default-force.yml opkg: remove useless default value for force (#6513) 2023-05-29 18:52:29 +02:00
6520-mas-disable-signin.yaml mas: disable sign-in check for macOS 12+ (#6520) 2023-05-29 18:53:20 +02:00
6522-copr-respawn.yaml respawn copr module when dnf is missing (#6522) 2023-05-29 18:52:50 +02:00
6523-datadog-monitor-notification-preset-name-and-renotify.yaml datadog_monitor: Added notification preset name and renotify options (#6523) 2023-05-29 18:51:43 +02:00
6525-sorcery-import.yaml sorcery: moved import to top (#6525) 2023-05-29 18:54:35 +02:00
6527-nmcli-bond-fix-xmit_hash_policy.yml nmcli: Fix bond option xmit_hash_policy (#6527) 2023-05-21 17:03:38 +02:00
6531-opentelemetry-add-event-attributes.yml opentelemetry: add span event attributes (#6531) 2023-06-06 20:54:58 +02:00
6533-proxmox_kvm-tpmstate0-support.yaml proxmox_kvm: support for tpmstate0 parameter (#6533) 2023-05-29 18:56:57 +02:00
6534-zypper-exitcode-102-handled.yaml added handling of zypper exitcode 102: ZYPPER_EXIT_INF_REBOOT_NEEDED (#6534) 2023-05-22 06:24:53 +02:00
6539-semantic-markup.yml Enable using semantic markup (#6539) 2023-05-20 13:05:44 +02:00
6548-portage-changed_use-newuse.yml portage: fix changed_use and newuse not triggering rebuilds (#6008) (#6548) 2023-05-21 21:36:46 +02:00
6554-proxmox-tasks-info-fix-required-password.yaml Don't require api_password when api_token_id is used in proxmox_tasks_info (#6554) 2023-05-22 06:32:26 +02:00
6568-fix-get-user-by-username-in-keycloak-module-utils.yml Fix get_user_by_username in keycloak library (#6568) 2023-05-29 15:32:15 +02:00
6570-handle-shutdown-timeout.yaml proxmox_kvm | Expose timeout param to stopped state (#6570) 2023-05-29 18:56:33 +02:00
6576-proxmox-snap-allow-to-remove-old-snapshots.yml proxmox_snap: allow set retention for snapshots (#6577) 2023-06-09 12:56:22 +02:00
6601-cmdrunner-deprecate-default-type.yml CmdRunner module utils: deprecate format method as_default_type() (#6601) 2023-05-31 07:58:28 +02:00
6602-vardict-as-dict.yml VarDict module utils: add as_dict() method (#6602) 2023-05-31 07:58:54 +02:00
6640-proxmox-composite-variables-support.yml Proxmox inventory plugin: support composite variables (#6641) 2023-06-12 21:44:26 +02:00
6644-dependencymixin-fix.yml MH mh/mixins/deps.py: prevent deprecation warning when no deps are specified (#6644) 2023-06-09 12:56:10 +02:00
6646-redhat_subscription-deprecate-autosubscribe.yml redhat_subscription: officially deprecate "autosubscribe" (#6646) 2023-06-09 13:20:40 +02:00
6647-vardict-methods.yml VarDict: convenience methods (#6647) 2023-06-11 08:34:06 +00:00
6648_ldap_search_page_size.yml plugins/modules/ldap_search: Add support for multipage searches (#6648) 2023-06-15 07:19:55 +02:00
6649-varsmixin-deprecation.yml MH VarsMixin deprecation (#6649) 2023-06-09 13:27:22 +02:00
6650-redhat_subscription-deprecate-pool.yml redhat_subscription: deprecate "pool" (#6650) 2023-06-09 13:27:38 +02:00
6658-redhat_subscription-internal-rhsm-refactor.yml redhat_subscription: refactor of internal Rhsm class (#6658) 2023-06-10 15:03:34 +02:00
6660-onepassword-lookup-service-account.yaml Onepassword lookup add service accounts (#6660) 2023-06-15 19:18:12 +02:00
6662-csv-bom.yml csv module utils: detect unicode BOM in content (#6662) 2023-06-15 07:19:16 +02:00
6663-deprecate-module_utils-redhat.yml Deprecate module_utils.redhat (#6663) 2023-06-10 13:26:14 +02:00
6668-ldap-client-cert.yml ldap: Add client certificate support (#6668) 2023-06-15 07:19:29 +02:00
6669-rhsm_release-internal-sub-man-exec.yml rhsm_release: improve the execution of subscription-manager (#6669) 2023-06-11 08:34:25 +00:00
6673-rhsm_repository-deprecate-present-absent.yml rhsm_repository: deprecate "state=present" and "state=absent" (#6673) 2023-06-11 10:38:09 +02:00
6676-rhsm_repository-fix-returned-repositories-with-purge.yml rhsm_repository: update returned "repositories" when using "purge=true" (#6676) 2023-06-20 07:13:47 +02:00
6680-filesystem-uuid-change.yml filesystem: add UUID change feature (#6680) 2023-06-19 08:59:34 +02:00
6682-lvg-clonesupport.yml lvg: add UUID reset and active state management feature (#6682) 2023-06-19 08:59:02 +02:00
6687-support-subgroups-for-keycloak-client-rolemapping.yml keycloak_client_rolemapping.py: add support for subgroups (#6687) 2023-06-18 19:49:00 +02:00
6688-is-struct-included-bug-in-keycloak-py.yml Fix composites comparison for role in is_struct_included keycloak.py … (#6688) 2023-06-14 22:34:45 +02:00
6709-proxmox-create-vm-with-existing-name.yml proxmox_kvm - Allow creation of VM with existing name but new vmid (#6709) 2023-06-19 07:01:58 +02:00
6711-cobbler-ip-address.yml plugins/inventory/cobbler: Collect IP addresses for hosts and add opt… (#6711) 2023-06-19 06:53:46 +02:00
6712-gitlab_group-filtered-for-none-values.yml gitlab_group => Make most options optional (#6712) 2023-06-18 21:02:21 +02:00
6713-yay-become.yml pacman: support yay as root (#6713) 2023-07-08 10:14:22 +02:00
6719-redfish-utils-fix-for-get-volume-inventory.yml Fixing bug in get_volume_inventory (#6719) 2023-06-26 23:29:18 +02:00
6720-tss-fix-fetch-attachments.yml Fix multiple issues with the TSS lookup plugin when using fetch_attachments (#6720) 2023-06-20 18:23:16 +02:00
6734-keycloak-auth-management-indexing.yml Fix Keycloak authentication management indexing (#6734) 2023-07-08 10:13:51 +02:00
6748-icinga2_host-datafix.yml icinga2_host: fix a key error when modifying an existing host (#6748) 2023-06-20 18:25:32 +02:00
6755-refactor-consul-session-to-use-requests-lib-instead-of-consul.yml Refactor consul_session to support authentication with tokens (#6755) 2023-07-07 07:49:10 +02:00
6757-proxmox-template-fix-upload-error.yml [proxmox_template] Fix error while uploading big ISO to Proxmox VE cluster (#6757) 2023-07-02 21:48:26 +02:00
6763-keycloak-auth-provider-choices.yml Keycloak authentication provider ID choices (#6763) 2023-06-27 21:26:03 +02:00
6769-nmcli-fix-empty-list.yml nmcli: fix empty list to replace / remove values (#6769) 2023-07-06 21:06:24 +02:00
6770-proxmox_disk_create_cdrom.yml proxmox_disk: fix failure to create cdrom (#6770) 2023-06-26 23:30:33 +02:00
6771-redfish-filter-empty-account-slots.yml Redfish: Filter empty account slots from ListUsers (#6772) 2023-06-26 23:29:51 +02:00
6773-proxmox_kvm-restarted-state-bug-fix.yaml Module proxmox_kvm restarted state bug fix (#6773) 2023-06-26 23:31:18 +02:00
6774-locale-gen-fix.yml locale_gen: works with C.UTF-8 (#6774) 2023-06-30 06:39:11 +02:00
6783-6837-rhsm_repository-internal-refactor.yml rhsm_repository: refactor parsing of "subscription-manager repos" output (#6837) 2023-07-15 12:57:54 +02:00
6785-openbsd_pkg_pkg_info_handling.yml Handle pkg_info(1) error message "Can't find" (#6785) 2023-07-08 10:12:42 +02:00
6811-datadog-downtime-rrule-type.yaml [datadog_downtime] - added 'type' to recurrence object when rrule param is present (#6811) 2023-07-08 10:11:45 +02:00
6814-redfish-config-add-delete-all-volumes.yml Adding DeleteVolumes functionality (#6814) 2023-08-05 20:16:57 +02:00
6819-redfish-utils-add-links-parameter-for-get_disk_inventory.yml Adding 'Links' to the parameter list for data retrieved from get_disk_inventory (#6819) 2023-08-21 21:19:53 +02:00
6820-locale-gen-cmdrunner.yml locale_gen: refactor module to use CmdRunner (#6820) 2023-07-06 21:05:34 +02:00
6823-redfish-add-account-type-management.yml Redfish: Added support for displaying and setting account types (#6871) 2023-07-12 19:48:29 +02:00
6826-snap-out-strip.yml snap: fix bug when processing output (#6826) 2023-07-02 21:27:50 +02:00
6827-proxmox_kvm-force-delete-bug-fix.yaml proxmox_kvm: Add required timeout arg when force deleting (#6827) 2023-07-06 20:59:11 +02:00
6835-snap-missing-track.yml snap: add track 'latest' if no track is specified (#6835) 2023-07-08 10:10:32 +02:00
6836-proxmox-deprecate-compatibility.yml proxmox: deprecate old compatibility feature flag (#6836) 2023-07-04 20:08:48 +02:00
6838-proxmox-dict-template.yml proxmox: default value when checking for dict key (#6838) 2023-07-07 22:24:32 +02:00
6839-promoxer-tokens.yml proxmox module utils: better error msg when token fails with old proxmoxer (#6839) 2023-07-03 22:07:05 +02:00
6841-htpasswd-crypt-scheme.yml htpasswd: deprecate crypt_scheme (#6841) 2023-07-06 06:15:37 +02:00
6848-npm-required-if.yml npm: replace test with required_if (#6848) 2023-07-05 22:07:58 +02:00
6861-yum_versionlock_minor_change_add-pinning-specific-versions.yml feature(yum_versionlock): add support to pin specific package versions (#6861) 2023-07-12 22:23:44 +02:00
6862-opkg-exec.yml opkg: add executable parameter (#6862) 2023-07-07 07:15:17 +12:00
6864-redfish-utils-fix-for-processorarchitecture-in-cpu-inventory.yaml Add redfish processor architecture to Redfish CPU inventory (#6864) 2023-07-07 22:30:03 +02:00
6873-proxmox-imports.yml proxmox: remove unused imports (#6873) 2023-07-07 08:11:41 +02:00
6882-make-multiple-targets.yml make: allow multiple targets to be specified (#6882) 2023-07-12 19:37:37 +02:00
6883-redfish-utils-changing-variable-names-in-get-volume-inventory.yml Fix for get_volume_inventory (#6883) 2023-07-15 16:28:27 +02:00
6887-deprecate-stackdrive.yml stackdriver: deprecate module (#6887) 2023-07-13 12:50:43 +02:00
6901-htpasswd-refactor.yml htpasswd: refactor (#6901) 2023-07-12 19:37:10 +02:00
6902-added-support-in-nmcli-for-ipvx-dns-options.yml Added support in nmcli for ipv4.dns-options (#6902) 2023-07-13 22:26:42 +02:00
6903-locale-gen-refactor.yml locale_gen: refactor (#6903) 2023-07-15 12:54:53 +02:00
6905-ipa_dnszone-key-error-fix.yml Fix key error for reverse zone (#6905) (#6906) 2023-07-16 10:57:45 +02:00
6908-snap-dangerous.yml snap: add param "dangerous" (#6908) 2023-07-15 12:54:39 +02:00
6909-deprecate-webfaction.yml webfaction modules: deprecation (#6909) 2023-07-12 19:21:21 +02:00
6914-proxmox_kvm-enable-force-restart.yml proxmox_kvm: enable 'force' restart of vm (as documented) (#6914) 2023-07-23 22:29:51 +02:00
6923-cobbler-inventory_unicode.yml cobbler inventory plugin: Convert unicode to str (#6923) 2023-07-16 10:58:30 +02:00
6925-cobbler-inventory-bugfix.yml cobbler: Properly determine cobbler_ip_address (#6925) 2023-07-15 12:53:21 +02:00
6927-pylint-comments.yml remove pylint exceptions (#6927) 2023-07-14 07:03:34 +02:00
6928-noqa-comments.yml remove noqa exceptions (#6928) 2023-07-15 12:54:28 +02:00
6930-deprecate-flowdock.yml flowdock module: deprecation (#6930) 2023-07-14 20:04:02 +02:00
6931-keycloak_client-inventory-bugfix.yml Keycloak client secret (#6931) 2023-08-08 13:46:01 +02:00
6935-machinectl-become.yml machinectl become plugin: mark as require_tty (#6935) 2023-07-15 12:53:59 +02:00
6949-ejabberdctl-error.yml ejabberd_user: better error when command not installed (#7028) 2023-07-29 21:24:41 +02:00
6968-cmdrunner-implicit-type.yml cmd_runner module utils: fix bug when argument spec has implicit type (#6968) 2023-07-19 22:22:54 +02:00
6976-proxmox-vm-info-not-require-node.yml [proxmox_vm_info] Re-use cluster resources API to use module without requiring node param (#6976) 2023-07-23 21:32:34 +02:00
6980-proxmox-fix-token-auth.yml [proxmox] Use proxmoxer_version instead of server API version (#6980) 2023-07-20 08:40:02 +02:00
6981-proxmox-fix-vm-creation-when-only-name-provided.yml [proxmox_kvm] Don't create VM if name is used without vmid (#6981) 2023-07-23 21:31:57 +02:00
6983-rundeck-fix-typerrror-on-404-api-response.yml Rundeck - fix TypeError on 404 api response (#6983) 2023-07-31 08:37:32 +02:00
6989-npm-cmdrunner.yml npm: changed to cmdrunner (#6989) 2023-08-12 09:57:49 +02:00
7012-sorcery-grimoire-mgmt.yml Add grimoire management to sorcery module (#7012) 2023-08-09 16:11:46 +02:00
7019-ipa_config-user-and-group-objectclasses.yml ipa_config: add user and group ojectclasses parameters (#7019) 2023-08-07 22:00:14 +02:00
7020-redfish-utils-pagination.yml redfish_utils: Add support for "nextLink" property tag pagination (#7020) 2023-07-28 21:01:10 +02:00
7033-ejabberd-user-bugs.yml ejabberd_user: bug fixes + tests (#7033) 2023-08-07 21:59:32 +02:00
7043-ejabberd-user-deprecate-logging.yml ejabberd_user: deprecate parameter logging (#7043) 2023-08-02 10:43:29 +02:00
7046-snap-newline-before-separator.yml snap: Only treat --- as an info separator when it's preceded by newline (#7046) 2023-08-04 07:40:40 +02:00
7049-proxmox-vm-info-empty-results.yml [proxmox_vm_info] Return empty list when requested VM doesn't exist (#7049) 2023-08-09 16:12:31 +02:00
7051-ipa-config-new-choice-idp-to-ipauserauthtype.yml ipa_config: add idp choice to ipauserauthtype (#7051) 2023-08-07 22:01:19 +02:00
7061-fix-bitwarden-get_field.yml bitwarden lookup fix get_field (#7061) 2023-08-11 13:22:26 +02:00
7067-keycloak-api-paramerter-fix.yml Fix KeycloakAPI's missing http_agent, timeout, and validate_certs open_url() parameters (#7067) 2023-08-11 13:21:41 +02:00
7075-ejabberd-user-cmdrunner.yml ejabberd_user: use CmdRunner (#7075) 2023-08-13 20:55:59 +02:00
7081-redfish-utils-fix-for-storagecontrollers-deprecated-key.yaml Follow DMTF redfish deprecation on StorageControllers (#7081) 2023-08-11 19:18:44 +02:00
7085-sanity.yml Avoid direct type comparisons (#7085) 2023-08-11 09:00:54 +02:00
7099-chroot-disable-root-check-option.yml chroot: add disable_root_check option (#7099) 2023-08-14 19:41:33 +02:00
7102-freebsd-shutdown-p.yml freebsd: shutdown -p ... on freebsd to power off machine (#7102) 2023-08-14 19:41:47 +02:00
7104_fix_lxc_remoteaddr_default.yml lxc: fix remote_addr default to inventory_hostname (#7104) 2023-08-13 20:55:18 +02:00
7113-redfish-utils-power-cycle.yml Add support for Redfish PowerCycle reset type (#7113) 2023-08-14 21:59:24 +02:00
7118-nmap_inv_plugin_no_arp_option.yml nmap inventory plugin, add use_arp_ping option (#7119) 2023-08-20 14:21:51 +02:00
7124-snap-empty-list.yml snap: fix case when snap list is empty (#7124) 2023-08-18 07:36:06 +02:00
7125-fix-inappropriate-comparison.yml Fix inappropriate comparison on the length of a Collection (#7125) 2023-08-22 21:05:58 +02:00
7132-gitlab-raw-variables.yml gitlab_project_variable/gitlab_group_variable: Add support for 'raw' option (#7132) 2023-08-29 07:08:11 +02:00
7140-id-getmanagerinv-output.yml redfish_info: Report Id in GetManagerInventory output (#7140) 2023-08-25 20:50:28 +02:00
7156-ensure-validate-certs-parameter-is-honoured.yml Ensure pritunl validate_certs is honoured in all methods (#7156) 2023-09-06 19:10:49 +02:00
7158-gitlab-project-default-branch-update.yml feat: gitlab_project module - Allow to update project default branch (#7158) 2023-09-06 19:11:11 +02:00
7161-fix-incorrect-post-parameter.yml Update incorrect path for pritunl organization post (#7161) 2023-09-06 19:10:26 +02:00
7179-unixy-support-checkmode-markers.yml Add unixy support for check_mode_markers (#7179) 2023-09-03 17:38:46 +02:00
7180-make_params_without_value.yml community.general.make: (#7180) 2023-09-06 19:11:43 +02:00
7184-cobbler-mgmt-classes.yml plugins/inventory/cobbler: Add exclude/include_mgmt_classes (#7184) 2023-09-05 18:36:12 +00:00
7200-cmd-runner-abs-path.yml CmdRunner bugfix (#7200) 2023-09-10 07:41:04 +02:00
7219-fix-nsupdate-cname.yaml nsupdate: fix 'index out of range' error when no TTL answer is given (#7219) 2023-09-10 21:29:21 +02:00
7231-cpanm-adjustments.yml cpanm: using yaml-specified unit tests (#7231) 2023-09-10 21:24:59 +02:00
7241-prevent-key-error-when-value-does-not-exist.yml Use get(..) instead of [..] for safe lookup of value (Fixes #7240) (#7241) 2023-09-13 07:48:36 +02:00
7264-ldap_search-strings.yml ldap_search: make sure to also handle binary strings in Python 3 (#7264) 2023-09-15 19:01:32 +02:00
7273-ini_file_ignore_spaces.yml Add ignore_spaces option to ini_file to ignore spacing changes (#7273) 2023-09-17 13:22:22 +02:00
get-secret-by-path.yml tss lookup plugin - Fetch secret by path (#6881) 2023-07-14 19:43:14 +02:00
improvements-to-jenkins-build-module.yml Improvements to the jenkins_build module and new jenkins_build_info module (#7204) 2023-09-10 21:28:55 +02:00
ini_file-preserve-symlink.yml ini_file: Don't creates new file instead of following symlink (#6546) 2023-05-29 18:56:06 +02:00
ini_file-use-inactive-options-when-possible.yml ini_file: try using inactive option before creating a new one (#6575) 2023-06-19 06:53:33 +02:00
lvol-pct-of-origin.yml lvol: Fix pct of origin (#7053) 2023-08-12 09:58:12 +02:00
update-v2-pagerduty-alert.yml feat: pagerduty_alert: Adds in use of v2 api provided (#7183) 2023-09-10 07:41:55 +02:00