The connection: local is used when you want a plugin to execute on master that normally would execute on the target. You normally want to do this with cloud modules or modules that use some web api. Some modules always execute on the 'master' as they are meant to just change the data in the play like, debug, set_fact, add_host, group_by so these don't need any connection settings.
-- Brian Coca -- 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/CAJ5XC8nfHkPGDN8Bi8U7e6okt0ERG%3DdRw-wzyiqp3s9qycE05g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
