<div dir="ltr">Hi Ravi,<div><br></div><div>Thank you for sharing your use case and the helpful diagram.</div><div><br></div><div>We haven't explored running ansible playbooks directly on a remote system through a launched APB yet.</div><div>I imagine some work will be required to setup the inventory/ssh credentials and pass into the APB, Use Case sounds like a future capability that would be interesting to have.</div><div><br></div><div>Our current workflow is to run the ansible playbooks on localhost of the launched Pod, then the ansible modules interact with remote hosts through API calls (i.e. AWS APBs are a good example of interacting with a remote API, <a href="https://github.com/search?q=org%3Aawslabs+servicebroker">https://github.com/search?q=org%3Aawslabs+servicebroker</a>).</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 13, 2018 at 4:59 PM, Ravi Jonnadula <span dir="ltr"><<a href="mailto:ravijo@gmail.com" target="_blank">ravijo@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>I 'm trying to use Ansible Service Broker module in the following scenario.</div><div><br></div><div>Basically, the Broker services are invoked by the controller to perform some actions on the remote system. The remote system can be a VM or Kubernetes cluster. In the former case, the ansible commands are executed on the VM. In the later case, the ansible commands will interface with Kube-Scheduler.</div><div><br></div><div>The typical services the Broker shall provide are:</div><div>1) Provision some software on the remote system.</div><div>2) Push a given file by the controller to a specific remote VM / POD</div><div>3) Execute a specific command given by the controller on the remote system.</div><div> </div><div><br></div><div><br></div><div><img src="cid:ii_161912de0110d298" alt="Inline image 4" width="544" height="233"><br></div></div>
<br>______________________________<wbr>_________________<br>
Ansible-service-broker mailing list<br>
<a href="mailto:Ansible-service-broker@redhat.com">Ansible-service-broker@redhat.<wbr>com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/ansible-service-broker" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/ansible-<wbr>service-broker</a><br>
<br></blockquote></div><br></div></div></div>