blob: 3b5aad5cbb70d65b1ffc06b3197ead5435b1c95e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
---
- name: "Ensure /etc/systemd/logind.conf.d exists"
become: true
ansible.builtin.file:
path: "/etc/systemd/logind.conf.d"
state: "directory"
mode: "0755"
- name: "Configure systemd-logind"
become: true
ansible.builtin.template:
src: "logind.conf.j2"
dest: "/etc/systemd/logind.conf.d/override.conf"
owner: "root"
group: "root"
mode: "0644"
notify: "Reload systemd-logind"
|