Skip to content

Commit 58ffa34

Browse files
Nimon77FreekBes
authored andcommitted
Ensure lightdm.conf ends with newline
1 parent 0c697c4 commit 58ffa34

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tasks/setup.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@
4949
group: root
5050
mode: '0644'
5151

52+
- name: Ensure lightdm.conf ends with newline
53+
tags: [codam.webgreeter, codam.webgreeter.setup]
54+
become: true
55+
ansible.builtin.shell: |
56+
sed -i -e '$a\' /etc/lightdm/lightdm.conf
57+
5258
- name: Configure lightdm
5359
tags: [codam.webgreeter, codam.webgreeter.setup]
5460
become: true

0 commit comments

Comments
 (0)