sensu / sensu.sensu_go / 0.7.8 / module / handler_info Lists Sensu hanlders Authors: Aljaz Kosir (@aljazkosir), Miha Plesko (@miha-plesko), Tadej Borovsak (@tadeboro) preview | supported by XLAB Steampunksensu.sensu_go.handler_info (0.7.8) — module
Install with ansible-galaxy collection install sensu.sensu_go:==0.7.8
collections: - name: sensu.sensu_go version: 0.7.8
For more information, refer to the Sensu documentation at U(https://docs.sensu.io/sensu-go/latest/reference/handlers/)
- name: List Sensu handlers handler_info: register: result
auth: description: - Authentication parameters. Can define each of them with ENV as well. suboptions: namespace: default: default description: - RBAC namespace to operate in. If this is not set the value of the SENSU_NAMESPACE environment variable will be checked. type: str password: default: P@ssw0rd! description: - The Sensu user's password. If this is not set the value of the SENSU_PASSWORD environment variable will be checked. type: str url: default: http://localhost:8080 description: - Location of the Sensu backend API. If this is not set the value of the SENSU_URL environment variable will be checked. type: str user: default: admin description: - The username to use for connecting to the Sensu API. If this is not set the value of the SENSU_USER environment variable will be checked. type: str type: dict name: description: - Retrieve information about this specific object instead of listing all objects. type: str
objects: description: list of Sensu handlers returned: always type: list