diff --git a/awx_collection/plugins/modules/workflow_job_template.py b/awx_collection/plugins/modules/workflow_job_template.py index 09635175d6..e1667b3b21 100644 --- a/awx_collection/plugins/modules/workflow_job_template.py +++ b/awx_collection/plugins/modules/workflow_job_template.py @@ -789,6 +789,7 @@ def main(): allow_simultaneous=dict(type='bool'), ask_variables_on_launch=dict(type='bool'), ask_labels_on_launch=dict(type='bool', aliases=['ask_labels']), + ask_tags_on_launch=dict(type='bool'), ask_skip_tags_on_launch=dict(type='bool', aliases=['ask_skip_tags']), inventory=dict(), limit=dict(), @@ -873,6 +874,7 @@ def main(): 'ask_limit_on_launch', 'ask_variables_on_launch', 'ask_labels_on_launch', + 'ask_tags_on_launch', 'ask_skip_tags_on_launch', 'webhook_service', 'job_tags', diff --git a/awx_collection/tests/integration/targets/workflow_job_template/tasks/main.yml b/awx_collection/tests/integration/targets/workflow_job_template/tasks/main.yml index 27de3947d7..1477193e6c 100644 --- a/awx_collection/tests/integration/targets/workflow_job_template/tasks/main.yml +++ b/awx_collection/tests/integration/targets/workflow_job_template/tasks/main.yml @@ -245,6 +245,7 @@ ask_inventory_on_launch: true ask_scm_branch_on_launch: true ask_limit_on_launch: true + ask_tags_on_launch: true ask_variables_on_launch: true register: result @@ -263,6 +264,7 @@ ask_inventory_on_launch: true ask_scm_branch_on_launch: true ask_limit_on_launch: true + ask_tags_on_launch: true ask_variables_on_launch: true register: bad_label_results ignore_errors: true @@ -278,6 +280,7 @@ ask_inventory_on_launch: false ask_scm_branch_on_launch: false ask_limit_on_launch: false + ask_tags_on_launch: false ask_variables_on_launch: false state: present