Skip to content

Commit

Permalink
disable automounting by default
Browse files Browse the repository at this point in the history
  • Loading branch information
brabster committed Oct 20, 2024
1 parent 529b898 commit 3567739
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions roles/xfce/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,9 @@
state: directory
mode: '0755'
owner: '{{ username }}'

- name: Disable media automounting
ansible.builtin.command: xfconf-query -c thunar-volman -np /automount-media/enabled -t 'bool' -s 'false'

- name: Disable drives automounting
ansible.builtin.command: xfconf-query -c thunar-volman -np /automount-drives/enabled -t 'bool' -s 'false'

0 comments on commit 3567739

Please sign in to comment.