Separate steps for grub and lightdm install

This commit is contained in:
Jake Howard 2020-05-22 12:14:45 +01:00
parent ce27900f57
commit 96683ef12c
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -8,9 +8,18 @@
loop: loop:
- grub-customizer - grub-customizer
- grub2-theme-archlinux - grub2-theme-archlinux
- os-prober
- name: Install LightDM
aur:
skip_installed: true
name: "{{ item }}"
become: true
become_user: aur_builder
when: item not in installed_packages.stdout_lines
loop:
- lightdm - lightdm
- lightdm-gtk-greeter - lightdm-gtk-greeter
- os-prober
- name: Enable lightdm - name: Enable lightdm
systemd: systemd:
@ -23,7 +32,7 @@
state: absent state: absent
ignore_errors: true ignore_errors: true
- name: Enable Slick greeter for lightdm - name: Set lightdm greeter
ini_file: ini_file:
path: /etc/lightdm/lightdm.conf path: /etc/lightdm/lightdm.conf
section: Seat:* section: Seat:*