I have workaround for this. You basically have to use "include" as a
function. Let's say your {{users}} structure looks like this:
users:
ssh_keys:
- somekeyfdsfdsfdsfsdfsdyttytry
- someotherkeyfdsryekfdlmgdfm
In your main.yml there would be:
- include: ssh_key.yml
_users_ssh_k
Hi!
What I mean by the title: In roles we can have a "files" directory, with
files that could be copied to server. I would like to have those files
outside of the role, they should be provided by my playbook and not the
role. What is a recommended way of achieving it?
Best wishes.
--
You rece