community.general.sensu_subscription – Manage Sensu subscriptions¶
Note
This plugin is part of the community.general collection (version 2.5.1).
To install it use: ansible-galaxy collection install community.general
.
To use it in a playbook, specify: community.general.sensu_subscription
.
Parameters¶
Examples¶
# Subscribe to the nginx channel
- name: Subscribe to nginx checks
community.general.sensu_subscription: name=nginx
# Unsubscribe from the common checks channel
- name: Unsubscribe from common checks
community.general.sensu_subscription: name=common state=absent
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
reasons
list
/ elements=string
|
success |
the reasons why the module changed or did not change something
Sample:
["channel subscription was absent and state is `present'"]
|
Authors¶
Anders Ingemann (@andsens)