Update compose path to not be absolute
This relies on `which` to find the correct binary instead
This commit is contained in:
parent
a95ceb348f
commit
870ac50c58
17 changed files with 17 additions and 17 deletions
|
@ -12,6 +12,6 @@
|
||||||
dest: /opt/deluge/docker-compose.yml
|
dest: /opt/deluge/docker-compose.yml
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
validate: /usr/bin/docker-compose -f %s config
|
validate: docker-compose -f %s config
|
||||||
notify: restart deluge
|
notify: restart deluge
|
||||||
become: true
|
become: true
|
||||||
|
|
|
@ -12,6 +12,6 @@
|
||||||
dest: /opt/duplicati/docker-compose.yml
|
dest: /opt/duplicati/docker-compose.yml
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
validate: /usr/bin/docker-compose -f %s config
|
validate: docker-compose -f %s config
|
||||||
notify: restart duplicati
|
notify: restart duplicati
|
||||||
become: true
|
become: true
|
||||||
|
|
|
@ -20,6 +20,6 @@
|
||||||
dest: /opt/gitea/docker-compose.yml
|
dest: /opt/gitea/docker-compose.yml
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
validate: /usr/bin/docker-compose -f %s config
|
validate: docker-compose -f %s config
|
||||||
notify: restart gitea
|
notify: restart gitea
|
||||||
become: true
|
become: true
|
||||||
|
|
|
@ -20,6 +20,6 @@
|
||||||
dest: /opt/pages/docker-compose.yml
|
dest: /opt/pages/docker-compose.yml
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
validate: /usr/bin/docker-compose -f %s config
|
validate: docker-compose -f %s config
|
||||||
notify: restart pages
|
notify: restart pages
|
||||||
become: true
|
become: true
|
||||||
|
|
|
@ -28,6 +28,6 @@
|
||||||
dest: /opt/plausible/docker-compose.yml
|
dest: /opt/plausible/docker-compose.yml
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
validate: /usr/bin/docker-compose -f %s config
|
validate: docker-compose -f %s config
|
||||||
notify: restart plausible
|
notify: restart plausible
|
||||||
become: true
|
become: true
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
dest: /opt/calibre/docker-compose.yml
|
dest: /opt/calibre/docker-compose.yml
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
validate: /usr/bin/docker-compose -f %s config
|
validate: docker-compose -f %s config
|
||||||
register: compose_file
|
register: compose_file
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
dest: /opt/gotify/docker-compose.yml
|
dest: /opt/gotify/docker-compose.yml
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
validate: /usr/bin/docker-compose -f %s config
|
validate: docker-compose -f %s config
|
||||||
register: compose_file
|
register: compose_file
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
dest: /opt/librespeed/docker-compose.yml
|
dest: /opt/librespeed/docker-compose.yml
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
validate: /usr/bin/docker-compose -f %s config
|
validate: docker-compose -f %s config
|
||||||
register: compose_file
|
register: compose_file
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
dest: /opt/nextcloud/docker-compose.yml
|
dest: /opt/nextcloud/docker-compose.yml
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
validate: /usr/bin/docker-compose -f %s config
|
validate: docker-compose -f %s config
|
||||||
register: compose_file
|
register: compose_file
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
dest: /opt/quassel/docker-compose.yml
|
dest: /opt/quassel/docker-compose.yml
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
validate: /usr/bin/docker-compose -f %s config
|
validate: docker-compose -f %s config
|
||||||
register: compose_file
|
register: compose_file
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
dest: /opt/synapse/docker-compose.yml
|
dest: /opt/synapse/docker-compose.yml
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
validate: /usr/bin/docker-compose -f %s config
|
validate: docker-compose -f %s config
|
||||||
register: compose_file
|
register: compose_file
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
dest: /opt/tt-rss/docker-compose.yml
|
dest: /opt/tt-rss/docker-compose.yml
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
validate: /usr/bin/docker-compose -f %s config
|
validate: docker-compose -f %s config
|
||||||
register: compose_file
|
register: compose_file
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
dest: /opt/wallabag/docker-compose.yml
|
dest: /opt/wallabag/docker-compose.yml
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
validate: /usr/bin/docker-compose -f %s config
|
validate: docker-compose -f %s config
|
||||||
register: compose_file
|
register: compose_file
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
dest: /opt/whoami/docker-compose.yml
|
dest: /opt/whoami/docker-compose.yml
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
validate: /usr/bin/docker-compose -f %s config
|
validate: docker-compose -f %s config
|
||||||
register: compose_file
|
register: compose_file
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
dest: /opt/traefik/docker-compose.yml
|
dest: /opt/traefik/docker-compose.yml
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
validate: /usr/bin/docker-compose -f %s config
|
validate: docker-compose -f %s config
|
||||||
notify: restart traefik
|
notify: restart traefik
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
|
|
@ -15,6 +15,6 @@
|
||||||
dest: /opt/upload/docker-compose.yml
|
dest: /opt/upload/docker-compose.yml
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
validate: /usr/bin/docker-compose -f %s config
|
validate: docker-compose -f %s config
|
||||||
notify: restart upload
|
notify: restart upload
|
||||||
become: true
|
become: true
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
dest: /opt/yourls/docker-compose.yml
|
dest: /opt/yourls/docker-compose.yml
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
validate: /usr/bin/docker-compose -f %s config
|
validate: docker-compose -f %s config
|
||||||
notify: restart yourls
|
notify: restart yourls
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue