merge dictionary intelligent mode???

hi
i have to pass to a role a dict that’s the union from 3
and i want the montain the precendece default–> group → host

now i use for example

there is some most intelligent?

  • name: add apt repo
    apt_repository: repo=‘{{ item.repo }}’ state=present
    with_items: “{{ IBM_l6_R_apt_repository }}”
    vars:
    IBM_l6_R_apt_repository: >
    {{ IBM_l6_R_apt_repository_default +
    IBM_l6_R_apt_repository_group +
    IBM_l6_R_apt_repository_host }}
    register: result

IBM_l6_R_apt_repository_default:

ghuu: unamed

ghuu: unamed

ghuu: unamed

ghuu: unamed

ghuu: unamed