Ajout utilisateur loritz et fichiers

This commit is contained in:
Axel 2024-05-14 12:35:22 +02:00
parent 738dbcdd98
commit cd66210807
4 changed files with 39 additions and 1 deletions

View File

@ -12,4 +12,5 @@
tasks:
- include: tasks/users.yml
- include: tasks/cron.yml
- include: tasks/packages.yml
- include: tasks/packages.yml
- include: tasks/loritz-user.yml

Binary file not shown.

After

Width:  |  Height:  |  Size: 883 KiB

4
tasks/files/lightdm.conf Normal file
View File

@ -0,0 +1,4 @@
[Seat:*]
autologin-guest=false
autologin-user=loritz
autologin-user-timeout=0

33
tasks/loritz-user.yml Normal file
View File

@ -0,0 +1,33 @@
- name: creation utilisateur courant
user:
name: loritz
password: loritz
- name: copie fichier connection auto
copy:
src: files/lightdm.conf
dest: /etc/lightdm/lightdm.conf
owner: root
group: root
mode: 0644
- name: copy wallpaper file
copy:
src: files/Fond-loritz-Spiral-Betty_v2.jpg
dest: /usr/share/backgrounds/fond-loritz.jpg
owner: root
group: root
- name: set wallpaper
become_user: loritz
dconf:
key: "/org/cinnamon/desktop/background/picture-uri"
value: "'file:///usr/share/backgrounds/fond-loritz.jpg'"
- name: set wallpaper position
become_user: loritz
dconf:
key: "/org/cinnamon/desktop/background/picture-options"
value: "'zoom'"