From 5a805b832329f0c8baa4e292670e1c963b4a9c44 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Mon, 27 Mar 2023 02:39:11 +0200 Subject: [PATCH] Optimized akaunting role --- roles/docker-akaunting/README.md | 6 +++--- roles/docker-akaunting/handlers/main.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/docker-akaunting/README.md b/roles/docker-akaunting/README.md index 86630f3a..21d3e4fe 100644 --- a/roles/docker-akaunting/README.md +++ b/roles/docker-akaunting/README.md @@ -58,12 +58,12 @@ php composer.phar install ```bash # DO SET MANUEL VARIABLES >> -akaunting_db_password=XXXXXXXXX -backup_version=XXXXXXXXX +export akaunting_db_password=XXXXXXXXX +export backup_version=XXXXXXXXX # << DO SET MANUEL VARIABLES # set automatic variables -machine_id="$(sha256sum /etc/machine-id)" +export machine_id="$(sha256sum /etc/machine-id)" export COMPOSE_HTTP_TIMEOUT=600 export DOCKER_CLIENT_TIMEOUT=600 diff --git a/roles/docker-akaunting/handlers/main.yml b/roles/docker-akaunting/handlers/main.yml index 80bc97e6..03d6e54f 100644 --- a/roles/docker-akaunting/handlers/main.yml +++ b/roles/docker-akaunting/handlers/main.yml @@ -4,6 +4,6 @@ cmd: docker-compose -p akaunting up -d --force-recreate chdir: "{{docker_compose_akaunting_path}}" environment: - AKAUNTING_SETUP: true + #AKAUNTING_SETUP: true COMPOSE_HTTP_TIMEOUT: 600 DOCKER_CLIENT_TIMEOUT: 600