1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-06-17 05:17:33 +00:00
community.general/changelogs/fragments
Alexei Znamensky 6c2301db33
zypper_repository: fix enabled/autorefresh/gpgcheck being overridden by .repo file content (#12022)
* fix(zypper_repository): stop .repo file content overriding user-specified enabled/autorefresh/gpgcheck

When repo= pointed to a .repo file, values parsed from that file were
overwriting the desired state set from module params, causing enabled: false
to have no effect.

Fixes #8783

* changelog: add fragment for PR 12022

* fix(zypper_repository): preserve .repo file settings when parameters are not explicitly provided

When enabled/autorefresh/disable_gpg_check are not provided by the user,
fall back to values from the .repo file before applying hard defaults,
so that existing tasks relying on the .repo file content are not broken.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-13 17:11:22 +02:00
..
.keep Rename changelogs/fragments/.empty -> changelogs/fragments/.keep 2020-08-07 08:17:57 +02:00
11588-nmcli-bond-arp-diff.yml nmcli: fix check/diff for bond arp_interval and arp_ip_target (#11588) (#12085) 2026-05-23 13:35:40 +02:00
11998-xenserver-disk-uuid-vdi-type.yml xenserver_guest_info: add VDI uuid and vdi_type to disk info (#12119) 2026-05-30 19:43:30 +02:00
12022-zypper-repository-fix-enabled.yml zypper_repository: fix enabled/autorefresh/gpgcheck being overridden by .repo file content (#12022) 2026-06-13 17:11:22 +02:00
12032-slack-files-support.yml slack: support file upload (#12032) 2026-05-30 13:37:04 +02:00
12067-counter-enabled-loop-output.yml counter_enabled callback: display output for looped tasks (#12067) 2026-06-13 17:01:50 +02:00
12087-keycloak-realm-max-secondary-auth-failures.yml keycloak_realm - add `max_secondary_auth_failures` parameter to configure brute force detection for secondary authentication mechanisms. (#12087) 2026-06-02 18:27:11 +02:00
12093-iptables_state.yml iptables_state: clean up code (#12093) 2026-05-25 14:58:55 +02:00
12094-namedtuple-to-dataclass.yml multiple: replace namedtuple with dataclass (#12094) 2026-05-25 15:50:34 +02:00
12097-snap-hold-revision.yml snap: enforce hold when installing at a specific revision (#12097) 2026-05-25 15:34:48 +02:00
12106-fix-lxc-create_script.yml lxc_container: Fix create_script in plugins/module_utils/_lxc.py (#12106) 2026-05-27 08:01:56 +02:00
12113-unixy-delegated-host.yml unixy callback: fix KeyError when task is delegated to host without ansible_host set (#12113) 2026-05-30 20:02:20 +02:00
12119-xenserver-vdi-type-fallback.yml xenserver_guest_info: use fallback chain for VDI format detection (#12215) 2026-06-12 23:07:13 +12:00
12120-consul-kv-empty-value.yml consul_kv: add empty_value option for null Consul values (#12120) 2026-05-31 20:48:48 +12:00
12121-parted-suse-msdos-type-code.yml parted: ignore MBR partition type codes in flags on SUSE systems (#12121) 2026-05-31 10:37:26 +12:00
12122-launchd-restarted-always-changed.yml launchd: fix restarted and reloaded always reporting changed=False (#12122) 2026-06-13 17:08:41 +02:00
12123-htpasswd-crypt-schemes.yml htpasswd: fix hash_scheme aliases and Apache-compatible bcrypt (#12123) 2026-05-31 22:01:51 +12:00
12124-redfish-setmanagernic-keyerror.yml redfish_config: fix KeyError: 'ret' when SetManagerNic cannot find a matching NIC (#12124) 2026-06-02 18:25:26 +02:00
12137-pamd-authselect.yml pamd: handle non-PAM lines in authselect profile files (#12137) 2026-05-31 09:44:49 +12:00
12140-filetree-exclude-regex-error.yml filetree lookup: handle invalid exclude regex with AnsibleError (#12140) 2026-06-04 06:19:10 +02:00
12148-xml-preserve-doctype.yml xml: preserve DOCTYPE declaration when writing XML files (#12148) 2026-06-13 17:10:25 +02:00
12149-udm-dns-record-ipv6-idempotency.yml udm_dns_record: fix idempotency with shortened IPv6 addresses (#12149) 2026-06-13 17:07:40 +02:00
12151-java-cert-pkcs12-password.yml java_cert: fix PKCS12 password not passed to keytool -list (#12151) 2026-06-13 17:06:45 +02:00
12158-incus-windows-ansible-core-221.yml Fix incus Windows modules with ansible-core 2.21 (#12163) 2026-06-02 21:04:02 +02:00
12182-opkg-path-prefix.yml opkg - path_prefix needs to be a list (#12182) 2026-06-05 06:37:23 +02:00
12185-aix-devices-chdev-fail.yml fix: treat chdev execution failures as module errors in aix_devices (#12185) 2026-06-05 13:02:06 +02:00
12218-filesystem-gfs2.yaml filesystem module gfs2 support (#12218) 2026-06-13 16:33:49 +02:00
composer-working-dir-and-config-sha256.yaml composer: config file hash to evaluate whether a change occurred (#12084) 2026-05-30 13:47:09 +02:00
portage-depclean-fail_json-msg.yml portage: include msg in depclean failure fail_json (#12168) 2026-06-02 18:25:44 +02:00
sudoers-defaults.yml sudoers: add defaults attribute to allow specifying scoped defaults (#12186) 2026-06-12 08:18:43 +02:00