mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix icinga2_host requiring ip key. (#7452)
* Fix icinga2_host requiring ip key. Fixes #5248 * Add changelog fragment * Update changelogs/fragments/7452-fix-icinga2_host-requiring-ip-key.yml Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/modules/icinga2_host.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update changelogs/fragments/7452-fix-icinga2_host-requiring-ip-key.yml Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Donien <donien.96@hotmail.com> Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
2a7f9f28b9
commit
b6e1d04c0c
2 changed files with 4 additions and 2 deletions
|
@ -0,0 +1,2 @@
|
|||
minor_changes:
|
||||
- icinga2_host - the ``ip`` option is no longer required, since Icinga 2 allows for an empty address attribute (https://github.com/ansible-collections/community.general/pull/7452).
|
|
@ -106,7 +106,7 @@ options:
|
|||
type: str
|
||||
description:
|
||||
- The IP address of the host.
|
||||
required: true
|
||||
- This is no longer required since community.general 8.0.0.
|
||||
variables:
|
||||
type: dict
|
||||
description:
|
||||
|
@ -243,7 +243,7 @@ def main():
|
|||
template=dict(default=None),
|
||||
check_command=dict(default="hostalive"),
|
||||
display_name=dict(default=None),
|
||||
ip=dict(required=True),
|
||||
ip=dict(),
|
||||
variables=dict(type='dict', default=None),
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue