summaryrefslogtreecommitdiffstats
path: root/awx_collection/tests/integration/targets
diff options
context:
space:
mode:
authorsoftwarefactory-project-zuul[bot] <33884098+softwarefactory-project-zuul[bot]@users.noreply.github.com>2021-05-04 18:13:16 +0200
committerGitHub <noreply@github.com>2021-05-04 18:13:16 +0200
commit10474cd64ce5a8c5f82cbed8da355df8a3f4989e (patch)
tree1f3c6d1891327302879e2befe0e03d8c1ba40284 /awx_collection/tests/integration/targets
parentMerge pull request #10047 from sean-m-sullivan/org_label (diff)
parentfix job launch inputs (diff)
downloadawx-10474cd64ce5a8c5f82cbed8da355df8a3f4989e.tar.xz
awx-10474cd64ce5a8c5f82cbed8da355df8a3f4989e.zip
Merge pull request #10077 from sean-m-sullivan/job_launch_tags
Fix tower_job_launch tags being passed to API SUMMARY #10008 Fix tower_job_launch tags being passed to API Previously the wrong field was being used on the api to pass tags, also while the module accepts lists, the API does not, so it would error. Take a users list, and converts to comma separated string, in order to maintain status quo. ISSUE TYPE Bugfix Pull Request COMPONENT NAME awx_collection AWX VERSION 19.1.0 Reviewed-by: Bianca Henderson <beeankha@gmail.com> Reviewed-by: Rebeccah Hunter <rhunter@redhat.com> Reviewed-by: Alan Rominger <arominge@redhat.com>
Diffstat (limited to 'awx_collection/tests/integration/targets')
-rw-r--r--awx_collection/tests/integration/targets/tower_job_launch/tasks/main.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/awx_collection/tests/integration/targets/tower_job_launch/tasks/main.yml b/awx_collection/tests/integration/targets/tower_job_launch/tasks/main.yml
index 4599682fbf..30fa8cc13b 100644
--- a/awx_collection/tests/integration/targets/tower_job_launch/tasks/main.yml
+++ b/awx_collection/tests/integration/targets/tower_job_launch/tasks/main.yml
@@ -48,6 +48,8 @@
job_type: run
ask_credential: true
ask_inventory: true
+ ask_tags_on_launch: true
+ ask_skip_tags_on_launch: true
state: present
register: result
@@ -56,6 +58,10 @@
job_template: "{{ jt_name1 }}"
inventory: "Demo Inventory"
credential: "Demo Credential"
+ tags:
+ - sometimes
+ skip_tags:
+ - always
register: result
- assert: