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/fragments
patchback[bot] 961011891b
[icinga2_host.py] Actually return codes instead of data (#335) (#1431)
* [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 70ba401602)

Co-authored-by: Martin <spleefer90@gmail.com>
2020-12-02 08:17:26 +01:00
..
.keep Rename changelogs/fragments/.empty -> changelogs/fragments/.keep 2020-08-07 08:18:40 +02:00
335-icinga2_host-return-error-code.yaml [icinga2_host.py] Actually return codes instead of data (#335) (#1431) 2020-12-02 08:17:26 +01:00
1399-fixed-wrong-elements-type.yaml Tidy up validate-modules:doc-elements-mismatch (#1399) (#1407) 2020-11-27 08:25:08 +01:00
1415-valmod_req_mismatch.yml Tidy up validate-modules:doc-required-mismatch (#1415) (#1417) 2020-11-28 15:41:36 +01:00
1423-valmod_multiple_cases.yml Tidy up validate-modules:no-default-for-required-parameter and other cases (#1423) (#1429) 2020-12-01 21:13:54 +00:00