aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roles/jumbotron/tasks/autologin.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/jumbotron/tasks/autologin.yml b/roles/jumbotron/tasks/autologin.yml
index 7230f1e..0feee87 100644
--- a/roles/jumbotron/tasks/autologin.yml
+++ b/roles/jumbotron/tasks/autologin.yml
@@ -24,8 +24,8 @@
- name: Delete unneeded tty1 configuration
file:
- path: '{{ item }}'
+ path: '/etc/systemd/system/getty@tty1.service.d/{{ item }}'
state: absent
- with_items: "{{ getty_tty1_existing.files|map(attribute='path')|difference(getty_tty1_created.results|map(attribute='dest'))|list }}"
+ with_items: "{{ getty_tty1_existing.files|map(attribute='path')|map('basename')|difference(getty_tty1_created.results|map(attribute='dest')|map('basename'))|list }}"
# vim: set ts=2 sw=2 et: