Update compose path to not be absolute

This relies on `which` to find the correct binary instead
This commit is contained in:
Jake Howard 2021-02-07 15:59:18 +00:00
parent a95ceb348f
commit 870ac50c58
Signed by: jake
GPG key ID: 57AFB45680EDD477
17 changed files with 17 additions and 17 deletions

View file

@ -12,6 +12,6 @@
dest: /opt/deluge/docker-compose.yml
mode: "{{ docker_compose_file_mask }}"
owner: "{{ docker_user.name }}"
validate: /usr/bin/docker-compose -f %s config
validate: docker-compose -f %s config
notify: restart deluge
become: true

View file

@ -12,6 +12,6 @@
dest: /opt/duplicati/docker-compose.yml
mode: "{{ docker_compose_file_mask }}"
owner: "{{ docker_user.name }}"
validate: /usr/bin/docker-compose -f %s config
validate: docker-compose -f %s config
notify: restart duplicati
become: true

View file

@ -20,6 +20,6 @@
dest: /opt/gitea/docker-compose.yml
mode: "{{ docker_compose_file_mask }}"
owner: "{{ docker_user.name }}"
validate: /usr/bin/docker-compose -f %s config
validate: docker-compose -f %s config
notify: restart gitea
become: true

View file

@ -20,6 +20,6 @@
dest: /opt/pages/docker-compose.yml
mode: "{{ docker_compose_file_mask }}"
owner: "{{ docker_user.name }}"
validate: /usr/bin/docker-compose -f %s config
validate: docker-compose -f %s config
notify: restart pages
become: true

View file

@ -28,6 +28,6 @@
dest: /opt/plausible/docker-compose.yml
mode: "{{ docker_compose_file_mask }}"
owner: "{{ docker_user.name }}"
validate: /usr/bin/docker-compose -f %s config
validate: docker-compose -f %s config
notify: restart plausible
become: true

View file

@ -12,7 +12,7 @@
dest: /opt/calibre/docker-compose.yml
mode: "{{ docker_compose_file_mask }}"
owner: "{{ docker_user.name }}"
validate: /usr/bin/docker-compose -f %s config
validate: docker-compose -f %s config
register: compose_file
become: true

View file

@ -12,7 +12,7 @@
dest: /opt/gotify/docker-compose.yml
mode: "{{ docker_compose_file_mask }}"
owner: "{{ docker_user.name }}"
validate: /usr/bin/docker-compose -f %s config
validate: docker-compose -f %s config
register: compose_file
become: true

View file

@ -15,7 +15,7 @@
dest: /opt/librespeed/docker-compose.yml
mode: "{{ docker_compose_file_mask }}"
owner: "{{ docker_user.name }}"
validate: /usr/bin/docker-compose -f %s config
validate: docker-compose -f %s config
register: compose_file
become: true

View file

@ -15,7 +15,7 @@
dest: /opt/nextcloud/docker-compose.yml
mode: "{{ docker_compose_file_mask }}"
owner: "{{ docker_user.name }}"
validate: /usr/bin/docker-compose -f %s config
validate: docker-compose -f %s config
register: compose_file
become: true

View file

@ -12,7 +12,7 @@
dest: /opt/quassel/docker-compose.yml
mode: "{{ docker_compose_file_mask }}"
owner: "{{ docker_user.name }}"
validate: /usr/bin/docker-compose -f %s config
validate: docker-compose -f %s config
register: compose_file
become: true

View file

@ -15,7 +15,7 @@
dest: /opt/synapse/docker-compose.yml
mode: "{{ docker_compose_file_mask }}"
owner: "{{ docker_user.name }}"
validate: /usr/bin/docker-compose -f %s config
validate: docker-compose -f %s config
register: compose_file
become: true

View file

@ -21,7 +21,7 @@
dest: /opt/tt-rss/docker-compose.yml
mode: "{{ docker_compose_file_mask }}"
owner: "{{ docker_user.name }}"
validate: /usr/bin/docker-compose -f %s config
validate: docker-compose -f %s config
register: compose_file
become: true

View file

@ -15,7 +15,7 @@
dest: /opt/wallabag/docker-compose.yml
mode: "{{ docker_compose_file_mask }}"
owner: "{{ docker_user.name }}"
validate: /usr/bin/docker-compose -f %s config
validate: docker-compose -f %s config
register: compose_file
become: true

View file

@ -12,7 +12,7 @@
dest: /opt/whoami/docker-compose.yml
mode: "{{ docker_compose_file_mask }}"
owner: "{{ docker_user.name }}"
validate: /usr/bin/docker-compose -f %s config
validate: docker-compose -f %s config
register: compose_file
become: true

View file

@ -26,7 +26,7 @@
dest: /opt/traefik/docker-compose.yml
mode: "{{ docker_compose_file_mask }}"
owner: "{{ docker_user.name }}"
validate: /usr/bin/docker-compose -f %s config
validate: docker-compose -f %s config
notify: restart traefik
become: true

View file

@ -15,6 +15,6 @@
dest: /opt/upload/docker-compose.yml
mode: "{{ docker_compose_file_mask }}"
owner: "{{ docker_user.name }}"
validate: /usr/bin/docker-compose -f %s config
validate: docker-compose -f %s config
notify: restart upload
become: true

View file

@ -12,7 +12,7 @@
dest: /opt/yourls/docker-compose.yml
mode: "{{ docker_compose_file_mask }}"
owner: "{{ docker_user.name }}"
validate: /usr/bin/docker-compose -f %s config
validate: docker-compose -f %s config
notify: restart yourls
become: true