mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
961011891b
* [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>
(cherry picked from commit
|
||
---|---|---|
.. | ||
datadog | ||
sensu | ||
airbrake_deployment.py | ||
bigpanda.py | ||
circonus_annotation.py | ||
honeybadger_deployment.py | ||
icinga2_feature.py | ||
icinga2_host.py | ||
librato_annotation.py | ||
logentries.py | ||
logstash_plugin.py | ||
monit.py | ||
nagios.py | ||
newrelic_deployment.py | ||
pagerduty.py | ||
pagerduty_alert.py | ||
pagerduty_change.py | ||
pagerduty_user.py | ||
pingdom.py | ||
rollbar_deployment.py | ||
spectrum_device.py | ||
stackdriver.py | ||
statusio_maintenance.py | ||
uptimerobot.py |