Ubuntu – Modify each value of a dictionary to contain a child value
Let's say I have a dictionary called packages in an Ansible playbook: --- - name: Question hosts: localhost gather_facts: false vars: package_key: "ubuntu" packages: openssh-server: archlinux: - pkg1 - pkg2 ubuntu: - pkg3 cowsay: archlinux: - pkg4 app-armor: archlinux: -…