ansible-desktop/roles/lightdm/tasks/arch.yml

34 lines
649 B
YAML

- name: "[Arch] install lightdm"
become: yes
community.general.pacman:
name:
- lightdm
- lightdm-slick-greeter
- name: Copy configuration
become: yes
copy:
src: lightdm.conf
dest: /etc/lightdm/lightdm.conf
mode: '0644'
- name: Copy greeter configuration
become: yes
copy:
src: slick-greeter.conf
dest: /etc/lightdm/slick-greeter.conf
mode: '0644'
- name: create backgrounds directory
become: yes
file:
path: /usr/share/backgrounds/my
state: directory
- name: Copy background
become: yes
copy:
src: keys-l.jpg
dest: /usr/share/backgrounds/my/keys-l.jpg
mode: '0644'