maintenance_token
This lookup returns a maintenance token which can be used for uninstalls and other maintenance
Added in version 4.4.0
Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
_terms | No | The host ID (AID) for which the maintenance token should be fetched. If O(bulk) is set to true, this parameter is ignored. | ||
bulk | bool | No | false | Retrieve a bulk maintenance token. |
Examples
Section titled “Examples”- name: Print maintenance token for a specific host ansible.builtin.debug: msg: "{{ lookup('crowdstrike.falcon.maintenance_token', '12345678901234567890') }}"
- name: Print maintenance token for multiple hosts ansible.builtin.debug: msg: "{{ lookup('crowdstrike.falcon.maintenance_token', '12345678901234567890', '09876543210987654321') }}"
- name: Print bulk maintenance token ansible.builtin.debug: msg: "{{ lookup('crowdstrike.falcon.maintenance_token', bulk=true) }}"Return Values
Section titled “Return Values”| Key | Type | Description |
|---|---|---|
_raw | O |