# SPDX-License-Identifier: MIT-0 --- # handlers file for bootstrap - name: Install all snapd applications become: true listen: snapd block: - name: Install snaps community.general.snap: channel: "{{ item.value['channel'] | default('latest/stable') }}" name: - "{{ item.value['name'] }}" # @TODO test the below list extend method for list of lists options: "{{ item.value['opts'] }}" state: present notify: "{{ item.key }}" loop: "{{ lookup('ansible.builtin.dict', software.snaps) }}"