Ajout utilisateur loritz et fichiers
This commit is contained in:
parent
738dbcdd98
commit
cd66210807
@ -13,3 +13,4 @@
|
|||||||
- include: tasks/users.yml
|
- include: tasks/users.yml
|
||||||
- include: tasks/cron.yml
|
- include: tasks/cron.yml
|
||||||
- include: tasks/packages.yml
|
- include: tasks/packages.yml
|
||||||
|
- include: tasks/loritz-user.yml
|
||||||
BIN
tasks/files/Fond-loritz-Spiral-Betty_v2.jpg
Normal file
BIN
tasks/files/Fond-loritz-Spiral-Betty_v2.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 883 KiB |
4
tasks/files/lightdm.conf
Normal file
4
tasks/files/lightdm.conf
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
[Seat:*]
|
||||||
|
autologin-guest=false
|
||||||
|
autologin-user=loritz
|
||||||
|
autologin-user-timeout=0
|
||||||
33
tasks/loritz-user.yml
Normal file
33
tasks/loritz-user.yml
Normal 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'"
|
||||||
Loading…
x
Reference in New Issue
Block a user