Create dynamic dictionaries with ansible – Docker
I have a simple list: mpoints: ['/home/mp1', '/home/mp2', '/mnt/mp1', '/mnt/mp2'] I have a dict: { source: "/home/mp1", target: "/var/tmp/home/mp1", type: bind, read_only: no } I need four entries (or four dicts) in a new_list (one dict per element on the…