Hi Tim, Its designed to work with connection plugins that require a persistent, interactive connection (think CL) to the remote host. For 2.3 the only supported connection plugins for use with LocalAnsibleModule will be network_cli and netconf. The answer to both of your questions is no. When using any other connection plugin, the code path remains unchanged and the implementation will use AnsibleModule.
Peter On Sun, Feb 5, 2017 at 6:52 PM, Tim <[email protected]> wrote: > Can the devs (privateip) clarify what this PR does as I'm not quite > groking it > > https://github.com/ansible/ansible/commit/0cef38cf02f3bd4cc678201f7a10eb > 80464d8a72 > > Does this allow me to use a module as a local module even if "connection:" > is "ssh"? or does this allow me to call another module on the remote > machine from the task's module? > > I see it used primarily in the network modules right now > > Thanks, > -tim > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Development" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Ansible Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
