Setting extra vars from tower-cli

190 views
Skip to first unread message

Fraser Hardy

unread,
May 30, 2014, 12:00:08 PM5/30/14
to ansible...@googlegroups.com
Hi, 

I am trying to set our jenkins server to trigger a deployment to our QA environment after a successful build. I have tower-cli installed but cant seem to pass the build number for tower to use. We have the build number defined in the extra_vars on our tower server as a yaml format as follows: 

app_db_url: "mysql://********:q*******@q*******1-db------p.net*******"
app_mode: prod
jenkins_app_buildnumber: 67
jenkins_app_job_name: qudini-deployable-qa
jenkins_securesocial_buildnumber: 4
jenkins_securesocial_job_name: securesocial-deployable
newrelic_app_name: QudiniAppQA

All of the configuration can stay the same but I want to pass the current build number to set jenkins_app_buildnumber. 

How would i go about this? 

Thanks 
Fraser 




Michael DeHaan

unread,
May 31, 2014, 12:12:15 PM5/31/14
to ansible...@googlegroups.com
Hi Fraser,

For ansible tower questions, we ask questions be directed to sup...@ansible.com

This list is for the core project, though we'd be happy to help you there.

Thank you!




--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/f23b143f-d896-418c-9fd9-2aa177cb854f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages