fix: simplify conditions for stopping and starting Plex service in Ansible tasks
Some checks failed
Ansible Lint Check / check-ansible (push) Failing after 15s
Nix Format Check / check-format (push) Successful in 1m17s
Python Lint Check / check-python (push) Failing after 11s

This commit is contained in:
2025-03-25 15:19:51 +01:00
parent 4425215ea9
commit 7c02ca2ab5

View File

@ -26,8 +26,8 @@
- name: Stop Plex service
ansible.builtin.command: docker compose -f "{{ plex_service_dir }}/docker-compose.yml" down --remove-orphans
when: plex_compose.changed or plex_act_runner_config.changed
when: plex_compose.changed
- name: Start Plex service
ansible.builtin.command: docker compose -f "{{ plex_service_dir }}/docker-compose.yml" up -d
when: plex_compose.changed or plex_act_runner_config.changed
when: plex_compose.changed