Commit graph

7003 commits

Author SHA1 Message Date
Hans-Joachim Kliemeck
2ce5b4c526 suggestion by @nitzmahone to not use Get-Attr in combination with ConvertTo-Bool, improved documentation regarding organize 2016-03-22 09:07:09 +01:00
Hans-Joachim Kliemeck
d2959fb7ed fixed version added and tests 2016-01-13 10:39:33 +01:00
Hans-Joachim Kliemeck
b4f80a777f fixed bugs with flipped protection attribute 2015-10-22 14:22:50 +02:00
Hans-Joachim Kliemeck
b03c7ebfa1 introduced state to differentiate between enabled/disabled inheritance. renamed copy to reorganize, since the meaning for inheritance=enabled is different 2015-10-21 22:43:42 +02:00
Hans-Joachim Kliemeck
8de49a5dea suggestions by @marcind 2015-10-21 21:20:44 +02:00
Hans-Joachim Kliemeck
95862793d0 added module to disable acl inheritance 2015-10-18 17:24:27 +02:00
Brian Coca
05f53f2b95 Merge pull request #200 from schwartzmx/module/win_acl
win_acl Module

talked to @cchurch, merging this for now, need to open ticket to address the 2008 issue
2015-10-14 15:44:47 -04:00
Toshio Kuratomi
8ce3104bc5 Convert from dos line endings to unix because dos line endings break our documentation build. 2015-10-14 08:42:25 -07:00
Brian Coca
fdb4a58f97 added version_added and fixed some doc parsing issues 2015-10-14 11:06:29 -04:00
Brian Coca
6e01848602 Merge pull request #837 from jemmyw/consul-http-checks
Add consul http checks to consul.py
2015-10-14 11:01:03 -04:00
Toshio Kuratomi
96af56d750 Merge pull request #1106 from groks/crypttab-strip-fix
Fix bug #1105 - incorrect use of lstrip()
2015-10-14 07:48:33 -07:00
Steve
c5924aff74 Fix bug #1105 - incorrect use of lstrip()
Remove only the literal prefix '/dev/mapper/' - not any of the characters
in '/dev/mapper/' - from the name param of the crypttab module.
2015-10-14 12:13:57 +01:00
Brian Coca
15480e3d04 fixed option in examples 2015-10-12 18:20:23 -04:00
Charles Paul
51bb65c9a3 reference instance_id in docs, fixes for calls to fail_json 2015-10-12 08:35:21 -05:00
Brian Coca
561d768f44 Merge pull request #1076 from trondhindenes/win_package_bugfix
turned off strict msi code checking
2015-10-12 09:27:54 -04:00
Brian Coca
a155f7ee34 Merge pull request #1071 from nlandais/devel
Adding fix to get around bug found with the New-Website command when…
2015-10-12 09:27:30 -04:00
Brian Coca
cc69ac1513 Merge pull request #1064 from dreamcat4/feature/win_fw-hotfixes
hotfixes: module windows/win_firewall_rules
2015-10-12 09:27:18 -04:00
Brian Coca
4a0e757196 Merge pull request #370 from nsg/full-attachments-support
Add attachments support to slack module.
2015-10-12 09:27:03 -04:00
Brian Coca
06210612ee Merge pull request #251 from kdisneur/hotfix/tap-prefixed-by-homebrew
Remove `homebrew-` prefix when checking if repo has already been tapped
2015-10-12 09:26:38 -04:00
Brian Coca
0e56b95f5c Merge pull request #1068 from luiseterc/devel
Fix bug #1067
2015-10-12 09:21:40 -04:00
Jeremy Wells
cf4b4be901 Add consul http checks to consul.py
Consul module already supports ttl and script checks. This commit adds
http checks.
2015-10-12 12:11:10 +02:00
Stefan Berggren
df90e3b162 Merge pull request #1 from ramondelafuente/feature/nsg-full-attachment-support
module guidelines compliency
2015-10-11 16:38:45 +02:00
Trond Hindenes
b9d842ecd6 turned out strict msi code checking 2015-10-09 20:28:54 +02:00
Nicolas Landais
d1dcf8e06b Adding fix to get around bug found with the New-Webstire command when running playbook on a vanilla machine. 2015-10-08 12:00:12 -04:00
Ramon de la Fuente
d14bb33a03 updated the examples to the new Slack API 2015-10-08 12:59:21 +02:00
Ramon de la Fuente
8ffc11713f module guidelines compliency 2015-10-08 10:36:09 +02:00
Brian Coca
205115ea1f updated to use shared region docs from ec2 2015-10-07 23:20:27 -04:00
Brian Coca
8d3122169d added missing GPL licences
fixes #508
2015-10-07 23:20:27 -04:00
Brian Coca
8903d0d968 Merge pull request #557 from perzizzle/gtm_wide_ip
Module for managing F5 GTM wide ip
2015-10-07 21:22:18 -04:00
Brian Coca
5302de2686 Merge pull request #732 from tobywf/homebrew_validation
Homebrew: Allow colons, direct check for outdated formula
2015-10-07 21:22:02 -04:00
Brian Coca
b8c19e6531 Merge pull request #1039 from indrajitr/homebrew-update
homebrew: Improve 'argument_spec' handling
2015-10-07 21:21:47 -04:00
Brian Coca
30e7f4a934 Merge pull request #1066 from jhawkesworth/documentation_win_environment_limitations
Document win_environment limitations
2015-10-07 21:20:57 -04:00
Luis Rodriguez
6e80ed57d2 Fix bug #1067 2015-10-07 19:04:37 +02:00
=
576b5e2fc3 Document module limitations to resolve https://github.com/ansible/ansible-modules-extras/issues/908 2015-10-07 05:25:28 +01:00
Brian Coca
6336838354 Merge pull request #1059 from sivel/sys-exit-removal
sys.exit removal from various modules
2015-10-06 12:29:48 -04:00
Dreamcat4
ece9c2b43a fix: Add 'enable:' flag for enabling existing rules which are disabled by default.
This is a very much needed flag. To turn on/off existing firewall rules. And like the recent fix of the 'Profile' key, the netsh cmd prints 'Enabled' in the textual output. (at least on win10 it does). So again a similar small code added for the necessary exception handling when the difference check happens.

Please merge / push upstream like the other fixes. Many thanks. This is the last fix I have put together for this patch set. So I will raise my PR now.

But if you want to fix more bugs, it seems there may be others. In terms of the control code. Sometimes it will delete a rule under 'force' condition (when found difference) - but instead it is supposed to just modify the existing rule. Some weird behaviour regarding that. The other problem is that ansible does not return the error text printed by 'netsh' cmd verbatim... but it should as that makes debugging these errors a *lot* easier.
2015-10-06 14:03:27 +01:00
James Cammarata
0ff1776a84 Updating version for 2.0.0-0.3.beta1 release 2015-10-06 08:17:58 -04:00
Matt Martz
32bdecef9a Merge pull request #1060 from sivel/open-iscsi-examples
Fix open_iscsi EXAMPLES section
2015-10-06 06:29:25 -05:00
Dreamcat4
dcaa794949 fix: update documentation with new module name "win_firewall_rule" 2015-10-06 10:47:27 +01:00
Dreamcat4
469d22df97 fix: The names of firewall profiles are different on win10 & win2008r2
Hi again. This commit removes a small portion of your script's own internal error checking. In specific: for the value of the profile: key. This is essential to avoid errors on other verisons of the windows operating system which are not win2008r2 (your version).

For example: on win10 (and most likely win8x too), the names of the profiles don't include the values 'current' and 'all'. But instead the values are 'Public' 'Private' 'Domain' and 'Any. But in addition, there are also certain combinatorial values, such as profile=Public,Private etc. Which is too many to error check yourself.

Yet removing the error checking here should not cause any ill effects however: since the netsh advfirewall ... cmds themselves to add / remove / modify actually to their own error checking of the profile=value. So when the cmd is run, it will error out itself with an appropriate / informative error msg. No harm done.

Therefore please remove the highlighed portions from your own script. It is essential for interoperability with win10 and win8x. Many thanks.
2015-10-05 21:53:11 +01:00
Dreamcat4
6c5a4a14ef fix: win10 - Add exception handling for 'Profiles:' textual output key name mismatch.
In win10 (and pribably win8x also):

The output of 'show rule' key includes the line "Profiles:<TAB>Public,Private".
Yet your script expects the key name printed out to be "Profile:<TAB>value".

This commit added the necessary exception handling to avoid flagging 'different=true' under the false circumstance. The key name to SET a firewall rule is still "profile=" and not "profiles=".

There is coming up another commit to fix the value handling for win10/win8. Which is another (different) error with the profile: key.
2015-10-05 21:36:24 +01:00
Dreamcat4
2654789af7 fix: fw rule names must always be quoted, to permit spaces ' ' and brackets '()'
Without this fix, the 'netsh' command gets name=Firewall Rule Name instead of name="Firewall Rule Name". Thus causing all sorts of havoc. Basic shell quoting rules seems to apply to Windows Powershell too. This is very much needed as many of windows 10's default firewall rules contain spaces and brackets () characters.
2015-10-05 21:10:59 +01:00
Matt Martz
9d015665b8 Fix open_iscsi EXAMPLES section 2015-10-05 13:34:42 -05:00
Matt Martz
e68d9315c1 sys.exit removal for system/capabilities.py 2015-10-05 13:24:25 -05:00
Matt Martz
eac4493421 sys.exit removal for notification/mail.py 2015-10-05 13:23:34 -05:00
Matt Martz
abf7ee579e sys.exit removal for cloud/google/gce_img.py and cloud/google/gce_tag.py 2015-10-05 13:23:00 -05:00
Matt Martz
55dab7cd1b sys.exit removal for cloud/misc/ovirt.py 2015-10-05 13:22:43 -05:00
Matt Martz
b82ebdde19 sys.exit removal for cloud/xenserver_facts.py 2015-10-05 13:22:32 -05:00
Matt Martz
d89ca8cc01 Merge pull request #1058 from sivel/xenserver-imports
Switch from old style replacer code to new style for ansible.module_utils.basic
2015-10-05 13:07:03 -05:00
Matt Martz
1b0f9d5fd9 Merge pull request #1057 from sivel/fix-vmware-interpreter
Fix interpreter line in a few vmware modules
2015-10-05 13:05:54 -05:00