You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

19 lines
620 B

  1. ---
  2. # https://wiki.archlinux.org/index.php/File_manager_functionality
  3. # do not forget to add lxpolkit to autostart!
  4. - hosts: all
  5. vars:
  6. packages: [gvfs, gvfs-afc, polkit, lxpolkit, ntfs-3g]
  7. sudo: yes
  8. tasks:
  9. - name: install packages
  10. pacman: name={{item}} state=installed
  11. with_items: packages
  12. when: ansible_os_family == "Archlinux"
  13. - name: add user yuk to storage group
  14. user: append=yes groups=storage name=yuk
  15. # # is this required?
  16. # - name: put polkit rule for mount by storage group
  17. # copy: src=enable-mount.rules.polkit
  18. # dest=/etc/polkit-1/rules.d/10-enable-mount.rules