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] 277329a6fe
zfs.py: treated received properties as local and added diff mode support (#502) (#3304)
* zfs.py: treated received properties as local and added diff mode support

If you use "zfs set" to explicitly set ZFS properties, they are marked as from source "local". If ZFS properties are implicitly set by using "zfs send" and "zfs receive", for example as part of a template based installation, they are marked as from source "received". But as there is no technical difference between both types of them, the “received” ZFS properties should also be considered “local”. Otherwise Ansible would detect changes, which aren’t actual changes. Therefore I changed line 202/207 to reflect this.

For us it’s quite important, that Ansible modules support the diff mode in order to qualify changes. Therefore I added some code lines to address this.

* added changelog fragment for PR #502

* fixed typos in changelog fragment for PR #502

* minor changes in changelog fragment for PR #502

* added link to pull request in changelog fragment for PR #502

* extended the diff data structure to always include the name of the zfs filesystem

* added code to also maintain the diff data structure after a change

* reverted back some code lines for better code readability

* added an extra dict in the diff data structure to hold the zfs properties

(cherry picked from commit baa721ac22)

Co-authored-by: froebela <32922546+froebela@users.noreply.github.com>
2021-08-31 10:22:55 +02:00
..
.keep Rename changelogs/fragments/.empty -> changelogs/fragments/.keep 2020-08-07 08:17:57 +02:00
3.6.0.yml Prepare 3.6.0 release. 2021-08-29 13:39:30 +02:00
273-add_multiple_options_with_same_name_to_ini_file.yml ini_file: add multiple options with same name to ini file (#3033) (#3207) 2021-08-15 13:23:30 +02:00
502-zfs_bugfix_and_diff_mode_support.yaml zfs.py: treated received properties as local and added diff mode support (#502) (#3304) 2021-08-31 10:22:55 +02:00
3141-disallow-options-unsupported-by-nmcli.yml nmcli: Disallow Wi-Fi options not supported by nmcli (#3141) (#3249) 2021-08-20 22:04:38 +02:00
3164-zypper-support-transactional-updates.yaml zypper: support transactional-updates (#3164) (#3193) 2021-08-12 08:29:22 +02:00
3191-vdo-refactor.yml vdo - refactor (#3191) (#3213) 2021-08-16 12:33:09 +00:00
3194-sanity.yml [PR #3194/1fec1d0c backport][stable-3] Fix sanity failures (#3195) 2021-08-12 13:46:55 +02:00
3199-tss-lookup-plugin-bugfix-for-backwards-compatibility.yml tss: added fix for bug report in issue #3192 (#3199) (#3235) 2021-08-18 09:45:30 +02:00
3203-linode-inventory-return-full-api-ip-data.yml Linode Inventory can use full IP data from APIv4 (#3203) (#3278) 2021-08-27 06:38:22 +02:00
3205-slack-minor-refactor.yaml slack - minor refactoring and pythonifying (#3205) (#3214) 2021-08-16 12:33:17 +00:00
3206-mh-classmethod.yaml module_helper - implemented classmethod to start the module (#3206) (#3225) 2021-08-17 11:29:11 +02:00
3211-snap-error-handling.yml snap - improved error handling (#3211) (#3288) 2021-08-28 22:43:49 +02:00
3228-tss-domain-authorization.yml Add option for domain authorization (#3228) (#3246) 2021-08-20 16:55:48 +02:00
3231-fix-keycloak-realm-events.yml Fix keycloak_realm module (#3231) (#3277) 2021-08-27 06:32:49 +02:00
3233-include-thermal-sensor-status-via-redfish_info.yaml redfish_info: Include Status property for GetChassisThermals (#3233) (#3240) 2021-08-20 13:37:44 +02:00
3239-nmcli-sit-ipip-config-bugfix.yaml nmcli: allow IPv4/IPv6 configuration on ipip and sit devices (#3239) (#3255) 2021-08-23 18:38:23 +02:00
3247-retry_servfail-for-dig.yaml Add option for retry_servfail (#3247) (#3251) 2021-08-22 11:58:37 +02:00
3250-parse-scw-config.yml parse scw-cli config file for oauth_token (#3250) (#3276) 2021-08-27 06:32:38 +02:00
3252-tss_lookup_plugin-refactor.yml tss_lookup_plugin - Refactor and decoupling (#3252) (#3264) 2021-08-25 07:05:33 +02:00
3256-fix-ptr-handling-in-udm_dns_record.yml udm_dns_record: Fix handling of PTR records (#3244) (#3256) (#3298) 2021-08-30 19:04:49 +02:00
3258-apache2_module.yml Fix apache2_module a2enmod/a2dismod detection and error message if not found. (#3258) (#3263) 2021-08-25 07:06:23 +02:00
3262-nmcli-add-gre-tunnel-support.yaml nmcli: Support gre tunnels (#3262) (#3272) 2021-08-26 08:32:37 +02:00
3266-vmid-existing-target-clone.yml Fixed incorrect VMID: cloning to an existing VM (#3266) (#3282) 2021-08-27 19:09:37 +02:00
3284-openwrt_init-improvements.yaml openwrt_init - improvements (#3284) (#3287) 2021-08-28 22:43:33 +02:00
3290-mh-cmd-boolean-not.yaml mh CmdMixin - added ArgFormat.BOOLEAN_NOT and logic (#3290) (#3294) 2021-08-29 13:20:01 +02:00