Commit graph

301 commits

Author SHA1 Message Date
Andrea Scarpino
38cb5c6130 The enable parameter is a boolean, then convert to a boolean. (#1607)
At the moment, this only works when 'enable' is equals to 'yes' or 'no'.

While I'm on it, I also fixed a typo in the example and added a required
parameter.
2016-04-12 14:07:32 +02:00
nitzmahone
5abb914315 win_updates fix to use documented InstanceGuid property name 2016-04-07 17:38:38 -07:00
nitzmahone
93db039783 win_updates shouldn't install hidden updates 2016-04-07 17:38:37 -07:00
Matt Davis
7ce47aff79 Merge pull request #1117 from h0nIg/devel_win_owner
win_owner to change owner
2016-03-31 15:45:34 -07:00
Matt Davis
185bf0abb9 Merge pull request #1830 from wtcross/win-scheduled-task-support-note
Add note server 2012 note to win_scheduled_task.
2016-03-25 07:17:40 +00:00
René Moser
22074de5c0 Merge pull request #1648 from ilpianista/win_unzip-use-absolute-path
win_unzip: Use absolute path for src and dest
2016-03-21 18:49:54 +01:00
Brian Coca
a9dbea4b17 Merge pull request #1881 from jhawkesworth/doc_update_win_regmerge
Adds return documentation to win_regmerge module
2016-03-21 10:09:55 -07:00
Hans-Joachim Kliemeck
1c097f9495 suggestion by @nitzmahone, to not use Get-Attr in combination with ConvertTo-Bool 2016-03-21 17:49:51 +01:00
=
90d7a023a0 Added return documentation to win_regmerge module 2016-03-21 08:25:41 +00:00
Andrea Scarpino
7f38638575 win_unzip: Use absolute path for src and dest
win_unzip fails to extract files when either src or dest contains
complex paths such as "..\..\" or "C:\\Program Files" (double slashes).
Fix this by fetching absolute path of both before invoking CopyHere
method.
2016-03-20 12:29:26 +01:00
René Moser
8aa063de91 Merge pull request #1786 from ilpianista/win_firewall_rule-fix-syntax
Fix issue #1406 about win_firewall_rule
2016-03-19 16:57:03 +01:00
René Moser
791cf2b7bb Merge pull request #1649 from ilpianista/win_unzip-overwrite-files
win_unzip: overwrite any existing file
2016-03-19 16:24:23 +01:00
René Moser
218f11f7c4 Merge pull request #1872 from nonshankus/win_updates_comment
Fixing win_updates example for listing available updates.
2016-03-19 01:15:52 +01:00
nonshankus
9f9615f62a Fixing win_updates example for listing available updates. 2016-03-18 19:07:54 +01:00
René Moser
5aa5d6c045 Merge pull request #1828 from liquidat/doc-win_firewall-fix
correct win_firewall state parameter
2016-03-16 18:54:04 +01:00
Toshio Kuratomi
f9b96b9a8a Fix module docs 2016-03-15 17:44:59 -07:00
nitzmahone
34557ee6ec fix version_added issues in win_iis_website 2016-03-11 14:37:46 -08:00
nitzmahone
44effbca58 added doc note to win_iis_website site_id arg 2016-03-11 10:06:30 -08:00
Matt Davis
a812cfbd2f Merge pull request #1183 from blakfeld/add_id_to_win_iis_website
Adding Site_ID param
2016-03-11 18:04:27 +00:00
Corwin Brown
41a719ce71 Updated Documentation to include site_id param 2016-03-11 07:32:35 -06:00
Matt Davis
802432c21c Merge pull request #1213 from h0nIg/devel_win_share
win_share: add module to manage smb shares
2016-03-10 23:05:07 +00:00
Matt Davis
445daf372d Merge pull request #1116 from marcind/devel
Fix IIS module null refs when removing objects on a server running PowerShell 4
2016-03-10 22:37:36 +00:00
nitzmahone
c8137a47e2 fix default arg handling and error messages in win_file_version 2016-03-10 13:16:07 -08:00
nitzmahone
6456484eb3 fix missing bracket in win_file_version 2016-03-10 13:02:33 -08:00
Matt Davis
f925def154 Merge pull request #1231 from SamLiu79/devel
new module win_file_version
2016-03-10 20:58:17 +00:00
Tyler Cross
19034bae62 Add note server 2012 note to win_scheduled_task.
This change adds a note to the win_scheduled_task module
docs that indicates Windows Server 2012 or later is required.
This is because the module relies on the Get-ScheduledTask
cmdlet, which is a part of the Server 2012 OS. Previous
versions, like Server 2008, simply can't work with this
module.
2016-03-10 13:41:04 -05:00
liquidat
e8916a6491 correct win_firewall state parameter
- original parameter comment was probably copy&paste error
- new comment highlights that firewall rules can be
  added or removed altering this parameter
2016-03-10 14:56:36 +01:00
Sam Liu
7d4e2698b0 fix some error for passing CI build. 2016-03-08 15:24:02 +08:00
Sam Liu
548645e031 Fixed: exception swallowing 2016-03-08 14:14:25 +08:00
Matt Davis
316fdfa26d Merge pull request #1091 from blakfeld/add_win_uri
Add win_uri Module
2016-03-02 19:25:09 +00:00
Corwin Brown
1c36ff10a0 Converting result to snake_case before returning 2016-03-02 09:54:31 -06:00
Matt Martz
7df0aff7dd DOCUMENTATION fixes for a few modules 2016-03-01 14:22:08 -06:00
Matt Martz
7547b1db8a Fix version_added for recently added modules 2016-03-01 11:12:30 -06:00
Matt Davis
14530ef5ef Merge pull request #1636 from jhawkesworth/win_regedit_extra_drives
Windows: win_regedit; Add extra Powershell Drives so you can access other parts of the registry
2016-03-01 01:57:15 +00:00
Matt Davis
5fd735909f Merge pull request #635 from schwartzmx/module/win_timezone
Module: win_timezone
2016-03-01 01:10:42 +00:00
Matt Davis
6b607551ba Merge pull request #1166 from jhawkesworth/2nd_go_at_win_regmerge
New module: win_regmerge for handling multiple changes to windows registry
2016-03-01 00:42:03 +00:00
Andrea Scarpino
a1f53f3a43 Fix issue #1406 about win_firewall_rule
I changed the logic here to always use 'netsh ... show rule' keywords as keys for $fwsettings map. While the translation (e.g. Enabled -> enable) is performed when invoking 'netsh ... add rule' command.

I tested rule creation and rule creation when the rule was already existing on Windows Server 2012.
2016-02-18 17:59:23 +01:00
Andrea Scarpino
7c99a60f2b win_unzip: overwrite any existing file 2016-02-11 16:43:12 +01:00
=
9695db53e0 Add extra PS Drives so you can access other parts of the registry 2016-02-09 06:42:02 +00:00
Corwin Brown
9ae9d04eab Added UseBasicParsing flag
win_uri uses "Invoke-WebRequest" under the covers, which apparently
uses Internet Explorer to parse a webpage. The problem is if a user
has never run Internet Explorer, it will be unable to do that. The
work around for this is to set the "-UseBasicParsing" flag.

The only advantage to having the Internet Explorer parsed page is
that you can then access the DOM as if it was a powershell
argument. That doesn't seem super useful for Ansible to be able
to do, so I set the default to be "-UseBasicParsing"
2016-02-08 15:52:45 -06:00
Brian Coca
166133b1f8 Merge pull request #1111 from h0nIg/devel
win_acl: windows 2008 fix + special account fix + strict fix
2016-02-01 23:45:26 -05:00
Brian Coca
3ca2c51ed9 Merge pull request #1077 from blakfeld/fix_win_unzip
Made win_unzip Powershell Strict Complient
2016-02-01 23:42:47 -05:00
Toshio Kuratomi
36be779888 Remove duplicate documentation fields 2016-01-28 09:20:55 -08:00
tcr
263774ea7d Fix #1512 add missing property in win_firewall_rule 2016-01-18 15:27:36 +01:00
Hans-Joachim Kliemeck
39aab8fe06 fixxed tests 2016-01-12 12:41:41 +01:00
Hans-Joachim Kliemeck
d5ab52eb58 fixxed tests 2016-01-12 12:36:45 +01:00
Hans-Joachim Kliemeck
c239ee31ac fixed problems related to userpricincipalname (user@domain) and undefined variables
fixed variable capitalization
2016-01-12 11:39:19 +01:00
Hans-Joachim Kliemeck
c0b2080ae1 fixed problems related to userpricincipalname (user@domain) and undefined variables
fixed variable capitalization
2016-01-12 09:57:56 +01:00
Hans-Joachim Kliemeck
fe4429ba3e fixed problems related to userpricincipalname (user@domain) and undefined variables
fixed variable capitalization
2016-01-12 09:52:08 +01:00
Marcin Dobosz
aee09745d3 Fix win_iis_webapppool module to not null ref when removing an apppool using PS4 2015-12-22 16:20:29 -08:00