You could have a look at this. https://github.com/adithyakhamithkar/ansible/blob/master/roles/jenkins-configure/tasks/main.yml
On Monday, July 6, 2015 at 3:01:06 PM UTC+5:30, Anthony Green wrote: > > 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? > > -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/ee4cb559-0878-49aa-98b9-00180b112ca4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
