Thank you...that is one solution for my problem...I've tested it and works fine
Dana četvrtak, 2. ožujka 2017. u 10:27:54 UTC+1, korisnik ishan jain napisao je: > > I would suggest that you add server2 as a slave in your Jenkins. Create a > Jenkins job, configure it to run on this slave and specify the Ansible > commands in the build step just like you execute any other shell command. > > > On Wednesday, 1 March 2017 16:00:01 UTC+1, vu001 wrote: >> >> Hi to all! >> >> I would like to integrate Ansible and Jenkins using ansible plugin from >> Jenkins. >> Is it possible to run Ansible commands on remote host from Jenkins, or >> the idea of Ansible plugin for Jenkins is that both of them are on the same >> server. >> To simplify, Jenkins is on server1, Ansible is on server2. Is it >> possible, using Ansible plugin for Jenkins, to run ansible commands on >> server2 where is Ansible from Jenkins (I already done this with shell >> commands) >> >> Thanks a lot. >> > -- 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/45d4358f-afe5-4332-9af8-3360af46779a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
