Commit graph

8082 commits

Author SHA1 Message Date
Tim Rupp
86f08bfcda Adds the __main__ conditional check (#2098)
As is done in other ansible modules, this adds the __main__ check
to the module so that the module code itself can be used as a library.
For instance, when testing the code.
2016-04-25 15:34:18 -04:00
Indrajit Raychaudhuri
142742964e Fix homebrew_cask examples 2016-04-25 08:56:04 -05:00
Joshua Gilman
e4a4259bc2 Change disk type to str to allow correct usage of rootfs for LXC (#2091) 2016-04-25 13:18:24 +02:00
Rene Moser
3feb69f614 consul: add docs, fix typos, minor style fix 2016-04-25 10:09:15 +02:00
Sun JianKang
08f5a3b6d0 add service address when register service (#1299) 2016-04-25 09:58:07 +02:00
Ner'zhul
d3a34c0b2c Add mongodb parameter module (#1596)
* Add mongodb parameter module

This module permit to configure mongodb live parameters to tune the running engine
2016-04-25 08:39:42 +02:00
Adrià Galín Figueras
014297b868 Fixed netif params when create lxc container (#2064) 2016-04-25 08:09:51 +02:00
Toshio Kuratomi
d871df6c27 Switch from deprecated ANSIBLE_VERSION to ansible.__version__ 2016-04-24 21:15:15 -07:00
Rene Moser
de22b721db vmware_vm_shell: doc: add missing defaults 2016-04-23 08:27:21 +02:00
Ritesh Khadgaray
e24c3b93fe vmware_vm_shell: speed up vm_name search (#1909) 2016-04-23 08:19:17 +02:00
Chris Lamb
8d7d070201 system/ufw.py: Add security warning re. removing ufw application prof…
It's not particularly obvious that removing an application will remove it
from ufw's own state, potentially leaving ports open on your box if you
upload your configuration.

Whilst this applies to a lot of things in Ansible, firewall rules might
cross some sort of line that justifies such a warning in his instance.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2016-04-23 08:01:19 +02:00
=
7d9b73ec5a fix problem where you couldn't compare empty strings in win_regedit following my previous change 2016-04-22 18:37:31 +01:00
Michael Scherer
1b18c74918 Remove unused import of 'socket' module 2016-04-22 17:33:05 +02:00
Michael Scherer
ed4dd65057 Mark api_key as no_log, since that's supposed to be kept secret 2016-04-22 17:33:05 +02:00
Indrajit Raychaudhuri
c5ed63a972 Add version_added doc property for install_options in homebrew_cask 2016-04-22 00:19:34 -05:00
Indrajit Raychaudhuri
8128464adc Add additional examples for parameter install_options in homebrew_cask 2016-04-21 19:26:47 -05:00
Enric Lluelles
357cbd73f5 Adding install_options to homebrew_cask 2016-04-21 19:10:50 -05:00
Emil Bostijancic
3031105e78 Fixes maven_artifact - verify_md5 only called for SNAPSHOT
* fixed https://github.com/ansible/ansible-modules-extras/issues/2066

* fixes https://github.com/ansible/ansible-modules-extras/issues/2066
2016-04-21 22:02:33 +02:00
Michael Scherer
ba74516640 Fix aibrake 2016-04-21 21:53:37 +02:00
Stefan Magnus Landrø
fe2dc427d4 Honouring verify_ssl when using username/password for authentication … 2016-04-21 21:51:55 +02:00
James Cammarata
247e17a665 Merge branch 'erjohnso-google-kubernetes' into devel 2016-04-21 13:21:17 -04:00
Michael Scherer
14c323cc8e Fix default url in airbrake_deployment doc (#2078) 2016-04-21 13:24:19 +02:00
Toshio Kuratomi
54a6a470b5 Make main() only run when invoked as a script (style cleanup) 2016-04-20 14:37:46 -07:00
Matt Davis
7ece46711a Merge pull request #2074 from dreamcat4/feature/win-modules-strict-mode-fixes
Feature/win modules strict mode fixes
2016-04-20 14:25:30 -07:00
Dreamcat4
9bc12dc9dd win-firewall-rule: temp disable strict-mode for the time being 2016-04-20 21:44:29 +01:00
Dreamcat4
8734e8f397 fix: win-environment strict-mode fixes 2016-04-20 14:13:03 +01:00
Dreamcat4
55c6aee5d1 fix: win-scheduled-task strict-mode fixes 2016-04-20 14:12:11 +01:00
Chris Houseknecht
451420b7e8 Merge pull request #1839 from lmazuel/feature/azure-deploy
Feature/azure deploy
2016-04-19 19:27:06 -04:00
Rob
c3d8b07432 New module - ec2_snapshot_facts (#1088) 2016-04-19 18:07:59 -04:00
p53
706cbf69ca Add pvs parameter to documentation
Add pvs parameter to documentation
2016-04-19 19:31:23 +02:00
Adam Romanek
e8391d6985 Fixed #237 - improved embedded JSON support handling (#1530) 2016-04-19 11:20:51 -04:00
Victor Costan
1aecfc1e19 amazon/GUIDELINES.md: Fix copy-paste typo (#2060) 2016-04-19 00:17:08 -04:00
Matt Davis
82da45e520 Merge pull request #2034 from jhawkesworth/add_binary_to_regedit
Windows: win_regedit; Add support for managing binary registry data to win_regedit
2016-04-18 10:59:10 -07:00
Robin Roth
e8fdba7593 Zypper repository rewrite (#1990)
* Remove support for ancient zypper versions

Even SLES11 has zypper 1.x.

* zypper_repository: don't silently ignore repo changes

So far when a repo URL changes this got silently ignored (leading to
incorrect package installations) due to this code:

    elif 'already exists. Please use another alias' in stderr:
        changed = False

Removing this reveals that we correctly detect that a repo definition
has changes (via repo_subset) but don't indicate this as change but as a
nonexistent repo. This makes us currenlty bail out silently in the above
statement.

To fix this distinguish between non existent and modified repos and
remove the repo first in case of modifications (since there is no force
option in zypper to overwrite it and 'zypper mr' uses different
arguments).

To do this we have to identify a repo by name, alias or url.

* Don't fail on empty values

This unbreaks deleting repositories

* refactor zypper_repository module

* add properties enabled and priority
* allow changing of one property and correctly report changed
* allow overwrite of multiple repositories by alias and URL
* cleanup of unused code and more structuring

* respect enabled option

* make zypper_repository conform to python2.4

* allow repo deletion only by alias

* check for non-existant url field and use alias instead

* remove empty notes and aliases

* add version_added for priority and overwrite_multiple

* add version requirement on zypper and distribution

* zypper 1.0 is enough and exists

* make suse versions note, not requirement

based on comment by @alxgu
2016-04-18 17:47:17 +02:00
Michael Scherer
f9f00ef404 Mark the token as sensitive, since it shouldn't be printed (#2043) 2016-04-18 11:19:14 -04:00
Jiri Tyr
3ba9e817fe Describing the _none_ value of the proxy option (#2053) 2016-04-18 11:01:24 -04:00
Jay Jahns
05068630ca Add Maintenance Mode support for VMware (#1754)
* add vmware maintenance mode support

* changed version number in documentation

* updated version_added to 2.0 since CI is failing

* changed version to 2.0 due to CI - error asking for 2.1

* added RETURN

* updated formatting of return values and added some to clarify actions taken
2016-04-17 10:42:31 +02:00
codehopper-uk
aa29a4fd9c Basic ability to set masquerade options from ansible, according to current code design/layout (mostly) (#2017)
* Support for masquerade settings

Ability to enable and disable masquerade settings from ansible via:
- firewalld: mapping=masquerade state=disabled permanent=true zone=dmz

Placeholder added (mapping) to support masquerade and port_forward
choices initially - port_forward not implemented yet.

* Permanent and Immediate zone handling differentiated

* Corrected naming abstraction for masquerading functionality

Removed mapping tag with port_forward choices - not applicable!

* Added version info for new masquerade option

Pull Request #2017 failing due to missing version info
2016-04-16 14:15:00 +02:00
Jordan Cohen
359b2abebc idempotency fix (#2024) 2016-04-16 14:10:49 +02:00
Pavol Ipoth
14057da87c Removing, unwanted pull 2016-04-15 21:22:03 +02:00
Pavol Ipoth
e3ca2c7aeb Adding new ansible module lvol_cache 2016-04-15 21:14:21 +02:00
Pavol Ipoth
2be58bf100 Merge branch 'devel' of https://github.com/ansible/ansible-modules-extras into devel 2016-04-15 21:11:46 +02:00
Karim Boumedhel
a61742e070 Add cloudinit support to ovirt.py module 2016-04-15 20:23:37 +02:00
Michael Scherer
8e7051ad9d Do not leak password by error for ovirt module (#1991) 2016-04-15 10:27:47 -04:00
Michael Scherer
ff74fc0072 Remove the +x from crypttab and cronvar (#2039)
While this change nothing, it is better to enforce consistency
2016-04-15 10:18:05 -04:00
Michael Scherer
03af9ab491 Set api_key as no_log, since that's likely something that should be kept private (#2038) 2016-04-15 09:45:37 -04:00
=
2ecb1a37dc Documentation improvements 2016-04-15 06:51:16 +01:00
Fernando José Pando
3afe117730 Add SQS queue policy attachment functionality (#1716)
* Add SQS queue policy attachment functionality

SQS queue has no attribute 'Policy' until one is attached, so this special
case must be handled uniquely

SQS queue Policy can now be passed in as json
2016-04-14 23:58:44 +02:00
Michael Scherer
84ca3ba7ee Do not use a default value for -n parameter, fix #1400 (#1417) 2016-04-14 23:44:28 +02:00
Michael Scherer
bd0deed367 Use type=path for pem_file, since that's a file (#1934) 2016-04-14 23:37:01 +02:00