Commit graph

26064 commits

Author SHA1 Message Date
Björn Andersson
d577fedc26 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.
2016-12-08 11:33:38 -05:00
Björn Andersson
69e9bd3406 monit: Add version_added and type for new argument 2016-12-08 11:33:38 -05:00
Björn Andersson
757c9bffee 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.
2016-12-08 11:33:38 -05:00
Björn Andersson + SU Sheng Loong
469bf9ebd0 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.
2016-12-08 11:33:38 -05:00
Michal Svab
5f743c4fdc maven_artifact: check whether snapshot is the latest snapshot 2016-12-08 11:33:38 -05:00
Matthew Jones
d24f02fd39 Fix up vsphere_copy after open_url change
* Remove leading module parameter on open_url call as it's no longer used
  by module_utils.urls.open_url
* Force basic auth otherwise vsphere will just return a 401
2016-12-08 11:33:38 -05:00
twmartin
33ee8d6f89 Correct 'object not iterable' TypeError 2016-12-08 11:33:38 -05:00
Bruce Pennypacker
e5970186ad Remove extraneous space from end of command string in nagios_cmd 2016-12-08 11:33:38 -05:00
daveres
ab7aa73cdb Correct problem with changed:true
I have just changed a small piece of this module to avoid to return always that the task is changed
2016-12-08 11:33:38 -05:00
Chrrrles Paul
0606233431 Changing docs to reflect vm_name as the default vm_id_type 2016-12-08 11:33:38 -05:00
Rob
103be7ab51 Added missing else statement that caused existing rules to be discarded 2016-12-08 11:33:38 -05:00
Charles Paul
caea50ba4d pep8 whitespace 2016-12-08 11:33:37 -05:00
Charles Paul
a1efe9486a upped version added, search by vm_name by default 2016-12-08 11:33:37 -05:00
Ritesh Khadgaray
8f362afc34 vmware_vm_shell: add the ability to start program without network connection 2016-12-08 11:33:37 -05:00
Toshio Kuratomi
6f40bab20f Simplify code 2016-12-08 11:33:37 -05:00
Guido Günther
13deae9b8f zypper: Add returncode to result
This will be used in integration tssts and makes the whole thing
more similar to the yum module.
2016-12-08 11:33:37 -05:00
Gordon Fierce
c23162c04b Fix documentation to prevent formatting error where each letter has its own line. 2016-12-08 11:33:37 -05:00
Brian Geihsler
30da816c54 Fix #1101: win_webpicmd strict mode fixes 2016-12-08 11:33:37 -05:00
Brian Coca
c60d6cad72 corrected version added to 2.1 2016-12-08 11:33:37 -05:00
Rob
f547c37db4 Use doc fragment and fix examples 2016-12-08 11:33:37 -05:00
Rob
2b0fc33fd5 Tolerate missing classic_link_enabled attribute 2016-12-08 11:33:37 -05:00
whiter
a873e9a3cb New module - ec2_vpc_net_facts 2016-12-08 11:33:37 -05:00
Atsushi Sasaki
6278cef67b Enable to resize a volume with cs_volume 2016-12-08 11:33:37 -05:00
gfrank
5b3363d178 Replace slashes in the parameter string Also remove duplicate documentation 2016-12-08 11:33:37 -05:00
Michael Scherer
4e4085ad7e Add a more explicit error message, fix #1282 2016-12-08 11:33:37 -05:00
Adam Keech
28baed011d Appending "Registry::" is not needed and no longer works. 2016-12-08 11:33:37 -05:00
Guillaume Grossetie
af12e6d3a3 Resolves #1312, Improve pam_limits documentation
Adds comment parameter and improve examples.
2016-12-08 11:33:37 -05:00
Michael Weber
bee443c983 Fix error 'fail_json() takes exactly 1 argument'
Fixes bug #1257
2016-12-08 11:33:36 -05:00
Josh Gachnang
058feb47c2 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 :)
2016-12-08 11:33:36 -05:00
Toshio Kuratomi
5bd1bcaa2d Don't raise or catch StandardError in amazon modules 2016-12-08 11:33:36 -05:00
GUILLAUME GROSSETIE
5fbc5cb529 Resolves #1290, Adds limit_type choice "-" 2016-12-08 11:33:36 -05:00
Rene Moser
2715cbffb7 cloudstack: new module cs_volume 2016-12-08 11:33:36 -05:00
Xav Paice
f30dbc9b20 Added stdout and stderr to puppet output for rc=2 2016-12-08 11:33:36 -05:00
Tom Bamford
fa9e1fd384 Ensure tag values get updated in ec2_vpc_subnet 2016-12-08 11:33:36 -05:00
Ryan Sydnor
1899e9e6cc 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.
2016-12-08 11:33:36 -05:00
Hans-Joachim Kliemeck
b3ffcd7c6c fix race condition and missing property 2016-12-08 11:33:36 -05:00
Jiri tyr
d4d24bac60 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.
2016-12-08 11:33:36 -05:00
Brian Coca
4ddb181d71 removed json import 2016-12-08 11:33:36 -05:00
Toshio Kuratomi
f68b88b84d Quote strings that make the module docs fail to build 2016-12-08 11:33:36 -05:00
Toshio Kuratomi
d6db0f3981 Switch StrictVersion for LooseVersion since some distros ship beta versions and StrictVersion would fail on that.
Also clean up some minor style things
2016-12-08 11:33:36 -05:00
Olaf Kilian
c048990419 Add requirement and check for compatible version of docker-py 2016-12-08 11:33:36 -05:00
Olaf Kilian
64838bb52d Set no_log for password argument 2016-12-08 11:33:35 -05:00
Olaf Kilian
7c8d1a1d0a Improve registry key parity between clients * Don't extract hostname part from docker_url since this leads to docker CLI client not recognizing Docker Hub credentials set by docker_login module anymore (looks for the full URL as a key). 2016-12-08 11:33:35 -05:00
Olaf Kilian
b826aa6b35 Rework change detection 2016-12-08 11:33:35 -05:00
Olaf Kilian
348cab4511 Adapt to new dockercfg file location and structure 2016-12-08 11:33:35 -05:00
Olaf Kilian
d330f72213 Make module importable for unit tests 2016-12-08 11:33:35 -05:00
Olaf Kilian
32862e737f Set default for email parameter to None 2016-12-08 11:33:35 -05:00
Olaf Kilian
dab1588253 Add requirement for python >= 2.6 2016-12-08 11:33:35 -05:00
Olaf Kilian
4ea0125dc6 Default registry to docker hub 2016-12-08 11:33:35 -05:00
Olaf Kilian
a64bae30b5 Added more meaningful fail messages on Docker API 2016-12-08 11:33:35 -05:00