Skip to content

Commit dcb5d2b

Browse files
committed
plex: fix plex-reset-codecs
1 parent 0842041 commit dcb5d2b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

roles/plex/tasks/main2.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,9 @@
4242
block:
4343
- name: Get contents of Plex Codecs Folder
4444
ansible.builtin.find:
45-
path: "{{ plex_paths_application_support_location }}/Codecs"
46-
excludes: '.device-id'
45+
paths: "{{ plex_paths_application_support_location }}/Codecs"
46+
file_type: directory
47+
recurse: no
4748
register: plex_codecs_removal
4849

4950
- name: Delete Plex Codecs Folder

0 commit comments

Comments
 (0)