1 2 3 4 5 6
--- - roles: - role: nfsd vars: nfsd_dirs: "{% for vm in vms %}{{ vm.name }} {% endfor %}"