ansible / ansible.builtin / v2.7.16 / module / icinga2_feature Manage Icinga2 feature | "added in version" 2.3 of ansible.builtin" Authors: Loic Blot (@nerzhul) preview | supported by communityansible.builtin.icinga2_feature (v2.7.16) — module
pip
Install with pip install ansible==2.7.16
This module can be used to enable or disable an Icinga2 feature.
- name: Enable ido-pgsql feature icinga2_feature: name: ido-pgsql state: present
- name: Disable api feature icinga2_feature: name: api state: absent
name: description: - This is the feature name to enable or disable. required: true 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.