well, the first difference is that you are not delegating to  a host
named 'groups.consul_server[0]' but to 10.0.196.116

Sorry for not noticing before, but the delegate_to on debug is
irrelevant, debug always executes on 'the master' or machine you
execute ansible on, it does not need to connect to any machine,  i'm
not sure what you are expecting there.

delegate_to on shell or any module that executes remotely goes to the
delegated server, but things that operate on 'master' like debug,
prompt, add_host, group_by make no sense to delegate.

-- 
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/CAJ5XC8mN1LJ1bZ-Qy4HQseRvGbWZrNn87JnhEJGm3EKtm-Vs9A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to