Commit graph

7767 commits

Author SHA1 Message Date
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
Etienne CARRIERE
be9058201f Apply changes according to the review 2015-11-18 06:09:28 +01:00
Xav Paice
c1cf8e671a Added stdout and stderr to puppet output for rc=2 2015-11-18 14:34:46 +13:00
Brian Coca
7da1f8d4ca Merge pull request #1228 from romainrbr/iptables-ctstate-to-state
Editing iptable module to use -m state --state instead of -m conntrack --ctstate
2015-11-17 09:32:20 -08:00
Hans-Joachim Kliemeck
0688522eb7 fail if type parameter is empty 2015-11-17 15:36:52 +01:00
Brian Coca
444155ce13 Merge pull request #1254 from agireud/os_project_fix
Fix return documentation
2015-11-16 15:40:14 -08:00
Alberto Gireud
c9e4c32f41 Fix return documentation 2015-11-16 17:31:53 -06:00
Brian Coca
aa859f6331 Merge pull request #1220 from agireud/os_project
Add openstack project module
2015-11-16 15:04:34 -08:00
Brian Coca
f19ceaa711 Merge pull request #1252 from defionscode/devel
Sendgrid docs fix
2015-11-16 14:00:20 -08:00
Jonathan Davila
39a3255ef3 Sendgrid docs fix 2015-11-16 16:54:35 -05:00
Jordan Cohen
20d6e3daaf support for event alert monitors 2015-11-16 06:31:14 -05:00
Brian Coca
875a055103 corrected choices which was meant to be type 2015-11-15 14:31:34 -08:00
James Cammarata
e5362cc76a Version bump for new beta 2.0.0-0.5.beta3 2015-11-13 16:47:22 -05:00
Brian Coca
cf7db64575 Merge pull request #1238 from Jmainguy/irc_colors
IRC module: Added style= and more colors.
2015-11-12 22:03:55 -08:00
Jonathan Mainguy
19b506f64f Added style= and more colors. 2015-11-12 22:49:41 -05:00
Dylan Martin
b0298ba4f1 added version option 2015-11-12 14:38:15 -06:00
Brad Wilson
3177e9eaf0 Add apply_to option to rabbitmq_policy 2015-11-11 14:42:11 -08:00
Toshio Kuratomi
e52e015791 Documentation fixes 2015-11-11 12:38:51 -08:00