diff options
Diffstat (limited to 'roles/jumbotron')
-rw-r--r-- | roles/jumbotron/tasks/autologin.yml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/roles/jumbotron/tasks/autologin.yml b/roles/jumbotron/tasks/autologin.yml index f9052ba..7230f1e 100644 --- a/roles/jumbotron/tasks/autologin.yml +++ b/roles/jumbotron/tasks/autologin.yml @@ -26,7 +26,6 @@ file: path: '{{ item }}' state: absent - with_items: "{{ getty_tty1_existing.files|map(attribute='path')|list }}" - when: "item not in getty_tty1_created.results|map(attribute='dest')" + with_items: "{{ getty_tty1_existing.files|map(attribute='path')|difference(getty_tty1_created.results|map(attribute='dest'))|list }}" # vim: set ts=2 sw=2 et: |