20 lines
430 B
YAML
20 lines
430 B
YAML
- name: "[Arch] cups"
|
|
become: yes
|
|
community.general.pacman:
|
|
name:
|
|
- cups
|
|
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
|