Commit graph

115 commits

Author SHA1 Message Date
Michael Grüner
d69a6f20da letsencrypt: Improve error handling (#2868)
* letsencrypt: improve error handling

Use the new "body" field of the info dict in case of a HTTPError.

* letsencrypt: HTTP 202 is a valid status while polling
2016-09-14 14:16:51 +02:00
René Moser
6d37aa4260 jenkins_job fix: NameError: global name 'module' is not defined (#2910) 2016-09-14 10:43:27 +02:00
René Moser
afd0b23836 Merge pull request #2892 from resmo/fix/streamline_jenkins_job
streamline jenkins job module
2016-09-13 16:02:57 +02:00
Rene Moser
79efc2c70f jenkins_job: refactoring 2016-09-11 00:07:38 +02:00
Rene Moser
66e69b3ad3 jenkins_job: implement diff support 2016-09-11 00:07:02 +02:00
Rene Moser
407e19fe4f jenkins_job: rename enable to enabled and mutually exclusive with config
Jenkins stores the information about the state (disabled/enabled) in the config, which result in a race condition between `config` and `enabled` and we loose idempotency. It makes sense to define them mutually exclusive.

Renamed `enable` to `enabled`. Ansible uses the name `enabled` in many modules, e.g. service as it indicates a state not an action.
2016-09-11 00:06:52 +02:00
Rene Moser
472f174693 jenkins_job: default state to present 2016-09-10 09:07:09 +02:00
sgujic
ac0e6d2c4d Create temporary file in a secure manner. (#2887) 2016-09-09 14:47:49 -04:00
sermilrod
c848957792 adding jenkins_job module (#2521) 2016-09-05 22:04:33 +02:00
Olivier Boukili
ae2fdd5b57 new module: apache2_mod_proxy (#2148)
* module apache2_mod_proxy

* Moved state notes to state description.
2016-08-30 19:44:39 +01:00
Jiri Tyr
f25bf01053 Adding jenkins_plugin module (#1730) 2016-08-23 18:13:55 -07:00
Richard Metzler
cfff23fa4a letsencrypt: update URL for agreement pdf (#2696)
The Let's Encrypt Subscriber Agreement changed on Aug 01, 2016
https://letsencrypt.org/repository/
2016-08-24 00:27:47 +02:00
Dag Wieers
1563b727a4 Adapt module to use new module._name property (#2408)
This is in line with the change from ansible/ansible#16087
2016-06-10 11:44:18 -04:00
Chris Weber
04ae0a3ebb Fixed exceptions to use python 2.4 helper function and added import also works on python 3 (#2363) 2016-06-02 11:58:38 -07:00
René Moser
4874ceefa5 letsencrypt: fix tests failures (#2360) 2016-06-02 09:31:08 +02:00
Michael Grüner
bb6504c8d3 Add Let's Encrypt module to manage ssl certificates (#1962)
Fixes #1545
2016-06-01 23:02:05 +02:00
Rudi Meyer
28ae506c12 Jira will return a HTTP status code 201 on some actions, fx. 'comment'. (#2115) 2016-05-02 08:48:03 -04:00
Toshio Kuratomi
39d6066f51 Trick ansible-modules-validate to pass this with no RETURN.
This is a module present in 1.9 so we have to have it in even though it doesn't have RETURN
2016-01-12 11:25:56 -08:00
Alejandro Guirao
5bd31ada0e Change for enabling future tests 2016-01-12 13:37:39 -05:00
Alejandro Guirao
0e492bb378 Change example to match a severity providen by Taiga out-of-the-box 2016-01-12 13:37:39 -05:00
Alejandro Guirao
92e2ea2cef Minor example change 2016-01-12 13:37:39 -05:00
Alejandro Guirao
8d5ecca97f Fix version_added in DOCUMENTATION 2016-01-12 13:37:39 -05:00
Alejandro Guirao
9d40ed90bb Fix DOCUMENTATION typo 2016-01-12 13:37:39 -05:00
Alejandro Guirao
58a61459b3 Add taiga_issue module 2016-01-12 13:37:39 -05:00
Brian Coca
8327b862d6 Merge pull request #1439 from stivio/devel
little fix: facts['path'] -> facts['project_path']
2016-01-12 10:53:46 -05:00
Toshio Kuratomi
d6af6f8477 Update for modules which import json.
Some do not use the json module directly so don't need import json.
Some needed to fallback to simplejson with no traceback if neither was installed

Fixes #1298
2016-01-11 13:06:22 -08:00
Stanislav Ivchin
1dd62b13fa little fix: facts['path'] -> facts['project_path'] 2015-12-30 15:53:36 +03:00
Robert Lu
8d05d4e909 check current version's existence (fire or cleanup)
* reserve current version when cleanup
* verify existence before fire a new version
* update doc of deploy_helper
2015-12-16 14:49:23 +08:00
Robert Lu
822eb97ec8 update current_link without downtime
fix support of check mode
fix check module when needn't update current link
2015-12-16 10:20:10 +08:00
Ramon de la Fuente
a8ac83e397 module guideline changes 2015-10-08 14:25:07 +02:00
Ramon de la Fuente
ce76d813c3 added the folder structure and general explanation to examples, removed module name typo 2015-10-08 10:52:35 +02:00
Ramon de la Fuente
35ec03ec00 removed link to guide, and added more documentation and examples 2015-10-08 10:52:35 +02:00
Ramon de la Fuente
559a7e7a32 adding the deploy_helper module 2015-10-08 10:52:35 +02:00
Greg DeKoenigsberg
004dedba8a Changes to author formatting, remove emails 2015-06-16 14:32:39 -04:00
Brian Coca
5187c7fcd7 removed executable bit 2015-05-21 07:03:49 -04:00
Brian Coca
08445418aa more string corrections 2015-05-14 10:45:32 -04:00
Brian Coca
edf519a0c2 moar quotes 2015-05-14 09:37:00 -04:00
Greg DeKoenigsberg
e687c6f115 Adding author's github id 2015-05-14 01:25:28 -04:00
Greg DeKoenigsberg
c76f37e53b Adding author's github id 2015-05-14 01:21:46 -04:00
Greg DeKoenigsberg
58cc8f8240 Adding author's github id 2015-05-14 01:20:25 -04:00
Matt Martz
e568032bc3 Fix up modules that have python24 syntax error 2015-05-11 09:51:48 -05:00
Toshio Kuratomi
5a514ccdda Move from md5 to sha1 to work on fips-140 enabled systems 2014-11-06 21:26:52 -08:00
Michael DeHaan
110250d344 package files 2014-09-26 11:04:10 -04:00
Michael DeHaan
b1e789968b File extensions! 2014-09-26 10:40:16 -04:00
Michael DeHaan
50f105578a Restructuring. 2014-09-26 10:14:28 -04:00
Michael DeHaan
73123b69fa Move modules into subdirectory. 2014-09-26 09:23:50 -04:00
James Cammarata
ba062de744 Merge branch '7736' of https://github.com/kcghost/ansible into kcghost-7736 2014-08-08 19:30:04 -05:00
Michael DeHaan
76eb5064f4 Merge pull request #7520 from jjneely/a2enmod
apache2_module module fixes
2014-08-08 12:40:13 -04:00
Casey Fitzpatrick
c0543db5f3 apache2_module handles multiple lines of output, fixes #7736 and #7857 2014-06-24 20:37:49 -04:00
Joel Crocker
df0f2b9c52 Updates django_manage so it populates VIRTUAL_ENV
Virtualenv's activate script sets the VIRTUAL_ENV environment variable to the path of the virtualenv. Checking this variable is a reasonably common way to verify that execution is happening in a virtualenv. It would be convenient if this module's virtualenv handling set this environment variable.
2014-06-17 12:01:14 -04:00