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
froebela baa721ac22
zfs.py: treated received properties as local and added diff mode support (#502)
* 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
2021-08-31 07:11:58 +02:00
..
cloud Initial commit (#3300) 2021-08-31 07:10:10 +02:00
clustering mass-added the utf-8 marker (#3163) 2021-08-08 10:40:22 +02:00
database mass-added the utf-8 marker (#3163) 2021-08-08 10:40:22 +02:00
files ini_file: add multiple options with same name to ini file (#3033) 2021-08-15 12:59:50 +02:00
identity Keycloak: add identity providers management (#3210) 2021-08-31 07:07:53 +02:00
monitoring mass-added the utf-8 marker (#3163) 2021-08-08 10:40:22 +02:00
net_tools add deprecation warning for python-dnsimple 1 (#3267) 2021-08-29 13:20:46 +02:00
notification slack - minor refactoring and pythonifying (#3205) 2021-08-16 12:24:15 +02:00
packaging snap - improved error handling (#3211) 2021-08-28 21:54:39 +02:00
remote_management mass-added the utf-8 marker (#3163) 2021-08-08 10:40:22 +02:00
source_control mass-added the utf-8 marker (#3163) 2021-08-08 10:40:22 +02:00
storage zfs.py: treated received properties as local and added diff mode support (#502) 2021-08-31 07:11:58 +02:00
system openwrt_init - improvements (#3284) 2021-08-28 21:50:09 +02:00
web_infrastructure Fix apache2_module a2enmod/a2dismod detection and error message if not found. (#3258) 2021-08-25 06:36:19 +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) 2021-07-29 22:30:20 +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
cpanm.py
cronvar.py
crypttab.py
datadog_downtime.py
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) 2021-05-11 19:31:46 +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
gconftool2.py
gem.py
git_config.py
github_deploy_key.py
github_issue.py
github_key.py
github_release.py
github_repo.py
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
gitlab_project_variable.py
gitlab_protected_branch.py Added module for creating protected branches (#2781) 2021-07-17 08:49:09 +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) 2021-05-27 18:46:12 +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
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 make collection usable with current ansible vers (#9) 2020-03-11 14:10:38 +00:00
jabber.py
java_cert.py
java_keystore.py
jboss.py
jenkins_build.py
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) 2021-06-24 13:35:00 +02:00
keycloak_client.py
keycloak_client_rolemapping.py Keycloak: add client_rolemapping management (#2941) 2021-07-30 20:03:57 +02:00
keycloak_clientscope.py Keycloak: add clientscope management (#2905) 2021-07-19 23:39:02 +02:00
keycloak_clienttemplate.py
keycloak_group.py
keycloak_identity_provider.py Keycloak: add identity providers management (#3210) 2021-08-31 07:07:53 +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) 2021-07-19 23:17:39 +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
nomad_job_info.py
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
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 make collection usable with current ansible vers (#9) 2020-03-11 14:10:38 +00:00
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) 2021-06-04 07:08:54 +02:00
pagerduty.py
pagerduty_alert.py
pagerduty_change.py
pagerduty_user.py
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
pritunl_user_info.py
profitbricks.py
profitbricks_datacenter.py
profitbricks_nic.py
profitbricks_volume.py
profitbricks_volume_attachments.py
proxmox.py
proxmox_domain_info.py
proxmox_group_info.py
proxmox_kvm.py
proxmox_nic.py Add proxmox_nic module (#2449) 2021-05-13 21:48:49 +02:00
proxmox_snap.py
proxmox_storage_info.py
proxmox_template.py
proxmox_user_info.py
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
rundeck_acl_policy.py
rundeck_project.py
runit.py
sap_task_list_execute.py SAP task list execution (#3169) 2021-08-09 22:52:44 +02:00
sapcar_extract.py Add module sapcar_extract to make SAP administration easier. (#2596) 2021-06-04 07:36:35 +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
stackdriver.py
stacki_host.py
statsd.py
statusio_maintenance.py
supervisorctl.py
svc.py
svr4pkg.py
swdepot.py
swupd.py
syslogger.py
syspatch.py
sysrc.py
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
xenserver_facts.py
xenserver_guest.py
xenserver_guest_info.py
xenserver_guest_powerstate.py
xfconf.py
xfconf_info.py xfconf_info - new module (#3045) 2021-07-24 22:30:46 +02:00
xfs_quota.py
xml.py
yarn.py
yum_versionlock.py
zfs.py
zfs_delegate_admin.py
zfs_facts.py
znode.py
zpool_facts.py
zypper.py
zypper_repository.py