fix: set sddm permissions after installation
This commit is contained in:
parent
8d8c7c204d
commit
81ccc6cab0
2 changed files with 17 additions and 17 deletions
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
- name: setup user account
|
||||
- name: setup user account {{ username }}
|
||||
user:
|
||||
name: "{{ username }}"
|
||||
password: "{{ password }}"
|
||||
|
@ -75,22 +75,6 @@
|
|||
dest: "/home/{{ account.name }}/.face.icon"
|
||||
mode: "0644"
|
||||
|
||||
- name: grant sddm read permission to home
|
||||
acl:
|
||||
path: "/home/{{ account.name }}/"
|
||||
entity: sddm
|
||||
etype: user
|
||||
permissions: x
|
||||
state: present
|
||||
|
||||
- name: grant sddm read permission user icon
|
||||
acl:
|
||||
path: "/home/{{ account.name }}/.face.icon"
|
||||
entity: sddm
|
||||
etype: user
|
||||
permissions: r
|
||||
state: present
|
||||
|
||||
- name: ensure i3 config-dir exists
|
||||
become_user: "{{ account.name }}"
|
||||
file:
|
||||
|
|
|
@ -37,6 +37,22 @@
|
|||
mode: 0644
|
||||
create: yes
|
||||
|
||||
- name: grant sddm read permission to {{ account.name }} home
|
||||
acl:
|
||||
path: "/home/{{ username }}/"
|
||||
entity: sddm
|
||||
etype: user
|
||||
permissions: x
|
||||
state: present
|
||||
|
||||
- name: grant sddm read permission user icon
|
||||
acl:
|
||||
path: "/home/{{ username }}/.face.icon"
|
||||
entity: sddm
|
||||
etype: user
|
||||
permissions: r
|
||||
state: present
|
||||
|
||||
- name: activate display manager
|
||||
systemd:
|
||||
name: sddm
|
||||
|
|
Loading…
Reference in a new issue