Files
community.general/plugins/modules
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
..
2020-03-09 09:11:07 +00:00
2020-06-26 09:17:51 +02:00
2020-06-10 21:01:16 +03:00
2020-06-26 09:17:51 +02:00
2020-06-26 09:17:51 +02:00
2020-06-26 09:17:51 +02:00
2020-06-26 09:17:51 +02:00
2020-06-26 09:17:51 +02:00
2020-07-17 07:39:37 +03:00
2020-06-26 09:17:51 +02:00
2020-06-26 09:17:51 +02:00
2020-06-26 09:17:51 +02:00
2020-08-11 17:54:41 +02:00
2020-06-26 09:17:51 +02:00
2020-08-18 09:10:41 +02:00
2020-06-26 09:17:51 +02:00
2020-06-26 09:17:51 +02:00