This commit is contained in:
Frank Schiebel 2023-09-06 16:45:33 +02:00
parent 96f96678fc
commit 60914aed79
6 changed files with 25 additions and 10 deletions

View file

@ -1,4 +1,12 @@
---
- name: Enable passwordless sudo access for user ansible
lineinfile:
path: /etc/sudoers
state: present
regexp: '^ansible ALL='
line: 'ansible ALL=(ALL) NOPASSWD: ALL'
validate: '/usr/sbin/visudo -cf %s'
- name: Preseed ttf-mscorefonts-installer
ansible.builtin.debconf:
name: ttf-mscorefonts-installer
@ -70,9 +78,13 @@
action/lock_screen=false
action/start_new_session=false
- name: Disable screen locking
ansible.builtin.copy:
dest: /etc/xdg/kscreenlockerrc
content: |
[Daemon][$i]
AutoLock=false
LockonResume=false
Autolock=false
LockOnResume=false
- name: Download greenfoot/bluej
ansible.builtin.get_url: