Add SDDM configuration

This commit is contained in:
Salt 2020-07-27 11:20:38 -05:00
parent 31533708ad
commit b36fbed245
4 changed files with 32 additions and 0 deletions

View File

@ -40,3 +40,5 @@
38306234316364306134396138376230626630633733306432626637616239373838646433343761
3436643661633766616564663937346232353666386531363438
tags: [ desktop ]
- role: sddm
tags: [ sddm, desktop ]

2
roles/sddm/meta/main.yml Normal file
View File

@ -0,0 +1,2 @@
---
allow_duplicates: no

17
roles/sddm/tasks/main.yml Normal file
View 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

View 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