community.general.icinga2 (3.8.10) — inventory

Icinga2 inventory source

| "added in version" 3.7.0 of community.general"

Authors: Cliff Hults (@BongoEADGC6) <cliff.hults@gmail.com>

Install collection

Install with ansible-galaxy collection install community.general:==3.8.10


Add to requirements.yml

  collections:
    - name: community.general
      version: 3.8.10

Description

Get inventory hosts from the Icinga2 API.

Uses a configuration file as an inventory source, it must end in C(.icinga2.yml) or C(.icinga2.yaml).

Inputs

    
url:
    description: Root URL of Icinga2 API.
    required: true
    type: string

user:
    description: Username to query the API.
    required: true
    type: string

plugin:
    choices:
    - community.general.icinga2
    description: Name of the plugin.
    required: true
    type: string

password:
    description: Password to query the API.
    required: true
    type: string

host_filter:
    description: An Icinga2 API valid host filter.
    required: false
    type: string

validate_certs:
    default: true
    description: Enables or disables SSL certificate verification.
    type: boolean