I am trying to get a value through vars prompt in my playbook and writing a task in a role to see if the value == foo or if value == bar if the value == foo ,i want to get values from the vars.yaml file which has a section for foo . The section for foo in vars.yaml file has source path and destination path for copying.
I am struggling to see how to use loops in this case,any help is appreciated. -- You received this message because you are subscribed to the Google Groups "Ansible Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-devel/ed6c9a81-d4af-4fc9-8254-78efdaba4b70o%40googlegroups.com.