From 9d183e867a17ecaa85c1b7d924b593609fa3045a Mon Sep 17 00:00:00 2001 From: vincent Date: Wed, 17 Apr 2019 21:07:25 +0200 Subject: [PATCH] add gitea role --- group_vars/server | 10 ++++++++++ host_vars/arch3 | 5 ++++- host_vars/pi2 | 4 +++- 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/group_vars/server b/group_vars/server index d8b44aa..65c4c46 100644 --- a/group_vars/server +++ b/group_vars/server @@ -125,3 +125,13 @@ bind_forwarders: bind_recursion: true bind_allow_recursion: - "192.168.1.0/24" + +gitea_http_listen: 0.0.0.0 +gitea_db_type: mysql +gitea_db_host: localhost:3306 +gitea_db_name: gitea +gitea_db_user: gitea +gitea_db_password: "{{ vault_mysql_gitea }}" +gitea_ssh_domain: "{{ansible_hostname}}" +gitea_start_ssh: false +gitea_ssh_port: 22 \ No newline at end of file diff --git a/host_vars/arch3 b/host_vars/arch3 index a7a206e..431807b 100644 --- a/host_vars/arch3 +++ b/host_vars/arch3 @@ -1 +1,4 @@ -ttrss_url_path: http://arch3/tt-rss/ \ No newline at end of file +ttrss_url_path: http://arch3/tt-rss/ + +gitea_http_domain: arch3 +gitea_root_url: http://arch3:3000 \ No newline at end of file diff --git a/host_vars/pi2 b/host_vars/pi2 index 725e3b8..f7aaaea 100644 --- a/host_vars/pi2 +++ b/host_vars/pi2 @@ -1 +1,3 @@ -ttrss_url_path: "https://www.{{domain.name}}/tt-rss" \ No newline at end of file +ttrss_url_path: "https://www.{{domain.name}}/tt-rss" +gitea_http_domain: git.{{domain.name}} +gitea_root_url: https://git.{{domain.name}} \ No newline at end of file