From 43ca19b493f97ff108dac2fd9faa4e051b17eaac Mon Sep 17 00:00:00 2001 From: Salt Date: Mon, 18 Jan 2021 06:24:32 -0600 Subject: [PATCH] Port configuration for git.9iron.club --- playbooks/vars/9iron-gitea.yml | 19 +++++++++++++++++++ playbooks/web.yml | 3 +++ 2 files changed, 22 insertions(+) create mode 100644 playbooks/vars/9iron-gitea.yml diff --git a/playbooks/vars/9iron-gitea.yml b/playbooks/vars/9iron-gitea.yml new file mode 100644 index 0000000..8efcbc4 --- /dev/null +++ b/playbooks/vars/9iron-gitea.yml @@ -0,0 +1,19 @@ +# vim:ft=ansible: +# Look and feel +gitea_app_name: "9iron Gitea" +# Core config +gitea_db_type: postgres +gitea_db_host: 172.31.47.215:5432 +gitea_db_name: gitea +gitea_db_user: gitea +gitea_db_password: "{{ secret_gitea_9iron_db_pass }}" +gitea_http_domain: git.9iron.club +gitea_oauth2_enabled: no +gitea_repository_root: /var/gitea +gitea_require_signin: no +gitea_root_url: https://git.9iron.club +gitea_shell: "/bin/bash" +gitea_ssh_domain: git.9iron.club +gitea_ssh_port: 22 +gitea_start_ssh: no +gitea_user: git diff --git a/playbooks/web.yml b/playbooks/web.yml index eebdf46..4befe22 100755 --- a/playbooks/web.yml +++ b/playbooks/web.yml @@ -105,6 +105,7 @@ - vars/php-fpm.yml - vars/9iron-apache.yml - vars/9iron-certbot.yml + - vars/9iron-gitea.yml roles: - role: backup vars: @@ -129,6 +130,8 @@ tags: [ web, php ] - role: apache tags: [ web, apache ] + - role: gitea + tags: [ web, gitea ] - hosts: game1.thefuck.how roles: - role: certbot