Allow default-user login

This commit is contained in:
Raphael Dannecker 2025-04-04 15:23:02 +02:00
parent 6482f3864f
commit 4197acd2ce
3 changed files with 7 additions and 0 deletions

View file

@ -2,5 +2,9 @@
all:
vars:
domain: "{{ ansible_domain }}"
security_defaultuser_login_disable: false
kde_desktop_pkg:
- akonadi-backend-sqlite
hosts:
localhost:

View file

@ -0,0 +1,2 @@
---
security_defaultuser_login_disable: true

View file

@ -18,6 +18,7 @@
ansible.builtin.user:
name: ansible
password_lock: true
when: security_defaultuser_login_disable
- name: Limit SSH access to user ansible
ansible.builtin.blockinfile: