Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- - name: Install cups
- apt:
- name: cups
- state: latest
- become: yes
- - name: setup user pi for cups
- shell: sudo usermod -a -G lpadmin pi
- become: yes
- - name: Install cups drivers
- apt:
- name:
- - printer-driver-foo2zjs-common
- - printer-driver-foo2zjs
- - xinetd
- state: latest
- become: yes
- - name: setup remote connecting to any
- shell: cupsctl --remote-any
- become: yes
- - name: restart_cups
- shell: /etc/init.d/cups restart
- become: yes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement