David Moreau-Simard
7a56e5d45d
Add sensu_handler Ansible module
...
This provides a sensu_handler module in order to be able to dynamically
configure a Sensu handler.
2017-08-09 16:34:20 -04:00
Chad Bean
661d81ef86
Add new API param for new_host_delay ( #21262 )
2017-08-03 10:31:11 -06:00
Toshio Kuratomi
225fa5d092
Fix undefined variables, basestring usage, and some associated python3 issues
2017-07-25 15:58:23 -07:00
David Moreau-Simard
16073f5b08
Add the 'ttl' parameter for sensu_check
...
The TTL [1] parameter for checks allows Sensu to detect if a check
has gotten stale (i.e, stopped checking).
[1]: https://sensuapp.org/docs/latest/reference/checks.html#check-attributes
2017-07-18 18:40:39 -04:00
Toshio Kuratomi
d64e291274
Fix modules' use of BOOLEANS*
...
* The canonical location of BOOLEANS has moved. Switch imports to use that.
* clean up argument_spec use of booleans.
* Clean up imports to not use wildcards
* Remove usage of get_exception
2017-07-17 11:48:05 -07:00
Anders Ingemann
f018851303
sensu_subscription: Fix return type for 2 cases ( #26546 )
...
state=absent would cause errors in 2 cases resulting in the error:
"TypeError: 'bool' object is not iterable"
2017-07-10 15:07:25 -04:00
Abhijeet Kasurde
b89cb95609
Fix spelling mistakes (comments only) ( #25564 )
...
Original Author : klemens <ka7@github.com>
Taking over previous PR as per
https://github.com/ansible/ansible/pull/23644#issuecomment-307334525
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2017-06-12 07:55:19 +01:00
Abhijeet Kasurde
8a4a04b016
logicmonitor: remove closed statement, used for py2.4 compat ( #25240 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2017-06-07 08:23:29 +02:00
Sebastian Kornehl
5d0340a9e3
datadog_monitor: Idempotence fix ( #19217 )
...
* Added matching_downtimes to list of ignores values. Fixes : #19216
* Added overall_state_modified to list of ignores values. Fixes : #19216
2017-06-02 23:36:32 +02:00
Rene Moser
ff35d23a27
adjust versions added
2017-06-02 00:38:23 +02:00
Naoya Nakazawa
727b8c80be
support host parameter to datadog_event module ( #20914 )
2017-06-02 00:15:00 +02:00
Abhijeet Kasurde
07be5f2b67
spelling fixes (non-trivial, changing messages) ( #25094 )
...
Multiple spell fixes in single commit.
Taking over existing PR as per comment -
https://github.com/ansible/ansible/pull/23645#issuecomment-304312275
Original Author: klemens <ka7@github.com>
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2017-06-01 10:45:19 +01:00
Benjamin Curtis
16c2207d21
Fix return code ( #23592 )
...
The Honeybadger API returns 201 for success, not 200.
2017-05-30 22:01:42 +02:00
Steven Bambling
330ad92425
New module: Add Sensu Silence module (monitoring/sensu_silence.py) ( #24332 )
...
* adding module to control management of sensu silence entries
* adding doc stanza
* fixing some issues
* more cleanup
* fixing defaults
* fixing more doc issues
* fixing examples
* more fixes
2017-05-26 11:49:52 +01:00
Michael
b65ebf3519
Fixed import of urlencode and pathname2url from urllib for python3 ( #24424 )
2017-05-19 12:22:16 -05:00
Abhijeet Kasurde
e342b281d8
Check if api_key and app_key before proceeding ( #24336 )
...
Fix adds check if app_key and api_key provided by
user is correct or not. If this combination is wrong
then fail with appropriate error message given by
Datadog server
Fixes https://github.com/ansible/ansible/issues/24325
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2017-05-09 13:08:25 +01:00
Andrea Tartaglia
d1517f997a
fixed RETURN docs for modules ( #24011 )
...
* fixed RETURN docs for remaining modules
* updated proxymysql_mysql_users 'sample' to yaml dict
* fixed whitespace errors
2017-04-26 15:56:13 +01:00
Matt Martz
3164e8b561
E501 fixes ( #22879 )
2017-03-22 20:50:28 -05:00
Toshio Kuratomi
eb1214baad
New metadata 1.0 ( #22587 )
...
Changes to the metadata format were approved here:
https://github.com/ansible/proposals/issues/54
* Update documentation to the new metadata format
* Changes to metadata-tool to account for new metadata
* Add GPL license header
* Add upgrade subcommand to upgrade metadata version
* Change default metadata to the new format
* Fix exclusion of non-modules from the metadata report
* Fix ansible-doc for new module metadata
* Exclude metadata version from ansible-doc output
* Fix website docs generation for the new metadata
* Update metadata schema in valiate-modules test
* Update the metadata in all modules to the new version
2017-03-14 09:07:22 -07:00
John R Barker
e5b990a55a
Fix invalid fields in module DOCUMENATION ( #22297 )
...
* fix module doc fields
* More module docs corrections
* More module docs corrections
* More module docs corrections
* More module docs corrections
* correct aliases
* Review comments
* Must quote ':'
* More authors
* Use suboptions:
* restore type: bool
* type should be in the same place
* More tidyups
* authors
* Use suboptions
* revert
* remove duplicate author
* More issues post rebase
2017-03-09 16:20:25 +00:00
Kamil Cholewiński
ec9582fd83
Fix invocations of module.fail_json with no msg=
...
Bonus: add missing % in cs_nic.py
2017-03-07 10:17:14 -05:00
Matt Martz
305c88700d
PEP8 E712 fixes ( #21916 )
2017-02-24 16:49:43 -06:00
Matt Martz
7c00346714
Validate EXAMPLES as YAML
2017-02-15 13:01:43 -08:00
Dag Wieers
f824b2ce8d
Avoid having module documentation links to itself ( #21329 )
...
* Avoid having module documentation links to itself
A lot of modules use M(own_module) in their documentation causing a link
in the documentation to itself.
* Make note more clear now
2017-02-13 14:02:34 +00:00
Brian Coca
74e8aa22af
no log passwords ( #21229 )
...
* no log passwords
* removed unneeded no_log
2017-02-10 15:13:59 -05:00
Toshio Kuratomi
f75ffe46db
Make configparser imports python3 ready
...
the ConfigParser module was renamed to configparser in Python3. Use
six.moves to import it so that the modules will function on Python3.
2017-02-03 21:15:34 -08:00
Matt Martz
829c0b8f62
Update validate-modules ( #20932 )
...
* Update validate-modules
* Validates ANSIBLE_METADATA
* Ensures imports happen after documentation vars
* Some pep8 cleanup
* Clean up some left over unneeded code
* Update modules for new module guidelines and validate-modules checks
* Update imports for ec2_vpc_route_table and ec2_vpc_nat_gateway
2017-02-02 11:45:22 -08:00
Matt Clay
cb76200c7d
PEP 8 E111 & E114 cleanup. ( #20838 )
2017-01-30 15:01:47 -08:00
Matt Clay
10d9318de7
PEP 8 indent cleanup. ( #20800 )
...
* PEP 8 E121 cleanup.
* PEP 8 E126 cleanup.
* PEP 8 E122 cleanup.
2017-01-29 07:28:53 +00:00
Matt Clay
e2c0b375d3
PEP 8 cleanup. ( #20790 )
...
* PEP 8 E115 cleanup.
* PEP 8 E131 cleanup.
2017-01-28 01:39:40 -08:00
Matt Clay
d0d1158c5e
PEP 8 cleanup. ( #20789 )
...
* PEP 8 E703 cleanup.
* PEP 8 E701 cleanup.
* PEP 8 E711 cleanup.
* PEP 8 W191 and E101 cleanup.
2017-01-28 00:12:11 -08:00
Matt Clay
d913f69ba1
PEP 8 W291 whitespace cleanup.
2017-01-27 17:08:02 -08:00
Matt Clay
95789f3949
PEP 8 whitespace cleanup. ( #20783 )
...
* PEP 8 E271 whitespace cleanup.
* PEP 8 W293 whitespace cleanup.
* Fix whitespace issue from recent PR.
2017-01-27 15:45:23 -08:00
Loïc Blot
ebe621bb23
Add logstash_plugin to manange logstash plugins ( #20592 )
2017-01-24 15:52:51 +00:00
René Moser
f101a9bd73
icinga2_feature: Set LANG since we rely on the output by using regex ( #19742 )
...
- remove common return
- add ANSIBLE_METADATA
2016-12-30 09:06:49 +01:00
Ner'zhul
65f0155d8a
Add icinga2_feature module ( #19732 )
...
This module permits to tell icinga to enable or disable features
2016-12-29 14:05:22 +00:00
Carlos E. Garcia
0b8011436d
minor spelling changes
2016-12-13 13:51:13 -05:00
Andrea Tartaglia
ef391a11ec
Removed dict.iteritems() in modules. ( #18859 )
...
This is for py3 compatibility, addressed in #18506
2016-12-12 15:16:23 -08:00
Fabio Alessandro Locati
470d1e3aea
Remove unused quotes ( #19207 )
2016-12-12 14:07:03 +00:00
Fabio Alessandro Locati
cf5424e165
Remove useless quotes - monitoring/statusio_maintenance.py ( #19173 )
2016-12-11 20:00:11 +00:00
Fabio Alessandro Locati
e32b0da0b0
Improve examples - monitoring/logicmonitor_facts.py ( #19158 )
2016-12-10 09:24:13 -05:00
Fabio Alessandro Locati
3b509b1095
Avoid extending a class if it does not exists ( #19059 )
2016-12-09 17:31:07 -05:00
Fabio Alessandro Locati
c786f7ca3c
Native YAML - monitoring/logicmonitor.py ( #18790 )
...
* Native YAML - monitoring/logicmonitor.py
* Fix comments as well
* Fix quotes
2016-12-08 11:35:20 -05:00
Fabio Alessandro Locati
f8832bf302
Native YAML - monitoring/boundary_meter ( #18791 )
...
* Native YAML - monitoring/boundary_meter
* Fix apikey
2016-12-08 11:35:19 -05:00
Fabio Alessandro Locati
327cff7274
Native YAML - monitoring/pagerduty_alert ( #18784 )
2016-12-08 11:35:19 -05:00
James Cammarata
011ea55a8f
Relocating extras into lib/ansible/modules/ after merge
2016-12-08 11:35:18 -05:00