- move lubuntu-desktop to its own role

This commit is contained in:
2022-07-06 10:21:21 +00:00
parent 85e7e96c08
commit 71faaa94cc
5 changed files with 49 additions and 1 deletions

View File

@@ -12,4 +12,3 @@ dependency_packages:
- libpcap-dev
- libsctp-dev
- chromium-browser
- lubuntu-desktop

View File

@@ -0,0 +1,15 @@
[General]
__userfile__=true
backlightIdleness=0
backlightIdlenessOnBatteryDischarging=true
disableIdlenessWhenFullscreen=false
enableBatteryWatcher=false
enableIdlenessBacklightWatcher=false
enableIdlenessWatcher=false
enableLidWatcher=false
idlenessACAction=-1
idlenessACTime=@Variant(\0\0\0\xf\0\r\xbb\xa0)
idlenessBatteryAction=-1
idlenessBatteryTime=@Variant(\0\0\0\xf\0\r\xbb\xa0)
idlenessTime=@Variant(\0\0\0\xf\0\0\x3\xe8)
runCheckLevel=1

View File

@@ -0,0 +1,23 @@
---
- name: install required packages
become: true
package:
name: "{{ dependency_packages }}"
state: present
- name: sddm autologin
become: yes
template:
src: "{{ role_path }}/templates/sddm.conf.j2"
dest: /etc/sddm.conf
owner: root
- name: screensaver
ansible.builtin.copy:
src: "{{ role_path }}/files/lxqt-powermanagement.conf"
dest: "/home/{{ def_username }}/.config/lxqt"
owner: "{{ def_username }}"
group: "{{ def_username }}"
tags: powermanagement

View File

@@ -0,0 +1,7 @@
{% for item in ansible_play_batch %}
{{ hostvars[item].ansible_host }} {{ item }}.demo.dsfinancial.com
{% endfor %}
{% for item in ansible_play_batch %}
{{ hostvars[item].ansible_host }} {{ item }}
{% endfor %}

View File

@@ -0,0 +1,4 @@
[Autologin]
User={{ def_username }}
Session=lxqt.desktop
Relogin=