Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 

26 rindas
585 B

  1. ---
  2. - name: Clean apt cache
  3. command: apt clean
  4. become: yes
  5. - name: Clean build directories
  6. ignore_errors: yes
  7. shell: |
  8. for f in $(cat {{ config_dir }}/build.dirs); do
  9. echo "Deleting build dir: $f"
  10. rm -r "$f"
  11. done
  12. - name: Sync Python modules
  13. ignore_errors: yes
  14. shell: ln -s /usr/local/lib/python3/dist-packages/* /usr/lib/python3/dist-packages
  15. - name: Set udev rules
  16. shell: |
  17. for f in $(cat {{ config_dir }}/udev.paths); do
  18. echo "Owning udev rule: $f"
  19. chown pi:pi "$f"
  20. done
  21. udevadm control --reload-rules
  22. udevadm trigger