From 7cfd856748a2687a0897a6017991f892f7ebe9ae Mon Sep 17 00:00:00 2001 From: faten Date: Thu, 20 Feb 2025 11:12:21 +0000 Subject: [PATCH] config mysql --- host_vars/semaphore_vm.yml | 16 ++++++++++++++++ hosts | 3 ++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/host_vars/semaphore_vm.yml b/host_vars/semaphore_vm.yml index b4ff770..5e88b18 100644 --- a/host_vars/semaphore_vm.yml +++ b/host_vars/semaphore_vm.yml @@ -1 +1,17 @@ ansible_host: 51.255.97.175 +semaphore_config_dir: /opt/semaphore/config +semaphore_data_dir: /opt/semaphore/data +your_mysql_root_password: "SecureMySQLRootPassword123" # REPLACE WITH YOUR ACTUAL ROOT PASSWORD! +semaphore_mysql_password: "SecureSemaphoreMySQLPassword456" # REPLACE WITH YOUR ACTUAL SEMAPHORE PASSWORD! +semaphore_database_type: mysql +semaphore_mysql_host: 127.0.0.1 +semaphore_mysql_port: 3306 +semaphore_mysql_database: semaphore +semaphore_mysql_user: semaphore +semaphore_container_name: semaphore +semaphore_image: semaphoreui/semaphore:latest +semaphore_http_port: 3000 +semaphore_admin_user: admin +semaphore_admin_password: "SecureSemaphoreAdminPassword789" # REPLACE WITH YOUR ACTUAL ADMIN PASSWORD! +semaphore_admin_name: "Administrator" +semaphore_admin_email: "admin@example.com" diff --git a/hosts b/hosts index 02c1800..1798dc8 100644 --- a/hosts +++ b/hosts @@ -1,5 +1,6 @@ ;[all] ;stg-feten-vm2 + [semaphore] -semaphore_vm +semaphore_vm ansible_host=51.255.97.175 ansible_user=ubuntu ansible_become=true