Commit 64d7d49a authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

postfix: set home dir to /

For relay host users created on orion set the home directory to /
instead of the default /home/{{inventory_hostname_short}} which is not
created which makes shadow.service fail on orion.
parent 56086b60
...@@ -101,6 +101,7 @@ ...@@ -101,6 +101,7 @@
password: "{{ postfix_relay_password | password_hash('sha512') }}" password: "{{ postfix_relay_password | password_hash('sha512') }}"
shell: /sbin/nologin shell: /sbin/nologin
update_password: always update_password: always
home: / # Set home directory so shadow.service does not fail
create_home: no create_home: no
- name: open firewall holes - name: open firewall holes
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment