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/plugins/modules
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
..
cloud Initial commit (#3300) (#3303) 2021-08-31 10:22:47 +02:00
clustering mass-added the utf-8 marker (#3163) (#3170) 2021-08-08 11:48:54 +02:00
database mass-added the utf-8 marker (#3163) (#3170) 2021-08-08 11:48:54 +02:00
files ini_file: add multiple options with same name to ini file (#3033) (#3207) 2021-08-15 13:23:30 +02:00
identity Keycloak: add identity providers management (#3210) (#3301) 2021-08-31 10:22:34 +02:00
monitoring mass-added the utf-8 marker (#3163) (#3170) 2021-08-08 11:48:54 +02:00
net_tools nmcli: Support gre tunnels (#3262) (#3272) 2021-08-26 08:32:37 +02:00
notification slack - minor refactoring and pythonifying (#3205) (#3214) 2021-08-16 12:33:17 +00:00
packaging snap - improved error handling (#3211) (#3288) 2021-08-28 22:43:49 +02:00
remote_management mass-added the utf-8 marker (#3163) (#3170) 2021-08-08 11:48:54 +02:00
source_control mass-added the utf-8 marker (#3163) (#3170) 2021-08-08 11:48:54 +02:00
storage zfs.py: treated received properties as local and added diff mode support (#502) (#3304) 2021-08-31 10:22:55 +02:00
system openwrt_init - improvements (#3284) (#3287) 2021-08-28 22:43:33 +02:00
web_infrastructure Fix apache2_module a2enmod/a2dismod detection and error message if not found. (#3258) (#3263) 2021-08-25 07:06:23 +02:00
aerospike_migrations.py
airbrake_deployment.py
aix_devices.py
aix_filesystem.py
aix_inittab.py
aix_lvg.py
aix_lvol.py
ali_instance.py
ali_instance_info.py
alternatives.py
ansible_galaxy_install.py ansible_galaxy_install - new module (#2933) (#3110) 2021-07-29 23:13:09 +02:00
apache2_mod_proxy.py
apache2_module.py
apk.py
apt_repo.py
apt_rpm.py
archive.py
atomic_container.py
atomic_host.py
atomic_image.py
awall.py
beadm.py
bearychat.py
bigpanda.py
bitbucket_access_key.py
bitbucket_pipeline_key_pair.py
bitbucket_pipeline_known_host.py
bitbucket_pipeline_variable.py
bower.py
bundler.py
bzr.py
campfire.py
capabilities.py
catapult.py
circonus_annotation.py
cisco_spark.py
cisco_webex.py
clc_aa_policy.py
clc_alert_policy.py
clc_blueprint_package.py
clc_firewall_policy.py
clc_group.py
clc_loadbalancer.py
clc_modify_server.py
clc_publicip.py
clc_server.py
clc_server_snapshot.py
cloud_init_data_facts.py
cloudflare_dns.py
cobbler_sync.py
cobbler_system.py
composer.py
consul.py
consul_acl.py
consul_kv.py
consul_session.py
copr.py New module: Add copr module (#1592) 2021-01-27 19:30:03 +01:00
cpanm.py
cronvar.py
crypttab.py
datadog_downtime.py Add downtime module (#1437) 2020-12-15 19:50:42 +01:00
datadog_event.py
datadog_monitor.py
dconf.py
deploy_helper.py
dimensiondata_network.py
dimensiondata_vlan.py
discord.py discord.py: Add new module for discord notifications (#2398) (#2493) 2021-05-11 20:05:59 +02:00
django_manage.py
dnsimple.py
dnsmadeeasy.py
dpkg_divert.py
easy_install.py
ejabberd_user.py
elasticsearch_plugin.py
emc_vnx_sg_member.py
etcd3.py
facter.py
filesize.py new module: filesize - create or resize a file, given its size (#2232) 2021-04-19 07:04:29 +02:00
filesystem.py
flatpak.py
flatpak_remote.py
flowdock.py
gandi_livedns.py Add gandi_livedns module (#328) 2021-03-21 11:25:24 +01:00
gconftool2.py
gem.py
git_config.py
github_deploy_key.py
github_issue.py
github_key.py
github_release.py
github_repo.py Added new module github_repo (#1683) 2021-03-06 13:30:43 +01:00
github_webhook.py
github_webhook_info.py
gitlab_deploy_key.py
gitlab_group.py
gitlab_group_members.py
gitlab_group_variable.py
gitlab_hook.py
gitlab_project.py
gitlab_project_members.py added gitlab_project_members (#1829) 2021-02-21 17:56:53 +01:00
gitlab_project_variable.py
gitlab_protected_branch.py Added module for creating protected branches (#2781) (#3024) 2021-07-17 10:46:42 +02:00
gitlab_runner.py
gitlab_user.py
grove.py
gunicorn.py
hana_query.py Add module hana_query to make SAP HANA administration easier. (#2623) (#2651) 2021-05-27 19:07:04 +02:00
haproxy.py
heroku_collaborator.py
hg.py
hipchat.py
homebrew.py
homebrew_cask.py
homebrew_tap.py
honeybadger_deployment.py
hpilo_boot.py
hpilo_info.py
hponcfg.py
htpasswd.py
hwc_ecs_instance.py
hwc_evs_disk.py
hwc_network_vpc.py
hwc_smn_topic.py
hwc_vpc_eip.py
hwc_vpc_peering_connect.py
hwc_vpc_port.py
hwc_vpc_private_ip.py
hwc_vpc_route.py
hwc_vpc_security_group.py
hwc_vpc_security_group_rule.py
hwc_vpc_subnet.py
ibm_sa_domain.py
ibm_sa_host.py
ibm_sa_host_ports.py
ibm_sa_pool.py
ibm_sa_vol.py
ibm_sa_vol_map.py
icinga2_feature.py
icinga2_host.py
idrac_redfish_command.py
idrac_redfish_config.py
idrac_redfish_info.py
imc_rest.py
imgadm.py
infinity.py
influxdb_database.py
influxdb_query.py
influxdb_retention_policy.py
influxdb_user.py
influxdb_write.py
ini_file.py
installp.py
interfaces_file.py
ip_netns.py
ipa_config.py
ipa_dnsrecord.py
ipa_dnszone.py
ipa_group.py
ipa_hbacrule.py
ipa_host.py
ipa_hostgroup.py
ipa_otpconfig.py Added modules ipa_otpconfig and ipa_otptoken (#2122) 2021-04-11 15:25:03 +02:00
ipa_otptoken.py Added modules ipa_otpconfig and ipa_otptoken (#2122) 2021-04-11 15:25:03 +02:00
ipa_pwpolicy.py Add ipa_pwpolicy module (#1147) 2021-01-06 19:17:07 +03:00
ipa_role.py
ipa_service.py
ipa_subca.py
ipa_sudocmd.py
ipa_sudocmdgroup.py
ipa_sudorule.py
ipa_user.py
ipa_vault.py
ipify_facts.py
ipinfoio_facts.py
ipmi_boot.py
ipmi_power.py
iptables_state.py
ipwcli_dns.py
irc.py
iso_create.py
iso_extract.py
jabber.py
java_cert.py
java_keystore.py
jboss.py
jenkins_build.py Jenkins build module (#745) 2021-03-04 07:46:37 +01:00
jenkins_job.py
jenkins_job_info.py
jenkins_plugin.py
jenkins_script.py
jira.py
kernel_blacklist.py
keycloak_authentication.py Keycloak: add authentication management (#2456) (#2864) 2021-06-24 19:14:46 +02:00
keycloak_client.py
keycloak_client_rolemapping.py Keycloak: add client_rolemapping management (#2941) (#3117) 2021-07-30 18:29:20 +00:00
keycloak_clientscope.py Keycloak: add clientscope management (#2905) (#3037) 2021-07-19 23:58:26 +02:00
keycloak_clienttemplate.py
keycloak_group.py
keycloak_identity_provider.py Keycloak: add identity providers management (#3210) (#3301) 2021-08-31 10:22:34 +02:00
keycloak_realm.py Keycloak: add realm management (#2155) 2021-04-21 12:42:28 +02:00
keycloak_role.py Add Keycloak roles module (#2930) (#3035) 2021-07-19 23:38:51 +02:00
kibana_plugin.py
launchd.py
layman.py
lbu.py
ldap_attrs.py
ldap_entry.py
ldap_passwd.py
ldap_search.py
librato_annotation.py
linode.py
linode_v4.py
listen_ports_facts.py
lldp.py
locale_gen.py
logentries.py
logentries_msg.py
logstash_plugin.py
lvg.py
lvol.py
lxc_container.py
lxca_cmms.py
lxca_nodes.py
lxd_container.py
lxd_profile.py
macports.py
mail.py
make.py
manageiq_alert_profiles.py
manageiq_alerts.py
manageiq_group.py
manageiq_policies.py
manageiq_provider.py
manageiq_tags.py
manageiq_tenant.py
manageiq_user.py
mas.py
matrix.py
mattermost.py
maven_artifact.py
memset_dns_reload.py
memset_memstore_info.py
memset_server_info.py
memset_zone.py
memset_zone_domain.py
memset_zone_record.py
mksysb.py
modprobe.py
monit.py
mqtt.py
mssql_db.py
nagios.py
netcup_dns.py
newrelic_deployment.py
nexmo.py
nginx_status_info.py
nictagadm.py
nios_a_record.py
nios_aaaa_record.py
nios_cname_record.py
nios_dns_view.py
nios_fixed_address.py
nios_host_record.py
nios_member.py
nios_mx_record.py
nios_naptr_record.py
nios_network.py
nios_network_view.py
nios_nsgroup.py
nios_ptr_record.py
nios_srv_record.py
nios_txt_record.py
nios_zone.py
nmcli.py
nomad_job.py new module nomad_job & nomad_job_info (#867) 2020-10-19 13:40:07 +02:00
nomad_job_info.py new module nomad_job & nomad_job_info (#867) 2020-10-19 13:40:07 +02:00
nosh.py
npm.py
nsupdate.py
oci_vcn.py
odbc.py
office_365_connector_card.py
ohai.py
omapi_host.py
one_host.py
one_image.py
one_image_info.py
one_service.py
one_template.py opennebula: add one_template module (#2046) 2021-03-26 07:24:24 +01:00
one_vm.py
oneandone_firewall_policy.py
oneandone_load_balancer.py
oneandone_monitoring_policy.py
oneandone_private_network.py
oneandone_public_ip.py
oneandone_server.py
onepassword_info.py
oneview_datacenter_info.py
oneview_enclosure_info.py
oneview_ethernet_network.py
oneview_ethernet_network_info.py
oneview_fc_network.py
oneview_fc_network_info.py
oneview_fcoe_network.py
oneview_fcoe_network_info.py
oneview_logical_interconnect_group.py
oneview_logical_interconnect_group_info.py
oneview_network_set.py
oneview_network_set_info.py
oneview_san_manager.py
oneview_san_manager_info.py
online_server_info.py
online_user_info.py
open_iscsi.py
openbsd_pkg.py
opendj_backendprop.py
openwrt_init.py
opkg.py
osx_defaults.py
ovh_ip_failover.py
ovh_ip_loadbalancing_backend.py
ovh_monthly_billing.py
pacemaker_cluster.py
packet_device.py
packet_ip_subnet.py
packet_project.py
packet_sshkey.py
packet_volume.py
packet_volume_attachment.py
pacman.py
pacman_key.py add module pacman_key (#778) (#2704) 2021-06-04 07:36:29 +02:00
pagerduty.py
pagerduty_alert.py
pagerduty_change.py Adds a module for sending PagerDuty change events. (#1269) 2020-11-13 11:44:57 +03:00
pagerduty_user.py a new module pagerduty_user (#1025) 2020-11-26 13:22:35 +01:00
pam_limits.py
pamd.py
parted.py
pear.py
pids.py
pingdom.py
pip_package_info.py
pkg5.py
pkg5_publisher.py
pkgin.py
pkgng.py
pkgutil.py
portage.py
portinstall.py
pritunl_org.py New module: Add Pritunl VPN organization module (net_tools/pritunl/) (#804) 2021-04-08 22:37:06 +02:00
pritunl_org_info.py New module: Add Pritunl VPN organization module (net_tools/pritunl/) (#804) 2021-04-08 22:37:06 +02:00
pritunl_user.py New module: Add Pritunl VPN user module (net_tools/pritunl/) (#803) 2021-03-21 11:30:16 +01:00
pritunl_user_info.py New module: Add Pritunl VPN user module (net_tools/pritunl/) (#803) 2021-03-21 11:30:16 +01:00
profitbricks.py
profitbricks_datacenter.py
profitbricks_nic.py
profitbricks_volume.py
profitbricks_volume_attachments.py
proxmox.py
proxmox_domain_info.py proxmox: create a common base (#1331) 2020-11-24 17:30:39 +01:00
proxmox_group_info.py proxmox: create a common base (#1331) 2020-11-24 17:30:39 +01:00
proxmox_kvm.py
proxmox_nic.py Add proxmox_nic module (#2449) (#2502) 2021-05-14 09:47:39 +02:00
proxmox_snap.py New module: proxmox_snap (#1135) 2020-12-21 14:37:30 +01:00
proxmox_storage_info.py New module proxmox_storage_info (#1844) 2021-02-22 17:59:27 +01:00
proxmox_template.py
proxmox_user_info.py proxmox: create a common base (#1331) 2020-11-24 17:30:39 +01:00
pubnub_blocks.py
pulp_repo.py
puppet.py
pushbullet.py
pushover.py
python_requirements_info.py
rax.py
rax_cbs.py
rax_cbs_attachments.py
rax_cdb.py
rax_cdb_database.py
rax_cdb_user.py
rax_clb.py
rax_clb_nodes.py
rax_clb_ssl.py
rax_dns.py
rax_dns_record.py
rax_facts.py
rax_files.py
rax_files_objects.py
rax_identity.py
rax_keypair.py
rax_meta.py
rax_mon_alarm.py
rax_mon_check.py
rax_mon_entity.py
rax_mon_notification.py
rax_mon_notification_plan.py
rax_network.py
rax_queue.py
rax_scaling_group.py
rax_scaling_policy.py
read_csv.py
redfish_command.py
redfish_config.py
redfish_info.py
redhat_subscription.py
redis.py
redis_info.py
rhevm.py
rhn_channel.py
rhn_register.py
rhsm_release.py
rhsm_repository.py
riak.py
rocketchat.py
rollbar_deployment.py
rpm_ostree_pkg.py rpm_ostree_pkg: new module (#357) 2021-01-11 09:47:22 +03:00
rundeck_acl_policy.py
rundeck_project.py
runit.py
sap_task_list_execute.py SAP task list execution (#3169) (#3187) 2021-08-09 23:12:35 +02:00
sapcar_extract.py Add module sapcar_extract to make SAP administration easier. (#2596) (#2705) 2021-06-04 07:55:41 +02:00
say.py
scaleway_compute.py
scaleway_database_backup.py
scaleway_image_info.py
scaleway_ip.py
scaleway_ip_info.py
scaleway_lb.py
scaleway_organization_info.py
scaleway_security_group.py
scaleway_security_group_info.py
scaleway_security_group_rule.py
scaleway_server_info.py
scaleway_snapshot_info.py
scaleway_sshkey.py
scaleway_user_data.py
scaleway_volume.py
scaleway_volume_info.py
sefcontext.py
selinux_permissive.py
selogin.py
sendgrid.py
sensu_check.py
sensu_client.py
sensu_handler.py
sensu_silence.py
sensu_subscription.py
seport.py
serverless.py
shutdown.py
sl_vm.py
slack.py
slackpkg.py
smartos_image_info.py
snap.py
snmp_facts.py
solaris_zone.py
sorcery.py
spectrum_device.py
spectrum_model_attrs.py spectrum_model_attrs: Initial commit (#1802) 2021-04-12 22:26:43 +02:00
spotinst_aws_elastigroup.py
ss_3par_cpg.py
ssh_config.py ssh_config: new module (#1640) 2021-01-28 07:26:48 +01:00
stackdriver.py
stacki_host.py
statsd.py StatsD Module (#1793) 2021-02-16 11:46:39 +01:00
statusio_maintenance.py
supervisorctl.py
svc.py
svr4pkg.py
swdepot.py
swupd.py
syslogger.py
syspatch.py
sysrc.py New sysrc module for managing rc files on FreeBSD (#1460) 2021-01-16 14:14:23 +01:00
sysupgrade.py
taiga_issue.py
telegram.py
terraform.py
timezone.py
twilio.py
typetalk.py
udm_dns_record.py
udm_dns_zone.py
udm_group.py
udm_share.py
udm_user.py
ufw.py
uptimerobot.py
urpmi.py
utm_aaa_group.py
utm_aaa_group_info.py
utm_ca_host_key_cert.py
utm_ca_host_key_cert_info.py
utm_dns_host.py
utm_network_interface_address.py
utm_network_interface_address_info.py
utm_proxy_auth_profile.py
utm_proxy_exception.py
utm_proxy_frontend.py
utm_proxy_frontend_info.py
utm_proxy_location.py
utm_proxy_location_info.py
vdo.py
vertica_configuration.py
vertica_info.py
vertica_role.py
vertica_schema.py
vertica_user.py
vexata_eg.py
vexata_volume.py
vmadm.py
wakeonlan.py
webfaction_app.py
webfaction_db.py
webfaction_domain.py
webfaction_mailbox.py
webfaction_site.py
xattr.py
xbps.py
xcc_redfish_command.py add new module xcc_redfish_command to manage Lenovo servers using Redfish APIs (#2007) 2021-03-24 15:07:17 +01:00
xenserver_facts.py
xenserver_guest.py
xenserver_guest_info.py
xenserver_guest_powerstate.py
xfconf.py
xfconf_info.py xfconf_info - new module (#3045) (#3063) 2021-07-24 22:40:48 +02:00
xfs_quota.py
xml.py
yarn.py
yum_versionlock.py yum_versionlock: new module (#1405) 2020-12-03 20:00:49 +01:00
zfs.py
zfs_delegate_admin.py
zfs_facts.py
znode.py
zpool_facts.py
zypper.py
zypper_repository.py