How to prepend every string in a list with a prefix in Ansible
Let’s say you have an external dict (hostvars) where you take one element by a key (f.e. hostvars[host].foobar). This element is a list. You need to keep it as list and prepend (add at front) a string. Moreover, you need…