From 821cd2f711dbbad67d1d56a2bf1f10681be5a2a5 Mon Sep 17 00:00:00 2001 From: Dan D Date: Sun, 3 Dec 2023 13:30:08 -0800 Subject: [PATCH] changes git_client from boolean to string Signed-off-by: Dan D --- defaults/main/1_main.yml | 2 +- templates/etc/semaphore/config.json.j2 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/defaults/main/1_main.yml b/defaults/main/1_main.yml index 228f49c..6f2311e 100644 --- a/defaults/main/1_main.yml +++ b/defaults/main/1_main.yml @@ -86,7 +86,7 @@ defaults_sem: telegram_alert: false slack_alert: false demo_mode: false - git_client: false + git_client: 'go_git' # can only be go_git or cmd_git ansible_config: # ansible.cfg => https://docs.ansible.com/ansible/latest/reference_appendices/config.html defaults: # section diff --git a/templates/etc/semaphore/config.json.j2 b/templates/etc/semaphore/config.json.j2 index 1506a37..52c95a0 100644 --- a/templates/etc/semaphore/config.json.j2 +++ b/templates/etc/semaphore/config.json.j2 @@ -62,5 +62,5 @@ "ldap_enable": {{ cnf_n.ldap_enable | json_bool }}, "ldap_needtls": {{ cnf_n.ldap_needtls | json_bool }}, "demo_mode": {{ cnf_n.demo_mode | json_bool }}, - "git_client": "{{ cnf_n.git_client | json_bool }}" - } \ No newline at end of file + "git_client": "{{ cnf_n.git_client }}" + }