SHARE
TWEET

Untitled

a guest Jul 21st, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ---
  2. - name: Install cups
  3.   apt:
  4.     name: cups
  5.     state: latest
  6.   become: yes
  7.  
  8. - name: setup user pi for cups
  9.   shell: sudo usermod -a -G lpadmin pi
  10.   become: yes
  11.  
  12. - name: Install cups drivers
  13.   apt:
  14.     name:
  15.     - printer-driver-foo2zjs-common
  16.     - printer-driver-foo2zjs
  17.     - xinetd
  18.     state: latest
  19.   become: yes
  20.  
  21. - name: setup remote connecting to any
  22.   shell: cupsctl --remote-any
  23.   become: yes
  24.  
  25. - name: restart_cups
  26.   shell: /etc/init.d/cups restart
  27.   become: yes
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top