From b021bb2620b17098c5459d543a511feed038d1e0 Mon Sep 17 00:00:00 2001 From: Peter Date: Fri, 15 Aug 2025 22:47:51 +0200 Subject: [PATCH] allow defining the home directory The idea here is that we can have a backup server that should run on a slow huge disk, and that the rest should run on your very fast nvme's. To differentiate, you can specify where the homedir should be --- roles/ppm/tasks/oneapp.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/ppm/tasks/oneapp.yml b/roles/ppm/tasks/oneapp.yml index 976e9eb..bb64216 100644 --- a/roles/ppm/tasks/oneapp.yml +++ b/roles/ppm/tasks/oneapp.yml @@ -2,6 +2,7 @@ ansible.builtin.user: name: "{{ ppm_app.user }}" shell: /bin/bash + home: "{{ ppm_app.homedir | default(omit) }}" register: ppm_app_user # Enabling linger will make systemd start the user-systemd for this user at bootup time