Make autologin configurable
This commit is contained in:
3
user.yml
3
user.yml
@@ -44,6 +44,9 @@
|
|||||||
- "/home/{{ user.name }}/.config/systemd/"
|
- "/home/{{ user.name }}/.config/systemd/"
|
||||||
- "/home/{{ user.name }}/.config/systemd/user/"
|
- "/home/{{ user.name }}/.config/systemd/user/"
|
||||||
|
|
||||||
|
- name: Configure autologin
|
||||||
|
when: user.autologin|default(true) is sameas True
|
||||||
|
block:
|
||||||
- name: Create directory for getty autologin
|
- name: Create directory for getty autologin
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
state: directory
|
state: directory
|
||||||
|
|||||||
Reference in New Issue
Block a user