You can use 'Publish over SSH' module to call a remote system running ansible. Configure your ansible host in Jenkins -> Manage Jenkins -> Configure System Then you can add a post build action called 'Send Build artifacts over ssh'. Select your ansible host and then in the Transfers section, specify commands to run on your ansible host. You don't actually have to transfer files with this action.
On Thursday, November 13, 2014 8:27:53 AM UTC, Alex T wrote: > > Hi! > Everybody knows, how to run ansible playbook from jenkins ci? > -- 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/ce756f75-91f3-4af7-9870-d99773d06df3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
