sensu / sensu.sensu_go / 0.3.0 / module / sensu_go_namespace Manages Sensu namespaces | "added in version" 0.1.0 of sensu.sensu_go" Authors: Paul Arthur (@flowerysong) preview | supported by communitysensu.sensu_go.sensu_go_namespace (0.3.0) — module
Install with ansible-galaxy collection install sensu.sensu_go:==0.3.0
collections: - name: sensu.sensu_go version: 0.3.0
For more information, refer to the Sensu documentation: U(https://docs.sensu.io/sensu-go/latest/reference/rbac/)
- name: Create a new namespace sensu_go_namespace: name: production state: present
- name: Delete a namespace sensu_go_namespace: name: staging state: absent
url: default: http://localhost:8080 description: - Location of the Sensu backend API. If this is not set the value of the SENSU_BACKEND_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 state: choices: - present - absent default: present description: - Desired state of the namespace. 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 namespace: aliases: - name default: null description: - Name of the namespace required: true type: str