---
- name: Ensure qlplugins are installed
  become: false
  community.general.homebrew_cask:
    name: "{{ plugin }}"
    state: present
    sudo_password: "{{ ansible_sudo_pass }}"
  ignore_errors: true
  loop: "{{ qlplugins }}"
  loop_control:
    label: "{{ plugin }}"
    loop_var: plugin
