On Mon, 4 May 2020 11:55:19 -0700 (PDT) Justin Nelson <[email protected]> wrote:
> ... When I run my playbook I can only seem to get one of my two hosts ... > > - name: Update File > hosts: > - test_group > connection: local > > [...] > > [test_group] > host1 > host2 > > [...] > > What am I missing to make this work for both hosts? Remove "connection: local". See "local – execute on controller" https://docs.ansible.com/ansible/latest/plugins/connection/local.html#local-execute-on-controller "... allows ansible to execute tasks on the Ansible ‘controller’ instead of on a remote host." HTH, -vlado -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/20200504220249.26ded919%40gmail.com.
pgp0CcmbuRTRi.pgp
Description: OpenPGP digital signature
