automatics.automatics.automatics_workflow_info module – Gather information on automatics workflows
Note
This module is part of the automatics.automatics collection (version version_filler).
To install it, use: ansible-galaxy collection install automatics.automatics.
To use it in a playbook, specify: automatics.automatics.automatics_workflow_info.
Synopsis
Gathers information on automatics workflows
Parameters
Parameter |
Comments |
|---|---|
automatics authentication bearer token returned from automatics_login module |
|
Hostname of the automatics server. |
|
Verify the https certificate of the automatics server. Choices:
|
|
workflow in automatics to select for the operation (name matching) |
|
workflow in automatics to select for the operation (id matching) |
Notes
Note
if ‘workflow’ or ‘workflow_id’ is given, detailed information on this workflow is returned
if neither ‘workflow’ nor ‘workflow_id’ is given, a list of all workflows with shortened info is returned
Examples
- name: Gather basic information on all automatics workflows
automatics.automatics.automatics_workflow_info:
hostname: automatics.example.org
auth_token: aW4iLCJlbWFpbCI6ImFkbWluIiw...
validate_certs: false
- name: Gather detailed information on a specific automatics workflow
automatics.automatics.automatics_node_info:
hostname: automatics.example.org
auth_token: aW4iLCJlbWFpbCI6ImFkbWluIiw...
validate_certs: false
workflow_id: 251af40c-c3f9-4749-a23c-fb79ffd3a5de
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
|---|---|
Information on given automatics nodes Returned: with workflow_id param Sample: |
|
Information on given automatics nodes Returned: without workflow_id param Sample: |