Pretty sure I'm doing what you're looking to accomplish, Anurag.
How I have my inventory file configured would be like using your example
below...
> On Apr 16, 2021, at 7:54 AM, Anurag Bhatia wrote:
>
> I am having a hard time in finding syntax needed for playbooks to loop over
> inventory
> On Feb 18, 2021, at 4:40 PM, Wei-Yen Tan wrote:
>
> I actually do this very thing. I have a role that just loops through a var
> inside the role. That role just uses the Mount task. With a lip. The role
> runs off the var exists. I can dig up the structure of it may help. On my
> phone
Greetings, folks!
I'm trying to have one single source-of-truth for file share info and mount
individual shares on different servers depending on need.
Give a list of "these servers get these shares, those get those" and from
that list loop over what to configure and mount.
I've been trying