How to invoke ansible script from bamboo ? I have a Bamboo server and 
Ansible server separately. Do I need to have a Bamboo agent on my Ansible 
server ?
I'm doing the below, but not sure if this is the right way ?

su --session-command="ssh -i /home/devops/privatekey.pem user@hostname"
ansible-playbook callDiscoveryserver1.yml -u devops --sudo 
--vault-password-file=vault.txt --extra-vars "version=release/1.0.1.0_18"


-- 
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/b4d74df3-2614-4c08-927f-0d469e3c6a08%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to