community.general.icinga2_feature – Manage Icinga2 feature

From Get docs
Ansible/docs/2.11/collections/community/general/icinga2 feature module


community.general.icinga2_feature – Manage Icinga2 feature

Note

This plugin is part of the community.general collection (version 2.0.1).

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 Choices/Defaults Comments

name

string / required

This is the feature name to enable or disable.

state

string

  • present

  • absent

If set to present and feature is disabled, then feature is enabled.

If set to present and feature is already enabled, then nothing is changed.

If set to absent and feature is enabled, then feature is disabled.

If set to absent and feature is already disabled, then nothing is changed.



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

Authors

  • Loic Blot (@nerzhul)

© 2012–2018 Michael DeHaan
© 2018–2021 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.11/collections/community/general/icinga2_feature_module.html