I have done something similar but you need to invoke an ansible playbook or
script and use it in your Pipeline Job tasks:
high level example :
Job X:
task 1:
> git clone your branch (your tools or playbooks)
task 2:
working_directory: "your_tools/playbooks/"
> source python environment && ansible-playbook --user $user -i
$destination_server, my_playbook.yml -e your_parameters .. -v
not sure if that helps
On Tuesday, October 22, 2019 at 6:15:47 PM UTC-6, Ashwanth Kumar wrote:
>
> Mohammed, GoCD natively doesn't do any deployments as such. You can use
> GoCD to orchestrate any kind of deployment.
>
> To SSH into a remote machine and deploy your artifacts, you can look into
> tools like Ansible <https://www.ansible.com>, Fabric
> <http://www.fabfile.org>, Custom Bash Scripts etc.
>
> On Wed, Oct 23, 2019 at 12:23 AM Mohammed Azfar <[email protected]
> <javascript:>> wrote:
>
>> Any help pl
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "go-cd" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected] <javascript:>.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/go-cd/166b9f6b-c7cd-45b3-a401-ab73458b156d%40googlegroups.com
>> .
>>
>
>
> --
>
> Ashwanth Kumar / ashwanthkumar.in
>
>
--
You received this message because you are subscribed to the Google Groups
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/go-cd/a5aeba03-d1b1-4f5d-806d-78943d46a67a%40googlegroups.com.