-added firefox role

-attempt again to disable screensaver
This commit is contained in:
Michael Pellegrino
2022-07-01 13:30:21 -04:00
parent 42c6f18bd7
commit 85e7e96c08
9 changed files with 69 additions and 19 deletions

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

@@ -2,5 +2,7 @@
sudo /usr/bin/killall chromium-browser
sudo /usr/bin/killall chromium-browser
sudo /usr/bin/killall chromium-browser
sudo /usr/bin/killall firefox
sudo /usr/bin/killall firefox
sudo systemctl restart ntopng

View File

@@ -20,15 +20,6 @@
content: "{{ lookup('template', '{{ role_path }}/templates/hosts.j2') }}"
state: present
tags: update_hosts
- name: update package cache
become: true
ansible.builtin.apt:
update_cache: yes
- name: hold connman - using netplan
become: true
dpkg_selections:
name: connman
selection: hold
- name: install required packages
become: true
@@ -92,9 +83,18 @@
password: '{{ def_password }}'
tags: pi password
- name: remove xscreensaver
become: yes
apt:
name: xscreensaver
state: absent
autoremove: yes
#- name: remove xscreensaver
# become: yes
# apt:
# name: xscreensaver
# state: absent
# autoremove: yes
- 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