|
@@ -2,7 +2,7 @@ |
|
|
# do not forget to add lxpolkit to autostart! |
|
|
# do not forget to add lxpolkit to autostart! |
|
|
- hosts: all |
|
|
- hosts: all |
|
|
vars: |
|
|
vars: |
|
|
packages: [gvfs, gvfs-afc, polkit, lxpolkit] |
|
|
|
|
|
|
|
|
packages: [gvfs, gvfs-afc, polkit, lxpolkit, ntfs-3g] |
|
|
sudo: yes |
|
|
sudo: yes |
|
|
tasks: |
|
|
tasks: |
|
|
- name: install packages |
|
|
- name: install packages |
|
@@ -11,6 +11,7 @@ |
|
|
when: ansible_os_family == "Archlinux" |
|
|
when: ansible_os_family == "Archlinux" |
|
|
- name: add user yuk to storage group |
|
|
- name: add user yuk to storage group |
|
|
user: append=yes groups=storage name=yuk |
|
|
user: append=yes groups=storage name=yuk |
|
|
|
|
|
# is this required? |
|
|
- name: put polkit rule for mount by storage group |
|
|
- name: put polkit rule for mount by storage group |
|
|
copy: src=enable-mount.rules.polkit |
|
|
copy: src=enable-mount.rules.polkit |
|
|
dest=/etc/polkit-1/rules.d/10-enable-mount.rules |
|
|
dest=/etc/polkit-1/rules.d/10-enable-mount.rules |