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/plugins
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
..
action iptables_state: fix race condition between module and its action plugin (#1140) (#1143) 2020-10-20 22:46:12 +02:00
become Fix various sanity errors in plugins (#881) (#893) 2020-09-17 16:39:57 +00:00
cache Fix the linode inventory plugin, and the redis and memcached cache plugins (#1281, #1282, #1283). 2020-11-13 22:06:41 +01:00
callback Improve plugin sanity (#966) (#984) 2020-09-29 04:04:05 +00:00
connection Improve plugin sanity (#966) (#984) 2020-09-29 04:04:05 +00:00
doc_fragments Tidy up validate-modules:doc-required-mismatch (#1415) (#1417) 2020-11-28 15:41:36 +01:00
filter Add filter dict_kv (#1264) (#1374) 2020-11-24 06:23:37 +01:00
inventory Fix the linode inventory plugin, and the redis and memcached cache plugins (#1281, #1282, #1283). 2020-11-13 22:06:41 +01:00
lookup Added umask option to passwordstore lookup plugin. (#1156) (#1376) 2020-11-24 07:36:15 +00:00
module_utils proxmox: create a common base (#1331) (#1378) 2020-11-24 17:56:50 +01:00
modules [icinga2_host.py] Actually return codes instead of data (#335) (#1431) 2020-12-02 08:17:26 +01:00