Hello,

I have a domain that I want to be appended to all hosts in the inventory. 
To reduce duplication, I thought I'd 
set ansible_host={{inventory_hostname}}.osf.credativ.lan. 

Unfortunately, this breaks with delegation. Ansible connects to the play 
host, not to the host I delegated to, because of the template evaluation. I 
uploaded the inventory, playbook and output to a 
Gist: https://gist.github.com/mxey/cb5a9e6483f42ca60cbb

I found this issue on GitHub: 
https://github.com/ansible/ansible/issues/10781. It seems like a related 
problem at least, but to me it's not clear from the issue status whether it 
had been fixed or not.

Kind regards
Maximilian Gaß

-- 
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/7fcb4f45-4e11-4638-9c8f-1264645c55ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to