Commit graph

8043 commits

Author SHA1 Message Date
Michael Scherer
e07a52b499 Mark api_key as no_log to avoid potential leaks (#2048) 2016-04-29 09:56:28 +02:00
Brian Coca
fbd00675f0 updated version added for pvs 2016-04-28 17:42:41 -04:00
James Cammarata
38874103c8 Merge pull request #2109 from Osterjour/patch-1
Change success status code to 202
2016-04-28 15:01:30 -04:00
Matt Davis
238af47a9d Merge pull request #2007 from p53/devel
Added pvs parameter to lvol module
2016-04-28 10:15:54 -07:00
Toshio Kuratomi
71d83b77bc Recategorize git_config and shift version to 2.1 2016-04-28 08:27:21 -07:00
Chris Houseknecht
ca310f3d15 Merge pull request #2106 from chouseknecht/azure_rm_deployment
Rename azure_deploy to azure_rm_deployment. Refactor to use azure_com…
2016-04-28 05:47:31 -04:00
Brian Coca
09a1015bd7 updated version added 2016-04-27 14:36:56 -04:00
Matthew
d91baee7c9 Add git_config module (#1945)
* Add git_config module

This module can be used for reading and writing git configuration at all
three scopes (local, global and system). It supports --diff and --check
out of the box.

This module is based off of the following gist:
https://gist.github.com/mgedmin/b38c74e2d25cb4f47908
I tidied it up and added support for the following:
- Reading values on top of writing them
- Reading and writing values at any scope
The original author is credited in the documentation for the module.

* Respond to review feedback

- Improve documentation by adding choices for parameters, requirements
  for module, and add missing description for scope parameter.
- Fail gracefully when git is not installed (followed example of puppet
  module).
- Remove trailing whitespace.

* Change repo parameter to type 'path'

This ensures that all paths are automatically expanded appropriately.

* Set locale to C before running commands to ensure consistent error messages

This is important to ensure error message parsing occurs correctly.

* Adjust comment
2016-04-27 14:36:11 -04:00
chouseknecht
a1cc951d6f Updated per PR comments 2016-04-27 10:48:20 -04:00
Michael Scherer
95018b5fe8 Add partial doc on return value of virt (#2116) 2016-04-27 10:47:44 -04:00
Matt Davis
0b66156f25 Merge pull request #2112 from jhawkesworth/fix_ame_2090
Fix for https://github.com/ansible/ansible-modules-extras/issues/2090
2016-04-26 11:43:58 -07:00
=
d198d025de Fix for https://github.com/ansible/ansible-modules-extras/issues/2090 2016-04-26 18:26:50 +01:00
Matt Davis
d9caac037c Merge pull request #1119 from h0nIg/devel_acl_inheritance
win_acl_inheritance
2016-04-26 09:45:42 -07:00
Brian Coca
470460acfc promoted to core, including fixes 2016-04-26 10:01:12 -04:00
James Cammarata
59821bbc30 Removing docker_login as it's now in core 2016-04-26 10:00:16 -04:00
René Moser
344dff4350 docs: fix make docs (#2107) 2016-04-26 09:10:46 -04:00
Markus Ostertag
d5ab3dc0f3 Change success status code to 202
As I already mentioned here: a1b1182662 (diff-d04a476e5d71372918cb6e7e5b39a683R120) @jimi-c added some "hidden" additional check in his urllib commit and broke the whole module for everybody as Datadog answers with an 202 in case of success (http://docs.datadoghq.com/api/#troubleshooting).
2016-04-26 14:39:00 +02:00
chouseknecht
99f5e394ad
Rename azure_deploy to azure_rm_deployment. Refactor to use azure_common. 2016-04-26 01:32:09 -04:00
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
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
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