community.general/lib/ansible/modules/windows
John Nelson 38346d0337 win_dns_record (#51925)
* win_dns: Initial work

* win_dns: initial commit

* Renaming win_dns -> win_dns_record

* win_dns_record: Fix record leakage in output

* win_dns_record: Fix erroneous minimums enforcement

It is apparently completely legitimate to specify a TTL that is below
minimum; it will just get ignored in favor of the server's minimum.

* win_dns_record: Fix new-host changes reported incorrectly

* win_dns_record: Fix TTL changes reported incorrectly

* win_dns_record: Fix existing records not recognized

* win_dns_record: Remove obsolete object

* Refactorize check mode

* Add computer_name parameter

* Refactorize diff and changed to read DNS end state

* Fix pslint tests PSUseDeclaredVarsMoreThanAssignments and PSAvoidUsingCmdletAliases

* Minor fix, misnamed variable.

* win_dns_record: Fix "changed" state in check mode

* win_dns_record: cleanups

* win_dns_record: fix TTL update not changed regression

* Add initial integration tests

* win_dns_record: integration tests

* win_dns_record: Reverted 9cf5f2d8e6507cf477ab9e7ca166b1857169d6b5

The approach from that commit breaks check mode.

* win_dns_record: de-scope some records

These are either esoteric (meaning limited realworld testing)
or require additional thought to do properly (eg MX, which
has its "priority" level).

* win_dns_records tests: Ensure DNS services are installed

* Update lib/ansible/modules/windows/win_dns_record.py

Co-Authored-By: johnboy2

* Update lib/ansible/modules/windows/win_dns_record.py

Co-Authored-By: johnboy2

* Aggregated suggestions from dagwieers

* Fix bad powershell test argument

* win_dns_record partially converted to new Powershell module interface

win_dns_record converted to new Powershell module interface, except diff 
and required_if

* win_dns_record: convert diff support

* win_dns_record: convert diff support to after-before style

* Don't test for Add-WindowsFeature

* win_dns_record: Fix diff

When check mode is used diff changes must be simulated.

* Style consistency/clean-ups

* Fix integration test typos

* Improve readability of diff output

The original intention of the diff output was to resemble zone file records
(except that the zone-name is added onto each record). In that light, the
missing *record class* information (always "IN" in our case) was an oversight.

This just makes the diff output more "instantly readable" for DNS gurus.

* win_dns_record: Add diff tests

* Fix ansible-test sanity check fails

* Apply suggestions from code review

Added suggestions from dagwieers

Co-Authored-By: johnboy2 <john@jnelson.ca>

* win_dns_record: Skip 2008 and friends

* Reword error messages so they start capitalized.

* Fix sanity error

* win_dns_record: Document ttl range

* win_dns_record: Additional supportability barriers in tests

* win_dns_record: Typo

* win_dns_record: Sanity fix

* win_dns_record: Use OS-test only for compat checking
2019-03-19 15:37:14 +10:00
..
__init__.py
_win_msi.py
async_status.ps1
setup.ps1 fix facts memtotal_mb rounding on VMWare and swaptotal_mb conversion from KB to MB (#49940) 2018-12-18 08:09:19 +10:00
slurp.ps1 win_slurp - fix glob like paths (#53831) 2019-03-15 14:59:01 +10:00
win_acl.ps1 win_acl - fix glob file paths (#53828) 2019-03-15 14:57:41 +10:00
win_acl.py Windows: Improve the file-related seealso references (#53099) 2019-03-06 13:40:02 -06:00
win_acl_inheritance.ps1 win_acl_inheritance - fix glob like paths (#53829) 2019-03-15 14:57:59 +10:00
win_acl_inheritance.py Windows: Improve the file-related seealso references (#53099) 2019-03-06 13:40:02 -06:00
win_audit_policy_system.ps1
win_audit_policy_system.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_audit_rule.ps1
win_audit_rule.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_certificate_store.ps1 win_certificate_store - fix glob like paths (#54007) 2019-03-19 11:49:25 +10:00
win_certificate_store.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_chocolatey.ps1 win_chocolatey - remove stray comment 2019-03-15 16:53:02 +10:00
win_chocolatey.py win_chocolatey - add ability to pin a package (#53157) 2019-03-05 14:18:42 +10:00
win_chocolatey_config.ps1
win_chocolatey_config.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_chocolatey_facts.ps1
win_chocolatey_facts.py Convert to reduced list of known types (#50010) 2018-12-19 07:25:30 +10:00
win_chocolatey_feature.ps1
win_chocolatey_feature.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_chocolatey_source.ps1 win_chocolatey_source - fix state=disabled with no source (#53097) 2019-03-05 14:18:00 +10:00
win_chocolatey_source.py win_chocolatey_source - fix state=disabled with no source (#53097) 2019-03-05 14:18:00 +10:00
win_command.ps1
win_command.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_copy.ps1 win_copy - fix glob like paths (#54006) 2019-03-19 11:22:17 +10:00
win_copy.py Add documentation for win_copy as become user needing temp dir set (#53211) 2019-03-03 11:59:43 +00:00
win_credential.ps1
win_credential.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_defrag.ps1
win_defrag.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_disk_facts.ps1
win_disk_facts.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_disk_image.ps1
win_disk_image.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_dns_client.ps1
win_dns_client.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_dns_record.ps1 win_dns_record (#51925) 2019-03-19 15:37:14 +10:00
win_dns_record.py win_dns_record (#51925) 2019-03-19 15:37:14 +10:00
win_domain.ps1 win_domain: fix issue when running without credential delegation (#53480) 2019-03-08 08:44:12 +10:00
win_domain.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_domain_computer.ps1
win_domain_computer.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_domain_controller.ps1
win_domain_controller.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_domain_group.ps1
win_domain_group.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_domain_group_membership.ps1 Win domain group membership module (#52556) 2019-03-15 10:43:08 +10:00
win_domain_group_membership.py Win domain group membership module (#52556) 2019-03-15 10:43:08 +10:00
win_domain_membership.ps1
win_domain_membership.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_domain_user.ps1
win_domain_user.py win_user_profile - new module (#50637) 2019-01-22 11:04:22 +10:00
win_dotnet_ngen.ps1
win_dotnet_ngen.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_dsc.ps1 win_dsc - Add argument validation and other fixes (#53093) 2019-03-06 06:49:37 +10:00
win_dsc.py win_dsc - Add argument validation and other fixes (#53093) 2019-03-06 06:49:37 +10:00
win_environment.ps1 Ansible.Basic - add required_by to module spec (#51407) 2019-02-15 13:00:25 +10:00
win_environment.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_eventlog.ps1
win_eventlog.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_eventlog_entry.ps1
win_eventlog_entry.py Windows: Add parameter types (#53325) 2019-03-06 13:22:58 -06:00
win_feature.ps1
win_feature.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_file.ps1 win_file - fix glob like paths (#54003) 2019-03-19 09:20:33 +10:00
win_file.py Windows: Improve the file-related seealso references (#53099) 2019-03-06 13:40:02 -06:00
win_file_version.ps1
win_file_version.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_find.ps1 win_find - fix glob like paths (#54005) 2019-03-19 10:30:11 +10:00
win_find.py win_find - fix glob like paths (#54005) 2019-03-19 10:30:11 +10:00
win_firewall.ps1
win_firewall.py update author (#52583) 2019-02-22 10:24:16 +00:00
win_firewall_rule.ps1 win_firewall_rule: Remove invalid 'bypass' action (#50207) 2018-12-21 12:05:28 +10:00
win_firewall_rule.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_get_url.ps1 win_get_url - fix glob like paths (#54008) 2019-03-19 12:01:35 +10:00
win_get_url.py Add arg and doc validation for PowerShell modules (#53615) 2019-03-12 07:56:51 +10:00
win_group.ps1
win_group.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_group_membership.ps1 Add "pure" state functionality for win_group_membership (#51298) 2019-01-31 11:48:49 +10:00
win_group_membership.py Add "pure" state functionality for win_group_membership (#51298) 2019-01-31 11:48:49 +10:00
win_hostname.ps1
win_hostname.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_hotfix.ps1
win_hotfix.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_iis_virtualdirectory.ps1
win_iis_virtualdirectory.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_iis_webapplication.ps1
win_iis_webapplication.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_iis_webapppool.ps1
win_iis_webapppool.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_iis_webbinding.ps1
win_iis_webbinding.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_iis_website.ps1
win_iis_website.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_lineinfile.ps1 Windows: Add backup parameter to modules (#50033) 2019-02-25 11:37:25 +10:00
win_lineinfile.py Windows: Add backup parameter to modules (#50033) 2019-02-25 11:37:25 +10:00
win_mapped_drive.ps1
win_mapped_drive.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_msg.ps1
win_msg.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_nssm.ps1 Fix win_nssm credentials quoting (#48761) 2018-12-05 10:38:28 +10:00
win_nssm.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_owner.ps1 win_owner - fix glob like paths (#53830) 2019-03-15 14:58:15 +10:00
win_owner.py Windows: Improve the file-related seealso references (#53099) 2019-03-06 13:40:02 -06:00
win_package.ps1 Added support for user-specified log file in win_package (#51104) 2019-02-13 19:08:07 +10:00
win_package.py Added support for user-specified log file in win_package (#51104) 2019-02-13 19:08:07 +10:00
win_pagefile.ps1
win_pagefile.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_partition.ps1 Update module to use Ansible.Basic (#51365) 2019-01-30 07:30:59 +10:00
win_partition.py Update module to use Ansible.Basic (#51365) 2019-01-30 07:30:59 +10:00
win_path.ps1
win_path.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_pester.ps1
win_pester.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_ping.ps1
win_ping.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_power_plan.ps1 win_power_plan - move to Ansible.Basic and other fixes (#51575) 2019-02-01 08:07:37 +10:00
win_power_plan.py win_power_plan: fix for Windows 10 and Server 2008 compatibility (#51471) 2019-02-01 06:32:12 +10:00
win_product_facts.ps1 Windows facts for licensing information (#50079) 2019-02-06 06:59:06 +10:00
win_product_facts.py win_product_facts: Fix RETURN information (#52058) 2019-02-13 19:09:30 +10:00
win_psexec.ps1 win_psexec - support paths with a space (#54009) 2019-03-19 12:51:30 +10:00
win_psexec.py win_psexec - deprecate the extra_opts module options (#53666) 2019-03-12 09:05:43 +10:00
win_psmodule.ps1 test: optimize win_psmodule tests (#53431) 2019-03-11 05:43:21 +10:00
win_psmodule.py test: optimize win_psmodule tests (#53431) 2019-03-11 05:43:21 +10:00
win_psrepository.ps1 Update the NuGet package provider when needed (#50759) 2019-02-12 12:22:22 -08:00
win_psrepository.py Add posibilities to run the integration tests for PowerShell < 5.0 (#50808) 2019-02-12 15:51:03 -05:00
win_rabbitmq_plugin.ps1
win_rabbitmq_plugin.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_rds_cap.ps1 Add modules to manage Remote Desktop Services (#43406) 2019-01-30 07:21:56 +10:00
win_rds_cap.py Windows: Add parameter types (#53325) 2019-03-06 13:22:58 -06:00
win_rds_rap.ps1 Add modules to manage Remote Desktop Services (#43406) 2019-01-30 07:21:56 +10:00
win_rds_rap.py Windows: Add parameter types (#53325) 2019-03-06 13:22:58 -06:00
win_rds_settings.ps1 Add modules to manage Remote Desktop Services (#43406) 2019-01-30 07:21:56 +10:00
win_rds_settings.py Windows: Add parameter types (#53325) 2019-03-06 13:22:58 -06:00
win_reboot.py win_reboot: fix stray entry in module docs 2019-03-13 10:47:17 +10:00
win_reg_stat.ps1 win reg - Support special chars in path (#53305) 2019-03-08 05:41:52 +10:00
win_reg_stat.py win reg - Support special chars in path (#53305) 2019-03-08 05:41:52 +10:00
win_regedit.ps1 win reg - Support special chars in path (#53305) 2019-03-08 05:41:52 +10:00
win_regedit.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_region.ps1
win_region.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_regmerge.ps1
win_regmerge.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_robocopy.ps1
win_robocopy.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_route.ps1 Fixed win_route module (#46395) 2018-12-05 22:39:06 -05:00
win_route.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_say.ps1
win_say.py Add arg and doc validation for PowerShell modules (#53615) 2019-03-12 07:56:51 +10:00
win_scheduled_task.ps1
win_scheduled_task.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_scheduled_task_stat.ps1
win_scheduled_task_stat.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_security_policy.ps1
win_security_policy.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_service.ps1
win_service.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_share.ps1
win_share.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_shell.ps1
win_shell.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_shortcut.ps1
win_shortcut.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_snmp.ps1
win_snmp.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_stat.ps1 win_stat - add follow option and fix broken tests (#51522) 2019-01-31 15:56:06 +10:00
win_stat.py Add arg and doc validation for PowerShell modules (#53615) 2019-03-12 07:56:51 +10:00
win_tempfile.ps1 win_tempfile - return absolute path on created temp file (#53827) 2019-03-15 14:57:27 +10:00
win_tempfile.py win_tempfile - return absolute path on created temp file (#53827) 2019-03-15 14:57:27 +10:00
win_template.py Windows: Add backup parameter to modules (#50033) 2019-02-25 11:37:25 +10:00
win_timezone.ps1
win_timezone.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_toast.ps1
win_toast.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_unzip.ps1
win_unzip.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_updates.ps1 Added support for defining the ServerSelection attribute of the update searcher session, which allows specifying non-default update server sources. (#51334) 2019-02-04 12:59:36 +10:00
win_updates.py Added support for defining the ServerSelection attribute of the update searcher session, which allows specifying non-default update server sources. (#51334) 2019-02-04 12:59:36 +10:00
win_uri.ps1 uri/win_uri: Make method a free text field (#49719) 2019-02-28 15:55:18 -05:00
win_uri.py Add arg and doc validation for PowerShell modules (#53615) 2019-03-12 07:56:51 +10:00
win_user.ps1
win_user.py win_user_profile - new module (#50637) 2019-01-22 11:04:22 +10:00
win_user_profile.ps1 win_user_profile - fix issue on Server 2019 (#51708) 2019-02-05 06:16:29 +10:00
win_user_profile.py win_user_profile - new module (#50637) 2019-01-22 11:04:22 +10:00
win_user_right.ps1
win_user_right.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_wait_for.ps1
win_wait_for.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_wait_for_process.ps1
win_wait_for_process.py Add arg and doc validation for PowerShell modules (#53615) 2019-03-12 07:56:51 +10:00
win_wakeonlan.ps1
win_wakeonlan.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_webpicmd.ps1
win_webpicmd.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_whoami.ps1
win_whoami.py Windows: Add missing parameter types and doc fixes (#50232) 2019-01-03 10:50:44 -06:00
win_xml.ps1 Windows: Add backup parameter to modules (#50033) 2019-02-25 11:37:25 +10:00
win_xml.py Windows: Add backup parameter to modules (#50033) 2019-02-25 11:37:25 +10:00