Hi Dojo,
Do we have some sample code how to run a Ansible playbook from within a connector or script?
I'm specifically looking on how to setup the SSH connection and send CLI commands.
Jens Vandewalle [SLC] [DevOps Enabler] Selected answer as best 16th November 2022
Hi Jens,
We created an app package with an automation script that let's you SSH in to a server and execute a single command.
This is now available on our public github:
https://github.com/SkylineCommunications/DataMinerSSHCommandoExecutor
Kind regards,
Jens Vandewalle [SLC] [DevOps Enabler] Selected answer as best 16th November 2022
We have created a task for next sprint to create an example automation script to trigger an ansible playbook.