|
@@ -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: [udevil] |
|
|
|
|
|
|
|
|
packages: [gvfs, gvfs-afc, polkit, lxpolkit] |
|
|
sudo: yes |
|
|
sudo: yes |
|
|
tasks: |
|
|
tasks: |
|
|
- name: install packages |
|
|
- name: install packages |
|
@@ -11,3 +11,6 @@ |
|
|
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 |
|
|
|
|
|
- name: put polkit rule for mount by storage group |
|
|
|
|
|
copy: src=enable-mount.rules.polkit |
|
|
|
|
|
dest=/etc/polkit-1/rules.d/10-enable-mount.rules |