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
This commit is contained in:
Peter 2025-08-15 22:47:51 +02:00
parent a55246263b
commit b021bb2620

View file

@ -2,6 +2,7 @@
ansible.builtin.user: ansible.builtin.user:
name: "{{ ppm_app.user }}" name: "{{ ppm_app.user }}"
shell: /bin/bash shell: /bin/bash
home: "{{ ppm_app.homedir | default(omit) }}"
register: ppm_app_user register: ppm_app_user
# Enabling linger will make systemd start the user-systemd for this user at bootup time # Enabling linger will make systemd start the user-systemd for this user at bootup time