From c5857d0ba8c73a36e72dbd520f62be711ca78c8d Mon Sep 17 00:00:00 2001 From: Sam Al-Sapti Date: Sun, 9 Jul 2023 19:51:26 +0200 Subject: [PATCH] Don't put unnecessary executables in git --- roles/docker/files/byro_deploy_entrypoint.sh | 0 roles/docker/tasks/services/byro.yml | 15 +++++++-------- 2 files changed, 7 insertions(+), 8 deletions(-) mode change 100755 => 100644 roles/docker/files/byro_deploy_entrypoint.sh diff --git a/roles/docker/files/byro_deploy_entrypoint.sh b/roles/docker/files/byro_deploy_entrypoint.sh old mode 100755 new mode 100644 diff --git a/roles/docker/tasks/services/byro.yml b/roles/docker/tasks/services/byro.yml index 2d2eea9..266c9ca 100644 --- a/roles/docker/tasks/services/byro.yml +++ b/roles/docker/tasks/services/byro.yml @@ -1,29 +1,28 @@ +# vim: ft=yaml.ansible --- - -- name: ensure byro data folder exists +- name: Ensure byro data folder exists file: path: "{{ services.byro.volume_folder }}" state: directory -- name: create env file +- name: Create env file template: src: byro.env.j2 dest: "{{ services.byro.volume_folder }}/env" -- name: deploy entrypoint file +- name: Deploy entrypoint file copy: src: byro_deploy_entrypoint.sh dest: "{{ services.byro.volume_folder}}/data/deploy_entrypoint.sh" - mode: "preserve" + mode: u=rwx,g=rx,o=rx -- name: run byro +- name: Run byro docker_compose: - project_name: "byro member system" + project_name: byro_member_system" pull: yes definition: version: "3.8" services: - manage: image: ghcr.io/valberg/byro:add_missing_jquery_ui_images entrypoint: "/var/byro/data/deploy_entrypoint.sh"