Re: [ansible-project] Issues with {{ ansible_hostname }} in task name within a role

2022-05-24 Thread Brian Coca
task names need to be the same across all hosts they are run on, so 'host scoped variables' are not valid for templating in the task names. https://github.com/ansible/ansible/issues/3103#issuecomment-18835432 -- -- Brian Coca -- You received this message because you are subscribed to th

[ansible-project] Issues with {{ ansible_hostname }} in task name within a role

2022-05-24 Thread Fco. Javier Lopez
Hello guys ! I do not get the hostname using this fact in task name within a role. Not sure if there is a known issue around this or that I'm doing something wrong. This is my code: main yml file contains this: # facts are collected by default but we want to make sure nobody removes them