Using Ansible to provision Jenkins

77 views
Skip to first unread message

Anthony Green

unread,
Jul 6, 2015, 5:31:06 AM7/6/15
to ansible...@googlegroups.com
I'm using Ansible to provision a machine with Jenkins within a Docker container

As part of the provisioning process I wait until Jenkins is running and then download the CLI to continue the provisioning  by executing CLI commands. 
The jar file is being downloaded to the host machine.

I was wondering if this was necessarily the best approach ?
Could the CLI jar be downloaded to my workstation instead and the commands executed from there?
Could I use Groovy scripts to provision the machine ?
Other suggestions?

Maekawa, Naomi

unread,
Jul 6, 2015, 9:47:03 AM7/6/15
to ansible...@googlegroups.com
hi anthony,

you can check delegation and local_action to download the jenkins cli to your local workstation:

best,
naomi.
---

--
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/39af6126-0ba0-4c22-8573-5815f456208e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Adithya Khamithkar

unread,
Jul 19, 2015, 11:52:28 PM7/19/15
to ansible...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages