From 21109f160e3b649000afb9c7f3de557a3a752496 Mon Sep 17 00:00:00 2001 From: Maksym Buz Date: Sun, 24 Aug 2025 23:09:32 +0200 Subject: [PATCH] FIX: Fixed incorrect .env file and updated inventory to have a separate Ansible host --- Ansible/inventory/hosts.ini | 3 ++- Docker/semaphore-ui/.env.example | 8 ++++---- Docker/semaphore-ui/docker-run.sh | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Ansible/inventory/hosts.ini b/Ansible/inventory/hosts.ini index ac72f56..6ce9d2a 100644 --- a/Ansible/inventory/hosts.ini +++ b/Ansible/inventory/hosts.ini @@ -20,7 +20,8 @@ truenas ansible_host=10.0.0.200 gitea ansible_host=10.0.0.108 zabbix-proxy ansible_host=10.0.0.110 pi-hole ansible_host=10.0.0.104 -localhost ansible_connection=local # for testing playbooks on the control node +ansible ansible_host=10.0.0.111 +#localhost ansible_connection=local # for testing playbooks on the control node [pbs] diff --git a/Docker/semaphore-ui/.env.example b/Docker/semaphore-ui/.env.example index 4b5e0ea..b359d01 100644 --- a/Docker/semaphore-ui/.env.example +++ b/Docker/semaphore-ui/.env.example @@ -1,4 +1,4 @@ -ADMIN_USER=admin -ADMIN_PASS=changeme -ADMIN_NAME=Admin -ADMIN_EMAIL=admin@example.com +SEMAPHORE_ADMIN=admin +SEMAPHORE_ADMIN_PASSWORD=changeme +SEMAPHORE_ADMIN_NAME=Admin +SEMAPHORE_ADMIN_EMAIL=admin@example.com \ No newline at end of file diff --git a/Docker/semaphore-ui/docker-run.sh b/Docker/semaphore-ui/docker-run.sh index 773cc70..686d7a8 100644 --- a/Docker/semaphore-ui/docker-run.sh +++ b/Docker/semaphore-ui/docker-run.sh @@ -2,7 +2,7 @@ docker run -d \ --restart unless-stopped \ --name semaphore \ -p 3030:3000 \ - --env-file ./.env \ + --env-file .env \ -e SEMAPHORE_DB_DIALECT=sqlite \ -v semaphore-data:/var/lib/semaphore \ -v semaphore-config:/etc/semaphore \