Martin
70ba401602
[icinga2_host.py] Actually return codes instead of data ( #335 )
...
* [icinga2_host.py] Actually return codes instead of data
Currently the module tries to return the `data`, which can result in a blank message instead of the code being shown.
```
"msg": "bad return code creating host: "
```
* add changelog fragment
* Update changelogs/fragments/335-icinga2_host-return-error-code.yaml
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
* return code and data on fail
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: John R Barker <john@johnrbarker.com>
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
Co-authored-by: Deric Crago <deric.crago@gmail.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2020-12-02 09:38:56 +03:00
Alexei Znamensky
ce5fc7764a
Tidy up validate-modules ignores for monitoring modules ( #1350 )
...
* fixed validation-modules for plugins/modules/monitoring/bigpanda.py
* fixed validation-modules for plugins/modules/monitoring/circonus_annotation.py
* fixed validation-modules for plugins/modules/monitoring/honeybadger_deployment.py
* fixed validation-modules for plugins/modules/monitoring/icinga2_feature.py
* fixed validation-modules for plugins/modules/monitoring/icinga2_host.py
* fixed validation-modules for plugins/modules/monitoring/librato_annotation.py
* fixed validation-modules for plugins/modules/monitoring/logentries.py
* fixed validation-modules for plugins/modules/monitoring/logstash_plugin.py
* fixed validation-modules for plugins/modules/monitoring/newrelic_deployment.py
* fixed validation-modules for plugins/modules/monitoring/pagerduty_alert.py
* fixed validation-modules for plugins/modules/monitoring/pagerduty.py
* fixed validation-modules for plugins/modules/monitoring/pingdom.py
* fixed validation-modules for plugins/modules/monitoring/rollbar_deployment.py
* fixed validation-modules for plugins/modules/monitoring/spectrum_device.py
* fixed validation-modules for plugins/modules/monitoring/stackdriver.py
* fixed validation-modules for plugins/modules/monitoring/statusio_maintenance.py
* fixed validation-modules for plugins/modules/monitoring/uptimerobot.py
* fixed validation-modules for plugins/modules/monitoring/datadog/datadog_event.py
* fixed validation-modules for plugins/modules/monitoring/datadog/datadog_monitor.py
* fixed validation-modules for plugins/modules/monitoring/sensu/sensu_check.py
* fixed validation-modules for plugins/modules/monitoring/sensu/sensu_client.py
* fixed validation-modules for plugins/modules/monitoring/sensu/sensu_handler.py
* fixed validation-modules for plugins/modules/monitoring/sensu/sensu_silence.py
* fixed validation-modules for plugins/modules/monitoring/sensu/sensu_subscription.py
* fixed trailing space
* Enabling validation-modules for monitoring modules
* Added line for 2.9
* Update plugins/modules/monitoring/icinga2_host.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/monitoring/datadog/datadog_event.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Suggestion from PR
* oops, missed the 2.11 ignore file
* Update plugins/modules/monitoring/icinga2_host.py
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
2020-11-23 22:07:03 +01:00
Andrew Klychkov
41cfdda6a3
modules: fix examples to use FQCN ( #644 )
...
* modules: fix examples to use FQCN
* fix
* fix
* fix
2020-07-13 21:50:31 +02:00
Andrew Klychkov
5d226f86b6
Remove ANSIBLE_METADATA ( #339 )
...
* Remove ANSIBLE_METADATA
* remove from other modules
* remove from plugins and scripts
2020-05-14 14:03:42 +01:00
Ansible Core Team
aebc1b03fd
Initial commit
2020-03-09 09:11:07 +00:00