2024-05-11 10:55:24 +00:00
|
|
|
- name: "[Arch] cups"
|
|
|
|
become: yes
|
|
|
|
community.general.pacman:
|
|
|
|
name:
|
|
|
|
- cups
|
2024-08-07 23:09:26 +00:00
|
|
|
- system-config-printer
|
2024-05-11 10:55:24 +00:00
|
|
|
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
|