community.general/lib/ansible/modules
Gaudenz Steinlin 4c94c6f9ba cloudscale_server: add timeout param and increase default timeout (#33088)
* Improve error message in cloudscale_server module

Fix punctuation and add the full contents of "info" to the output in
case of failed API calls. This is useful in case of connection timeouts
and other error conditions where there is no response body available.

* Increase timeouts in cloudscale_server module

Increase the timeouts to not fail in case the API calls take a bit
longer than usual. The default timeout of fetch_url is 10s which is
quite short. Increase it to 30s. The timeout for waiting for a server
change is increased as well as it calls the API in a loop. Therefore
this value should be larger than the API timeout.

* Send API parameters as JSON in cloudscale_server module

Use JSON to send the POST data to the API instead of an urlencoded
string. Urlencoding is not really a good match for some Python
datatypes.

This fixes an issue when submitting a list of SSH keys which did not get
translated properly.

* Fix typo in cloudscale_server documentation

* cloudscale_sever: Replace timeout const by api_timeout param

Replace the static TIMEOUT_API constant by a user configurable
api_timeout parameter. Also eliminate the TIMEOUT_WAIT constant by
2*api_timeout. This means that the timeout to wait for server changes is
always double the timeout for API calls.

* Use Debian 9 image for cloudscale_server tests
2017-11-22 10:30:31 +01:00
..
cloud cloudscale_server: add timeout param and increase default timeout (#33088) 2017-11-22 10:30:31 +01:00
clustering consul_session: PEP8 compliancy and documentation changes (#33000) 2017-11-17 21:48:36 +01:00
commands Add proper check mode support to the script module (#31852) 2017-11-13 15:33:44 -08:00
crypto Fix a typo in the examples (#32599) 2017-11-06 19:39:10 +01:00
database Fix invalid string escape sequences. 2017-11-21 20:59:08 -08:00
files Fix invalid string escape sequences. 2017-11-21 20:59:08 -08:00
identity New module for managing IPA Sub CA (#25640) 2017-11-16 02:21:59 +00:00
inventory Fix invalid string escape sequences. 2017-11-21 20:59:08 -08:00
messaging Add max_priority to give priority ability to a queue 2017-09-08 16:09:50 -07:00
monitoring Fix invalid string escape sequences. 2017-11-21 20:59:08 -08:00
net_tools Pass proper error value to to_text (#33030) 2017-11-17 16:00:29 -05:00
network Fix anomalous backslashes and enable pylint test. 2017-11-21 23:22:51 -08:00
notification Fix invalid string escape sequences. 2017-11-21 20:59:08 -08:00
packaging Fix invalid string escape sequences. 2017-11-21 20:59:08 -08:00
remote_management Fix invalid string escape sequences. 2017-11-21 20:59:08 -08:00
source_control Fix duplicate type keyword 2017-11-06 14:10:17 +01:00
storage zfs: PEP8 compliancy and documentation changes (#32648) 2017-11-07 15:33:32 -05:00
system Fix firewalld to fail with correct version numbers (#33144) 2017-11-22 08:39:06 +01:00
utilities Add echo option to pause module (#32205) 2017-11-03 13:32:36 -04:00
web_infrastructure letsencrypt: update agreement default to newest gathered 2017-11-20 12:09:11 -05:00
windows win_updates: removed scheduled task to use become instead (#33118) 2017-11-21 13:49:38 -08:00
__init__.py Re-adding the init py for modules 2016-12-08 11:35:20 -05:00