If you want to do something on behalf of other hosts, you wouldn’t use a local connection. Local connection is used mainly with “hosts: localhost” or just for testing.
Rather, you’d use “local_action: ” which is a shorthand for delegate_to as described in http://ansible.cc/docs/playbooks2.html#delegation
Hope this helps! If you need more info, let us know!