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/lib/ansible/modules/windows
nwsparks 5cccad8ed4 new windows module, win_audit_rule (#30473)
* added win_audit_rule with integration test

* Updated integration testing to target files as well as directories
and registry keys. Split testing files apart to be more organized.

Updated powershell for better handling when targetting file objects
and optimized a bit. Removed duplicated sections that got there from a
previous merge I think.

* Decided to make all the fact names the same in integration testing.
Seemed like there would be less change of accidentally using the wrong
variable when copy/pasting that way, and not much upside to having
unique names.

Did final cleanup and fixed a few errors in the integration testing.

* Fixed a bug where results was displaying a wrong value

Fixed a bug where removal was failing if multiple rules existed due to
inheritance from higher level objects.

* Resolved issue with unhandled error when used didn't have permissions
for get-acl.

Changed from setauditrule to addauditrule, see comment in script for reasoning.

Fixed state absent to be able to remove multiple entries if they exist.

* fixed docs issue

* updated to fail if invalid inheritance_rule when defining a file rather than warn
2017-10-20 11:20:33 +10:00
..
__init__.py package files 2016-12-08 11:22:22 -05:00
_win_msi.ps1 win_msi: deprecated in favour of win_package (#28741) 2017-08-28 19:53:28 -04:00
_win_msi.py updated deprecated version based on changelog (#28810) 2017-08-29 23:29:22 -04:00
async_status.ps1 Windows async module support (#4710) 2016-12-08 11:25:02 -05:00
async_wrapper.ps1 refactoring async 2017-02-06 19:32:00 -05:00
setup.ps1 windows facts: better way to get machine SID (#29821) 2017-09-12 13:00:28 -07:00
slurp.ps1 win_slurp: Small cleanup (#21363) 2017-02-23 22:38:17 -08:00
win_acl.ps1 Fix SID Lookup Issues on Assorted Windows Modules (#28979) 2017-09-11 07:34:51 +10:00
win_acl.py Fix SID Lookup Issues on Assorted Windows Modules (#28979) 2017-09-11 07:34:51 +10:00
win_acl_inheritance.ps1 win_acl_inheritance: Added tests and formatting improvements (#25382) 2017-06-19 17:47:35 +01:00
win_acl_inheritance.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
win_audit_rule.ps1 new windows module, win_audit_rule (#30473) 2017-10-20 11:20:33 +10:00
win_audit_rule.py new windows module, win_audit_rule (#30473) 2017-10-20 11:20:33 +10:00
win_chocolatey.ps1 win_chocolatey: fixes for proxy support (#28809) 2017-08-29 23:26:13 -04:00
win_chocolatey.py win_chocolately document improvedments, mention win_hotfix and use of become (#31085) 2017-09-29 05:47:38 -04:00
win_command.ps1 windows command changed to use CreateProcess (#30253) 2017-09-13 09:58:49 -07:00
win_command.py windows/win_command: improve examples (#20465) 2017-08-24 11:14:05 -04:00
win_copy.ps1 win_copy: Add missing check_mode fix (#31469) 2017-10-09 20:37:33 +02:00
win_copy.py win_copy: added decrypt option (#31291) 2017-10-10 08:21:25 +10:00
win_defrag.ps1 win_defrag: New module to defragment local volumes (#23140) 2017-06-07 10:52:28 -07:00
win_defrag.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
win_disk_image.ps1 initial commit of win_disk_image (#22175) 2017-03-01 16:31:01 -08:00
win_disk_image.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
win_dns_client.ps1 win_dns_client failing on 2008R2 SP1 (Fixes #25216) (#28172) 2017-08-17 07:11:02 +10:00
win_dns_client.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
win_domain.ps1 changed parameter name from forest_root_dns_domain to dns_domain_name (to match documentation and other win_domain* modules) and fix example which has win_domain_controller instead of win_domain for module name. (#23081) 2017-03-29 11:34:45 -07:00
win_domain.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
win_domain_controller.ps1 initial commit of win_domain_controller (#22115) 2017-02-28 19:04:52 -08:00
win_domain_controller.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
win_domain_group.ps1 win_domain_group: new module (#26682) 2017-07-20 17:08:08 -07:00
win_domain_group.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
win_domain_membership.ps1 win_domain_membership: added better error handling and basic tests (#30674) 2017-09-22 05:59:42 +10:00
win_domain_membership.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
win_domain_user.ps1 New module: Add module or managing Windows Active Directory users (windows/win_domain_user) (#24075) 2017-08-11 10:23:09 +10:00
win_domain_user.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
win_dotnet_ngen.ps1 win_dotnet_ngen: fix after broken in 2.4 (#31076) 2017-10-03 07:34:00 +11:00
win_dotnet_ngen.py win_dotnet_ngen: fix after broken in 2.4 (#31076) 2017-10-03 07:34:00 +11:00
win_dsc.ps1 Adding more explicit module syntax (#26722) 2017-07-12 19:50:29 -04:00
win_dsc.py win_dsc: link module documentation to main RST page (#31814) 2017-10-17 09:43:38 +10:00
win_environment.ps1 win_environment: Make this the Windows reference module 2017-09-21 03:20:17 +02:00
win_environment.py win_environment: Make this the Windows reference module 2017-09-21 03:20:17 +02:00
win_eventlog.ps1 New Module: Manage Windows event logs (win_eventlog) (#27827) 2017-08-15 01:13:52 -04:00
win_eventlog.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
win_eventlog_entry.ps1 New Module: Write Windows event log entries (win_eventlog_entry) (#27828) 2017-08-15 01:13:14 -04:00
win_eventlog_entry.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
win_feature.ps1 Deprecated restart option in win_feature, added return docs 2017-05-03 17:06:02 -07:00
win_feature.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
win_file.ps1 win_file: Fix check-mode issue removing dirs (#30475) 2017-09-19 06:43:49 +10:00
win_file.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
win_file_version.ps1 spelling fixes (non-trivial, changing messages) (#25094) 2017-06-01 10:45:19 +01:00
win_file_version.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
win_find.ps1 win_find: fix for empty nested directories (#26164) 2017-06-29 07:06:10 +10:00
win_find.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
win_firewall.ps1 win_firewall: check-mode support, integration tests (#25127) 2017-06-13 17:32:22 +01:00
win_firewall.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
win_firewall_rule.ps1 minor updates + tests to win_firewall_rule as per jborean93 review (#29148) 2017-10-10 16:23:08 +10:00
win_firewall_rule.py minor updates + tests to win_firewall_rule as per jborean93 review (#29148) 2017-10-10 16:23:08 +10:00
win_get_url.ps1 win_get_url: ExtendedWebClient with Timeout support (#28755) 2017-08-29 18:52:39 -04:00
win_get_url.py win_get_url: ExtendedWebClient with Timeout support (#28755) 2017-08-29 18:52:39 -04:00
win_group.ps1 win_group: Clean up and check-mode support (#21384) 2017-02-23 23:34:33 -08:00
win_group.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
win_group_membership.ps1 Rename win_group_member module to win_group_membership (#27614) 2017-08-02 12:06:39 +10:00
win_group_membership.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
win_hotfix.ps1 win_hotfix: new module to install Windows hotfixes (#27260) 2017-08-11 07:57:07 +10:00
win_hotfix.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
win_iis_virtualdirectory.ps1 Relocating extras into lib/ansible/modules/ after merge 2016-12-08 11:35:18 -05:00
win_iis_virtualdirectory.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
win_iis_webapplication.ps1 Fix a typo in win_iis_webapplication.ps1 (#27417) 2017-07-28 17:24:08 +01:00
win_iis_webapplication.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
win_iis_webapppool.ps1 fix for webapppool when specifying an attribute that holds a collection (#30729) 2017-09-28 16:15:55 +10:00
win_iis_webapppool.py fix for webapppool when specifying an attribute that holds a collection (#30729) 2017-09-28 16:15:55 +10:00
win_iis_webbinding.ps1 minor spelling changes 2016-12-13 13:51:13 -05:00
win_iis_webbinding.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
win_iis_website.ps1 minor spelling changes 2016-12-13 13:51:13 -05:00
win_iis_website.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
win_lineinfile.ps1 windows: Two simple errors using Add-Warning (#25955) 2017-06-27 09:40:16 +10:00
win_lineinfile.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
win_mapped_drive.ps1 win_mapped_drive: new module (#27020) 2017-08-11 07:54:18 +10:00
win_mapped_drive.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
win_msg.ps1 win_msg: added doc about msg limit and included an explicit check for better error handling (#31078) 2017-10-03 07:32:30 +11:00
win_msg.py win_msg: added doc about msg limit and included an explicit check for better error handling (#31078) 2017-10-03 07:32:30 +11:00
win_nssm.ps1 Check Windows service status before nssm STOP (#28379) 2017-08-24 08:40:48 -04:00
win_nssm.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
win_owner.ps1 Fix SID Lookup Issues on Assorted Windows Modules (#28979) 2017-09-11 07:34:51 +10:00
win_owner.py Fix SID Lookup Issues on Assorted Windows Modules (#28979) 2017-09-11 07:34:51 +10:00
win_package.ps1 win_package: rewrite, check mode, tests, more check options (#27470) 2017-08-28 19:03:10 -04:00
win_package.py win_package: rewrite, check mode, tests, more check options (#27470) 2017-08-28 19:03:10 -04:00
win_pagefile.ps1 Adds win_pagefile module (#25605) 2017-08-29 17:23:13 -04:00
win_pagefile.py Fix metadata version. 2017-08-29 15:31:34 -07:00
win_path.ps1 new module: win_path (#20073) 2017-01-17 20:21:04 -08:00
win_path.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
win_ping.ps1 win_ping: Make full-functional 2017-01-27 13:23:01 -08:00
win_ping.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
win_power_plan.ps1 Fix OS version check in win_power_plan (#30538) 2017-09-22 06:23:02 +10:00
win_power_plan.py added windows module win_power_plan with integration test (#27966) 2017-08-29 16:22:06 -04:00
win_psexec.ps1 win_psexec: Change default for -nobanner (#24739) 2017-05-18 08:25:38 +01:00
win_psexec.py Fix booleans in win_psexec documentation 2017-08-21 19:58:17 +02:00
win_psmodule.ps1 New module: Add module to install/remove/register/unregiser windows powershell modules (windows/win_psmodule) (#23604) 2017-06-26 23:01:38 +02:00
win_psmodule.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
win_rabbitmq_plugin.ps1 [28017] Integration tests for win_rabbitmq_plugin (#28118) 2017-08-28 18:48:10 -04:00
win_rabbitmq_plugin.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
win_reboot.py win_reboot: Use more conforming parameter names (#26466) 2017-08-29 19:08:12 -07:00
win_reg_stat.ps1 win_reg_stat change the module parameters for standardisation (#22732) 2017-03-23 15:15:28 -07:00
win_reg_stat.py win_reg_stat actually sets properties to be a dictionary, not a list (#31252) 2017-10-04 07:19:32 +11:00
win_regedit.ps1 win_regedit: added function to load a dat file for editing (#31289) 2017-10-18 06:30:33 +10:00
win_regedit.py win_regedit: added function to load a dat file for editing (#31289) 2017-10-18 06:30:33 +10:00
win_region.ps1 win_region: Small changes to Add-AnsibleParam and docs (#22310) 2017-03-08 15:58:14 +00:00
win_region.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
win_regmerge.ps1 win_regmerge: Clean up parameter handling (#21388) 2017-02-16 12:41:59 +00:00
win_regmerge.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
win_robocopy.ps1 win_robocopy: Check-mode support, improved return code and docs (#25410) 2017-08-24 09:35:53 -04:00
win_robocopy.py win_robocopy: Check-mode support, improved return code and docs (#25410) 2017-08-24 09:35:53 -04:00
win_route.ps1 New module: Add module to add/remove a network static route on windows (windows/win_route) (#23405) 2017-06-07 10:25:50 -07:00
win_route.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
win_say.ps1 win_say: Fix issue, add integration tests (#26089) 2017-06-29 06:28:44 +10:00
win_say.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
win_scheduled_task.ps1 win_scheduled_task_stat: add new module to get stat on scheduled tasks (#30602) 2017-09-22 05:59:06 +10:00
win_scheduled_task.py win_scheduled_task_stat: add new module to get stat on scheduled tasks (#30602) 2017-09-22 05:59:06 +10:00
win_scheduled_task_stat.ps1 win_scheduled_task_stat: add new module to get stat on scheduled tasks (#30602) 2017-09-22 05:59:06 +10:00
win_scheduled_task_stat.py win_scheduled_task_stat: add new module to get stat on scheduled tasks (#30602) 2017-09-22 05:59:06 +10:00
win_security_policy.ps1 win_secedit: Added module with tests/diff mode (#26332) 2017-07-14 11:00:29 -07:00
win_security_policy.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
win_service.ps1 win_service: added support for paused services (#27216) 2017-08-01 18:48:14 +10:00
win_service.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
win_share.ps1 Fix SID Lookup Issues on Assorted Windows Modules (#28979) 2017-09-11 07:34:51 +10:00
win_share.py Fix SID Lookup Issues on Assorted Windows Modules (#28979) 2017-09-11 07:34:51 +10:00
win_shell.ps1 windows command changed to use CreateProcess (#30253) 2017-09-13 09:58:49 -07:00
win_shell.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
win_shortcut.ps1 win_shortcut: Add hotkeys examples to documentation (#30694) 2017-09-22 05:37:15 +10:00
win_shortcut.py win_shortcut: Add hotkeys examples to documentation (#30694) 2017-09-22 05:37:15 +10:00
win_stat.ps1 win_stat: add explicit error message when file is in use (#27826) 2017-08-07 12:04:42 +10:00
win_stat.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
win_tempfile.ps1 win_tempfile: New module implementing tempfile on Windows (#21623) 2017-02-20 11:48:55 +00:00
win_tempfile.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
win_template.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
win_timezone.ps1 win_timezone: Add diff support, integration tests (#25284) 2017-06-14 17:34:46 +01:00
win_timezone.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
win_toast.ps1 Add option names to Fail-Json and Exit-Json 2017-08-30 01:25:21 +02:00
win_toast.py Windows: A module for creating Toast notifications on Modern Windows versions. (#26675) 2017-08-29 19:19:18 -04:00
win_unzip.ps1 win_unzip: added support for Server core by using .net zip functions (#29272) 2017-09-11 18:30:24 -04:00
win_unzip.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
win_updates.ps1 win_update: added extra job parameters to run even if on battery (#28212) 2017-08-16 14:15:20 -07:00
win_updates.py win_update: added extra job parameters to run even if on battery (#28212) 2017-08-16 14:15:20 -07:00
win_uri.ps1 win_environment: Make this the Windows reference module 2017-09-21 03:20:17 +02:00
win_uri.py win_environment: Make this the Windows reference module 2017-09-21 03:20:17 +02:00
win_user.ps1 Fix win_user warning message (#24263) 2017-05-04 12:53:19 -07:00
win_user.py win_user: add return info (#28975) 2017-09-07 16:13:51 +10:00
win_user_right.ps1 win_user_right: add module with tests (#26276) 2017-08-11 07:52:07 +10:00
win_user_right.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
win_wait_for.ps1 win_wait_for: added module (#26556) 2017-08-22 15:02:07 -04:00
win_wait_for.py win_wait_for: added module (#26556) 2017-08-22 15:02:07 -04:00
win_wakeonlan.ps1 win_wakeonlan: New module to send Wake-On-Lan packets (#26232) 2017-07-10 07:15:22 +10:00
win_wakeonlan.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
win_webpicmd.ps1 Windows: Get rid of Set-Attr in remaining modules (#23525) 2017-04-13 11:34:33 -07:00
win_webpicmd.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00