I have a couple playbooks that apply to a number of host groups, one group having /sbin (among other things) missing from its hosts' PATHs.
This means that the playbooks run correctly on most hosts, but not the hosts in that particular group. I realise that I can alter the playbooks' affected tasks to manually set the PATH using the environment parameter. This solution is not ideal though because it's addressing an issue relevant to the group, not the playbooks themselves. I'd prefer to somehow have this information in a *group var* only. Is it possible to define a group var that causes the hosts in that group to have a modified PATH when running tasks? Do other solutions exist to this problem? -- 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/91f386a7-914f-4b57-9838-e99d4b7cb67e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
