bodsch / bodsch.icinga / 1.1.0 / module / icinga2_features Manage multiple Icinga2 features at once Authors: Bodo Schulz <bodo@boone-schulz.de> (@schulzbo)bodsch.icinga.icinga2_features (1.1.0) — module
Install with ansible-galaxy collection install bodsch.icinga:==1.1.0
collections: - name: bodsch.icinga version: 1.1.0
This module can be used to enable or disable more than on Icinga2 feature.
- name: Enable ido-pgsql feature icinga2_features: feature: - ido-pgsql state: present
- name: Disable more features icinga2_features: feature: - perfdata - notification - livestatus state: absent
- name: Disable api feature icinga2_features: feature: - api state: absent
state: choices: - present - absent default: present description: - If set to C(present) and feature is disabled, then feature is enabled. - If set to C(present) and feature is already enabled, then nothing is changed. - If set to C(absent) and feature is enabled, then feature is disabled. - If set to C(absent) and feature is already disabled, then nothing is changed. type: str features: description: - This list conatins the feature names to enable or disable. required: true type: list