Add SDDM configuration
This commit is contained in:
parent
31533708ad
commit
b36fbed245
@ -40,3 +40,5 @@
|
|||||||
38306234316364306134396138376230626630633733306432626637616239373838646433343761
|
38306234316364306134396138376230626630633733306432626637616239373838646433343761
|
||||||
3436643661633766616564663937346232353666386531363438
|
3436643661633766616564663937346232353666386531363438
|
||||||
tags: [ desktop ]
|
tags: [ desktop ]
|
||||||
|
- role: sddm
|
||||||
|
tags: [ sddm, desktop ]
|
||||||
|
2
roles/sddm/meta/main.yml
Normal file
2
roles/sddm/meta/main.yml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
allow_duplicates: no
|
17
roles/sddm/tasks/main.yml
Normal file
17
roles/sddm/tasks/main.yml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
#!/usr/bin/ansible-playbook
|
||||||
|
# vim:ft=ansible:
|
||||||
|
---
|
||||||
|
- name: Install and configure SDDM
|
||||||
|
block:
|
||||||
|
- name: Install SDDM
|
||||||
|
apt:
|
||||||
|
name:
|
||||||
|
- sddm
|
||||||
|
- name: Template out configs
|
||||||
|
template:
|
||||||
|
src: "{{ item.src }}"
|
||||||
|
dest: "{{ item.dest }}"
|
||||||
|
mode: "0644"
|
||||||
|
loop:
|
||||||
|
- { src: "sddm.conf", dest: "/etc/sddm.conf.d/50-ansible.conf" }
|
||||||
|
become: yes
|
11
roles/sddm/templates/ansible.conf
Normal file
11
roles/sddm/templates/ansible.conf
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# This configuration file managed by Ansible
|
||||||
|
# Make your adjustments in a separate file after this one in the load order
|
||||||
|
# vim:ft=dosini
|
||||||
|
|
||||||
|
[General]
|
||||||
|
Numlock=on
|
||||||
|
|
||||||
|
[Users]
|
||||||
|
MinimumUid=1000
|
||||||
|
MaximumUid=60000
|
||||||
|
HideUsers=ansible
|
Loading…
Reference in New Issue
Block a user