community.general.icinga2_feature module – Manage Icinga2 feature
Note
This module is part of the community.general collection (version 10.7.5).
You might already have this collection installed if you are using the ansible package.
It is not included in ansible-core.
To check whether it is installed, run ansible-galaxy collection list.
To install it, use: ansible-galaxy collection install community.general.
To use it in a playbook, specify: community.general.icinga2_feature.
Synopsis
- This module can be used to enable or disable an Icinga2 feature. 
Parameters
| Parameter | Comments | 
|---|---|
| This is the feature name to enable or disable. | |
| If set to  If set to  If set to  If set to  Choices: 
 | 
Attributes
| Attribute | Support | Description | 
|---|---|---|
| Support: full | Can run in  | |
| Support: none | Will return details on what has changed (or possibly needs changing in  | 
Examples
- name: Enable ido-pgsql feature
  community.general.icinga2_feature:
    name: ido-pgsql
    state: present
- name: Disable api feature
  community.general.icinga2_feature:
    name: api
    state: absent
