- name: "[Arch] cups" become: yes community.general.pacman: name: - cups - system-config-printer when: ansible_distribution == "Archlinux" - name: "[Arch] install drivers for epson printer" shell: cmd: yay -S --needed --noconfirm epson-inkjet-printer-escpr when: ansible_distribution == "Archlinux" - name: "[All] Enable service" become: yes ansible.builtin.systemd: name: cups state: started enabled: yes