Skip to content

Commit

Permalink
update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Telekom MMS GmbH committed Nov 19, 2024
1 parent a43aab1 commit 7825f8d
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions docs/icinga_notification_template.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,6 @@ Parameters
object_name (True, str, None)
Name of the notification template.

imports (optional, list, None)
Importable templates, add as many as you want. Required when state is :literal:`present`.

Please note that order matters when importing properties from multiple templates - last one wins.

Required if :emphasis:`state` is :literal:`present`.

notification_interval (optional, str, None)
The notification interval (in seconds). This interval is used for active notifications.
Expand Down Expand Up @@ -90,6 +84,14 @@ Parameters
Note - Variables that are set by default will also be applied, even if not set.


imports (optional, list, None)
Importable templates, add as many as you want. Required when state is :literal:`present`.

Please note that order matters when importing properties from multiple templates - last one wins.

Required if :emphasis:`state` is :literal:`present`.


url (True, str, None)
HTTP, HTTPS, or FTP URL in the form (http|https|ftp)://[user[:pass]]@host.domain[:port]/path

Expand Down Expand Up @@ -167,16 +169,14 @@ Examples

.. code-block:: yaml+jinja


- name: Create notification template
telekom_mms.icinga_director.icinga_notification_template:
state: present
url: "{{ icinga_url }}"
url_username: "{{ icinga_user }}"
url_password: "{{ icinga_pass }}"
object_name: foonotificationtemplate
imports:
- foonotificationtemplate
states:
- Up
- Down
Expand All @@ -200,8 +200,6 @@ Examples
url_username: "{{ icinga_user }}"
url_password: "{{ icinga_pass }}"
object_name: foonotificationtemplate
imports:
- foonotificationtemplate
notification_interval: '0'
append: true

Expand Down

0 comments on commit 7825f8d

Please sign in to comment.