telekom-mms/ansible-collection-icinga-director

Removing host from icinga directory

Closed this issue · 2 comments

Question

Hello,
Can you provide an example of removing a host from Icinga?

Thank you.

- name: delete a host in icinga
  t_systems_mms.icinga_director.icinga_host:
    state: absent
    url: "{{ icinga_url }}"
    url_username: "{{ icinga_user }}"
    url_password: "{{ icinga_pass }}"
    object_name: "foohost"

Worked like a charm!
Thank you!