Techiio-author
Started by Peter DanielsSep 24, 2021

Open
Is there some way to call Ansible tower template with tags from the GitLab CI yml?

1 VIEWES 0 LIKES 0 DISLIKES SHARE
0 LIKES 0 DISLIKES 1 VIEWES SHARE

I need to run tower-cli command to trigger an Ansible Tower template.I am aware that Job Tags -Prompt on Launch is present in Ansible template but I have my hands tied up due to official reasons to not use that option, I can not even modify the playbook/template.

tower-cli job launch -u $USER -p ${PWD} -h ${URL} -D temp-demo
-job_tags ${TAG}

I need use tags so as to trigger the template for only certain jobs with mentioned tags in the command.

Could someone please suggest something?

0 Replies

You must be Logged in to reply
Techiio-logo

Techiio is on the journey to build an ocean of technical knowledge, scouring the emerging stars in process and proffering them to the corporate world.

Follow us on:

Subscribe to get latest updates

You can unsubscribe anytime from getting updates from us
Developed and maintained by Wikiance
Developed and maintained by Wikiance