From 3567739549a3c6da690fc8cab714d2ed10d90353 Mon Sep 17 00:00:00 2001 From: Paul Brabban Date: Sun, 20 Oct 2024 15:52:17 +0000 Subject: [PATCH] disable automounting by default --- roles/xfce/tasks/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/xfce/tasks/main.yml b/roles/xfce/tasks/main.yml index 0354b1f..3e6d842 100644 --- a/roles/xfce/tasks/main.yml +++ b/roles/xfce/tasks/main.yml @@ -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'