X Tutup
Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

Commit b5695f4

Browse files
committed
Plex Autoscan: jq tasks will now keep nice formatting.
1 parent a7d8418 commit b5695f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/plex_autoscan/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
- name: Set 'PLEX_LD_LIBRARY_PATH' in config.json
8282
shell: |
8383
CONFIG_PATH="/opt/plex_autoscan/config"
84-
jq -c '.PLEX_LD_LIBRARY_PATH = "/usr/lib/plexmediaserver/lib"' ${CONFIG_PATH}/config.json >> \
84+
jq -c '.PLEX_LD_LIBRARY_PATH = "/usr/lib/plexmediaserver/lib"' ${CONFIG_PATH}/config.json | jq . > \
8585
${CONFIG_PATH}/tmp.$$.json && mv ${CONFIG_PATH}/tmp.$$.json ${CONFIG_PATH}/config.json
8686
become: yes
8787
become_user: "{{ user }}"

0 commit comments

Comments
 (0)
X Tutup