On this page
icinga2_feature - Manage Icinga2 feature
New in version 2.3.
Synopsis
- This module can be used to enable or disable an Icinga2 feature.
 
Parameters
| Parameter | Choices/Defaults | Comments | 
|---|---|---|
| name  
        required
         | 
      
        
        This is the feature name to enable or disable.
         | 
     |
| state | 
       
  | 
      
        
        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
  icinga2_feature:
    name: ido-pgsql
    state: present
- name: Disable api feature
  icinga2_feature:
    name: api
    state: absent
  Status
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
Maintenance
This module is flagged as community which means that it is maintained by the Ansible Community. See Module Maintenance & Support for more info.
For a list of other modules that are also maintained by the Ansible Community, see here.
Author
- Loic Blot (@nerzhul)
 
Hint
If you notice any issues in this documentation you can edit this document to improve it.
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
 https://docs.ansible.com/ansible/2.6/modules/icinga2_feature_module.html