Note
This plugin is part of the awx.awx collection.
To install it use: ansible-galaxy collection install awx.awx
.
To use it in a playbook, specify: awx.awx.tower_workflow_job_template_node
.
Parameter | Choices/Defaults | Comments |
---|---|---|
all_parents_must_converge boolean |
| If enabled then the node will only run if all of the parent nodes have met the criteria to reach this node |
always_nodes list / elements=string | Nodes that will run after this node completes. List of node identifiers. | |
credentials list / elements=string | Credentials to be applied to job as launch-time prompts. List of credential names. Uniqueness is not handled rigorously. | |
diff_mode boolean |
| Run diff mode, applied as a prompt, if job template prompts for diff mode |
extra_data dictionary | Default: {} | Variables to apply at launch time. Will only be accepted if job template prompts for vars or has a survey asking for those vars. |
failure_nodes list / elements=string | Nodes that will run after this node on failure. List of node identifiers. | |
identifier string / required | An identifier for this node that is unique within its workflow. It is copied to workflow job nodes corresponding to this node. | |
inventory string | Inventory applied as a prompt, if job template prompts for inventory | |
job_tags string | Job tags applied as a prompt, if job template prompts for job tags | |
job_type string |
| Job type applied as a prompt, if job template prompts for job type |
limit string | Limit to act on, applied as a prompt, if job template prompts for limit | |
organization string | The organization of the workflow job template the node exists in. Used for looking up the workflow, not a direct model field. | |
scm_branch string | SCM branch applied as a prompt, if job template prompts for SCM branch | |
skip_tags string | Tags to skip, applied as a prompt, if job tempalte prompts for job tags | |
state string |
| Desired state of the resource. |
success_nodes list / elements=string | Nodes that will run after this node on success. List of node identifiers. | |
tower_config_file path | Path to the Tower or AWX config file. If provided, the other locations for config files will not be considered. | |
tower_host string | URL to your Tower or AWX instance. If value not set, will try environment variable TOWER_HOST and then config filesIf value not specified by any means, the value of 127.0.0.1 will be used | |
tower_oauthtoken raw added in 3.7 of awx.awx | The Tower OAuth token to use. This value can be in one of two formats. A string which is the token itself. (i.e. bqV5txm97wqJqtkxlMkhQz0pKhRMMX) A dictionary structure as returned by the tower_token module. If value not set, will try environment variable TOWER_OAUTH_TOKEN and then config files | |
tower_password string | Password for your Tower or AWX instance. If value not set, will try environment variable TOWER_PASSWORD and then config files | |
tower_username string | Username for your Tower or AWX instance. If value not set, will try environment variable TOWER_USERNAME and then config files | |
unified_job_template string | Name of unified job template to run in the workflow. Can be a job template, project, inventory source, etc. Omit if creating an approval node (not yet implemented). | |
validate_certs boolean |
| Whether to allow insecure connections to Tower or AWX. If no , SSL certificates will not be validated.This should only be used on personally controlled sites using self-signed certificates. If value not set, will try environment variable TOWER_VERIFY_SSL and then config filesaliases: tower_verify_ssl |
verbosity string |
| Verbosity applied as a prompt, if job template prompts for verbosity |
workflow_job_template string / required | The workflow job template the node exists in. Used for looking up the node, cannot be modified after creation. aliases: workflow |
Note
- name: Create a node, follows tower_workflow_job_template example tower_workflow_job_template_node: identifier: my-first-node workflow: example-workflow unified_job_template: jt-for-node-use organization: Default # organization of workflow job template extra_data: foo_key: bar_value - name: Create parent node for prior node tower_workflow_job_template_node: identifier: my-root-node workflow: example-workflow unified_job_template: jt-for-node-use organization: Default success_nodes: - my-first-node
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.10/collections/awx/awx/tower_workflow_job_template_node_module.html