Commit graph

7575 commits

Author SHA1 Message Date
gfrank
a550644d9f Merge remote-tracking branch 'refs/remotes/ansible/devel' into devel 2015-12-04 14:36:51 -05:00
gfrank
bc42aea3a3 Replace slashes in the parameter string
Also remove duplicate documentation
2015-12-04 14:33:31 -05:00
Toshio Kuratomi
a10bdd6be9 Merge pull request #1302 from mscherer/fix_1282
Add a more explicit error message on missing requirement for firewalld
2015-12-04 07:32:35 -08:00
Michael Scherer
037ff89063 Add a more explicit error message, fix #1282 2015-12-04 11:46:20 +01:00
Rene Moser
8ec66713d9 cloudstack: fixes and improvements
- cs_affinitygroup: add project support
  Project support in CloudStack for affinity groups is going to be fixed/implemented in the near future, this module should already support.

- cs_affinitygroup:  fix missing returns in doc

- cs_volume: fix disk offering not found

- cs_volume: fix volume not found if created with display_volume=no

- cs_firewall: argument zone is missing, default zone is always used.
  credits for reporting and fixing to @atsaki
  closes #1320

- cs_instance: fix user_data base64 encoding fails if not a string
2015-12-04 09:39:53 +01:00
Rob
186fe2babc Added missing else statement that caused existing rules to be discarded 2015-12-04 01:50:38 +00:00
Matt Davis
5f510eba97 Merge pull request #1286 from smadam813/win_regedit
fix #1236
2015-12-03 16:04:14 -08:00
Ritesh Khadgaray
426e76dddb vmware_vm_shell: add the ability to start program without network connection 2015-12-02 19:33:34 +05:30
autotune
c047814512 Fixed bug to recognize haproxy changes 2015-12-01 17:30:26 -08:00
Kirill Kozlov
201be81aad Set latest as version argument default value 2015-12-01 23:55:26 +03:00
Brian Coca
7ee8e7d65a Merge pull request #1313 from Mogztter/issue-1312
Resolves #1312, Improve pam_limits documentation
2015-12-01 10:18:22 -08:00
Brian Coca
109f954a83 Merge pull request #1310 from michaelw/patch-1
Fix error 'fail_json() takes exactly 1 argument'
2015-12-01 09:32:12 -08:00
Brian Coca
b01d28049b Merge pull request #1314 from pcsforeducation/patch-1
Fix mongodb_user docs typo
2015-12-01 09:28:56 -08:00
Josh Gachnang
8d866669bb Fix mongodb_user docs typo
Bob's last name is Belcher: http://bobs-burgers.wikia.com/wiki/Bob_Belcher.

These docs made me chuckle, so thanks :)
2015-12-01 11:16:29 -06:00
Guillaume Grossetie
32658b9d3b Resolves #1312, Improve pam_limits documentation
Adds comment parameter and improve examples.
2015-12-01 14:27:50 +01:00
Michael Weber
fba8c9f8a7 Fix error 'fail_json() takes exactly 1 argument'
Fixes bug #1257
2015-12-01 01:56:23 -08:00
Toshio Kuratomi
3c4f954f0f Don't raise or catch StandardError in amazon modules 2015-11-30 19:01:57 -08:00
Rene Moser
f2eb00cc71 cloudstack: cs_instance: implement state=restored 2015-11-30 17:08:07 +01:00
Björn Andersson
72155d40a3 monit: Set a high timeout waiting for status changes
Instead of waiting for up to a certain number of retries we set a high
timeout and only re-check every five seconds. Certain services can
take a minute or more to start and we want to avoid waisting resources
by polling too often.
2015-11-29 23:44:58 +08:00
Björn Andersson
262f2e9048 monit: Add version_added and type for new argument 2015-11-29 22:21:38 +08:00
Björn Andersson
5835d06a4e monit: Wait for pending state changes for reloads
@mpeters reported that we're not checking that the named service is
actually there after a reload. And that sometimes monit doesn't actually
return anything at all after a reload.
2015-11-29 22:21:38 +08:00
Björn Andersson + SU Sheng Loong
f8fe5a2fcd monit: Add retry for pending/initializing services
If there are already ongoing actions for a process managed by monit, the
module would exit unsuccessfully. It could also give off false positives
because it did not determine whether the service was started/stopped
when it was in a pending state. Which might be turning the service off,
but the action was to start it.

For example "Running - pending stop" would be regarded as the service
running and "state=enabled" would do nothing.

This will make Ansible wait for the state to finalize, or a timeout decided
by the new `max_retries` option, before it decides what to do.

This fixes issue #244.
2015-11-29 22:21:38 +08:00
Brian Coca
60dd37d15f Merge pull request #1291 from Mogztter/issue-1290
documents missing limit_type choice "-"
2015-11-27 12:56:24 -08:00
Guido Lorenz
d51950c37e win_chocolatey: Clean up documentation 2015-11-27 16:33:17 +01:00
Guido Lorenz
5948389d2f win_chocolatey: Add install_args, params and ignoredependencies 2015-11-27 16:33:10 +01:00
Charles Ferguson
68b7142d62 Update 'patch' documentation for src, remote_src, backup and binary.
The patch module has a few missing items, and inconsistencies, in its
documentation. A few of which are addressed here.

Within Ansible documentation, the choices for boolean values are
commonly 'yes', and 'no'. We standardise the options on that.

'remote_src' documentation uses 'False' and 'True' for its documentation,
so these have been updated in both the choices and default.

'src' documentation refers to 'remote_src', so is updated to use
the 'no' choice.

'backup' did not describe its options and default at all, so we add
them.

'binary' default used 'False', but specified the type as 'bool' which is
implicitly documented as 'yes'/'no', so we make that 'no' as well.
2015-11-27 00:24:08 +00:00
GUILLAUME GROSSETIE
c28a0031bb Resolves #1290, Adds limit_type choice "-" 2015-11-26 11:37:59 +01:00
Rene Moser
b7ca7d15ac cloudstack: cs_facts: fix wrong description of returns cloudstack_public_ipv4, cloudstack_public_hostname
Also see http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/4.6/api.html#user-data-and-meta-data
2015-11-25 23:07:30 +01:00
Brian Coca
0c1d20865d Merge pull request #1250 from resmo/for-ansible
cloudstack: new module cs_volume
2015-11-25 13:38:22 -08:00
Adam Keech
42efef5682 Appending "Registry::" is not needed and no longer works. 2015-11-25 11:41:02 -05:00
Brian Coca
767ec29640 Merge pull request #1260 from xavpaice/devel
Added stdout and stderr to puppet output for rc=2
2015-11-24 12:51:14 -08:00
Rene Moser
87065005aa cloudstack: new module cs_volume 2015-11-24 19:04:13 +01:00
Brian Coca
c978f4b332 updated version added 2015-11-24 09:55:27 -08:00
Brian Coca
cde758332a Merge pull request #971 from atplanet/bug/vpc-subnet-tag-values-not-updating
Ensure tag values get updated in ec2_vpc_subnet
2015-11-23 09:54:20 -08:00
Brian Coca
2775be99d3 Merge pull request #1268 from ryansydnor/s3_bucket
Use boto normalized location for bucket creation
2015-11-23 09:40:00 -08:00
Matt Davis
41f4793d17 Merge pull request #1267 from h0nIg/devel_win_updates
win_updates: fix race condition and missing property
2015-11-23 09:28:48 -08:00
Jonathan Mainguy
0d0c887f02 Unify mysql modules.
Added config_file, ssl_ca, ssl_cert, ssl_key, changed connect method, added error checking where a backtrace previoussly was possible
2015-11-20 21:44:04 -05:00
Brian Coca
0298f47df9 Merge pull request #1016 from jtyr/yumrepo
Adding yumrepo module
2015-11-20 16:39:09 -08:00
Brian Coca
367b88a2ab removed json import 2015-11-21 16:07:12 -08:00
Jiri tyr
b9bb6d8d29 Adding yumrepo module
This patch is adding a new module which allows to add and remove YUM
repository definitions. The module implements all repository options
as described in the `yum.conf` manual page.
2015-11-21 00:23:37 +00:00
Toshio Kuratomi
b87e3ce362 Quote strings that make the module docs fail to build 2015-11-20 13:57:58 -08:00
Toshio Kuratomi
19374903ac Switch StrictVersion for LooseVersion since some distros ship
beta versions and StrictVersion would fail on that.

Also clean up some minor style things
2015-11-20 12:36:36 -08:00
Toshio Kuratomi
d3f0d3880c Merge pull request #444 from olsaki/devel
Add docker_login module
2015-11-20 12:25:25 -08:00
Olaf Kilian
c629d5b013 Add requirement and check for compatible version of docker-py 2015-11-20 21:05:19 +01:00
Olaf Kilian
66964f660a Set no_log for password argument 2015-11-20 20:25:50 +01:00
Ryan Sydnor
a56fe04683 Use boto normalized location for bucket creation
If a bucket is being created in us-east-1, the module passed
'us-east-1' to boto's s3.create_bucket method rather than
Location.DEFAULT (an empty string). This caused boto to generate
invalid XML which AWS was unable to interpret.
2015-11-20 13:55:46 -05:00
Hans-Joachim Kliemeck
a59f1f528e fix race condition and missing property 2015-11-20 09:08:42 +01:00
Sebastien Couture
7023d87e05 Added support for DNS SRV records 2015-11-18 18:15:59 -05:00
Guido Günther
11e8a17684 zypper: Add returncode to result
This will be used in integration tssts and makes the whole thing
more similar to the yum module.
2015-11-18 17:49:34 +01:00
Etienne CARRIERE
aaf16fe337 Developpement of enabled/disabled state 2015-11-18 06:52:03 +01:00