Skip to content

Commit 0c697c4

Browse files
hazamashokenFreekBes
authored andcommitted
Remove nody-greeter dotdesktop files on init
Change-Id: I8552e34b7f0bed773b01647ad8389fe9c41d612d Signed-off-by: hazamashoken <[email protected]> (cherry picked from commit e84b734806806d8b06ba7c3817c24c1084dcf5a7)
1 parent 6b83d35 commit 0c697c4

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

tasks/init.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,3 +103,11 @@
103103
deb: "/tmp/nody-greeter-{{ nody_greeter_version }}-ubuntu.deb"
104104
state: present
105105
when: nody_greeter_pkg.stdout.find("install ok installed " + nody_greeter_version) == -1
106+
107+
- name: Remove unwanted nody-greeter dotdesktop
108+
tags: [codam.webgreeter, codam.webgreeter.init, codam.webgreeter.dotdesktop]
109+
file:
110+
path: "{{ item }}"
111+
state: absent
112+
with_items:
113+
- /usr/share/applications/nody-greeter.desktop

tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
- name: "Include initial requirements for codam-web-greeter"
33
ansible.builtin.include_tasks: "init.yml"
4-
tags: [codam.webgreeter, codam.webgreeter.init]
4+
tags: [codam.webgreeter, codam.webgreeter.init, codam.webgreeter.dotdesktop]
55

66
- name: "Include installation process for codam-web-greeter"
77
ansible.builtin.include_tasks: "install.yml"

0 commit comments

Comments
 (0)