1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/changelogs
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
..
fragments [icinga2_host.py] Actually return codes instead of data (#335) 2020-12-02 09:38:56 +03:00
.gitignore Add extra sanity tests and changelog config. (#352) 2020-05-18 19:36:35 +02:00
changelog.yaml Cleanup changelog for not included zabbix plugins (#760) 2020-08-11 08:02:30 +02:00
config.yaml Enable flatmapping for changelog generator. (#551) 2020-06-21 17:00:49 +02:00