ansible-desktop/roles/desktop/tasks/cups.yml
2024-08-08 01:09:26 +02:00

21 lines
460 B
YAML

- 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