aboutsummaryrefslogtreecommitdiffstats
path: root/roles/linux_desktop/tasks
diff options
context:
space:
mode:
authorStonewall Jackson <stonewall@sacredheartsc.com>2023-04-13 07:43:49 -0400
committerStonewall Jackson <stonewall@sacredheartsc.com>2023-04-13 07:43:49 -0400
commita1df78d92401c0d287e03f4992f2a2a6d4dbd462 (patch)
treeb7100f859d753147f7a2dafa9b670343c878227d /roles/linux_desktop/tasks
parent7e4cfba29e7a75a0bc8efa6d07a69eb98d641ce6 (diff)
downloadselfhosted-a1df78d92401c0d287e03f4992f2a2a6d4dbd462.tar.gz
selfhosted-a1df78d92401c0d287e03f4992f2a2a6d4dbd462.zip
linux_desktop: switch to xfce
Diffstat (limited to 'roles/linux_desktop/tasks')
-rw-r--r--roles/linux_desktop/tasks/gdm.yml17
-rw-r--r--roles/linux_desktop/tasks/lightdm.yml17
-rw-r--r--roles/linux_desktop/tasks/main.yml26
3 files changed, 10 insertions, 50 deletions
diff --git a/roles/linux_desktop/tasks/gdm.yml b/roles/linux_desktop/tasks/gdm.yml
deleted file mode 100644
index 124f415..0000000
--- a/roles/linux_desktop/tasks/gdm.yml
+++ /dev/null
@@ -1,17 +0,0 @@
-- name: generate gdm configuration
- template:
- src: etc/gdm/custom.conf.j2
- dest: /etc/gdm/custom.conf
- notify: restart gdm
-
-- name: disable lightdm
- systemd:
- name: lightdm
- enabled: no
- state: stopped
-
-- name: enable gdm
- systemd:
- name: gdm
- enabled: yes
- state: started
diff --git a/roles/linux_desktop/tasks/lightdm.yml b/roles/linux_desktop/tasks/lightdm.yml
deleted file mode 100644
index 818aaec..0000000
--- a/roles/linux_desktop/tasks/lightdm.yml
+++ /dev/null
@@ -1,17 +0,0 @@
-- name: configure lightdm greeter
- template:
- src: etc/lightdm/lightdm-gtk-greeter.conf.j2
- dest: /etc/lightdm/lightdm-gtk-greeter.conf
- notify: restart lightdm
-
-- name: disable gdm
- systemd:
- name: gdm
- enabled: no
- state: stopped
-
-- name: enable lightdm
- systemd:
- name: lightdm
- enabled: yes
- state: started
diff --git a/roles/linux_desktop/tasks/main.yml b/roles/linux_desktop/tasks/main.yml
index 8666668..16aace3 100644
--- a/roles/linux_desktop/tasks/main.yml
+++ b/roles/linux_desktop/tasks/main.yml
@@ -42,23 +42,17 @@
changed_when: false
failed_when: false
-- name: configure display manager
- include_tasks: '{{ linux_desktop_display_manager }}.yml'
-
-- name: enable fractional scaling
- copy:
- src: '{{ item[1:] }}'
- dest: '{{ item }}'
- loop:
- - /etc/dconf/db/local.d/00-hidpi
- - /etc/dconf/db/local.d/locks/hidpi
- notify: update dconf
-
-- name: add local dconf settings
+- name: configure lightdm greeter
template:
- src: etc/dconf/db/local.d/00-gnome.j2
- dest: /etc/dconf/db/local.d/00-gnome
- notify: update dconf
+ src: etc/lightdm/lightdm-gtk-greeter.conf.j2
+ dest: /etc/lightdm/lightdm-gtk-greeter.conf
+ notify: restart lightdm
+
+- name: enable lightdm
+ systemd:
+ name: lightdm
+ enabled: yes
+ state: started
- name: add flathub flatpak repository
flatpak_remote: