community.general/lib/ansible/modules/windows
Carson Anderson 31ceba7fd8 Windows module: win_optional_feature for Windows workstations (#53709)
* initial commit

* fix execute and \r\n

* \r attempt 2

* updated with integration tests and using new csharp import

* Apply suggestions from code review

Co-Authored-By: rcanderson23 <rcanderson23@gmail.com>

* fixed small docuement inaccuracies wrt returns

* removal of state in feature result

* removal of rc

* small fixes suggested in code review

* fixed variable assigning to result

* addition of comments on conditionals for clarity on matching

* swap logic of check_mode

* set $reboot_required so it is always returned

* removal of extraneous return information

* addition of integration tests

* set installation of parent features to true

* remove 2008 from tests

* changed test for TelnetClient from NetFx3

* change of tabs to spaces

* Add test check for OS version
2019-03-20 12:13:06 +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 - move over to AnsibleModule and add allow_multiple (#48370) 2018-11-14 16:18:34 +10:00
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: new module to manage credentials (#48840) 2018-11-22 06:55:48 +10:00
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: Rewrite using AnsibleModule (#48381) 2018-11-12 08:10:47 +10:00
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 - refactor module and docs (#48642) 2018-11-22 08:12:41 +10:00
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_optional_feature.ps1 Windows module: win_optional_feature for Windows workstations (#53709) 2019-03-20 12:13:06 +10:00
win_optional_feature.py Windows module: win_optional_feature for Windows workstations (#53709) 2019-03-20 12:13:06 +10: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 Added basic equivalent to PowerShell modules (#44705) 2018-11-07 10:53:17 +10:00
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 fixed tests after EAP set to Stop globally, ci_complete 2018-10-03 09:17:27 -07:00
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: Port to use CSharpUtil AnsibleBasic (#48361) 2018-11-19 07:07:12 +10:00
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_exec: refactor PS exec runner (#45334) 2018-10-02 15:55:53 -07:00
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 - add warning when using this module ot edit rights (#48850) 2018-11-20 09:21:28 +10:00
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 fixed tests after EAP set to Stop globally, ci_complete 2018-10-03 09:17:27 -07:00
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: add run as admin and fix shell folder idempotency (#48584) 2018-11-14 12:15:04 +10:00
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: Initial commit (#45710) 2018-11-22 06:55:10 +10:00
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 ps-lint: ignore rules that are not relevant to Ansible (#46376) 2018-10-04 05:55:02 +10:00
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: Rewrite using AnsibleModule (#48388) 2018-11-17 02:15:49 +01:00
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: Rewrite using AnsibleModule (#48380) 2018-11-12 07:06:55 +10:00
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