Add missing 9iron configuration, move desu.ltd gitea to its own vars file
This commit is contained in:
parent
e469f406b0
commit
b2fc3ff377
30
playbooks/vars/9iron-apache.yml
Normal file
30
playbooks/vars/9iron-apache.yml
Normal file
@ -0,0 +1,30 @@
|
||||
# vim:ft=ansible:
|
||||
apache_global_vhost_settings: |
|
||||
DirectoryIndex index.php index.html
|
||||
Protocols h2 http/1.1
|
||||
<FilesMatch \.php$>
|
||||
SetHandler "proxy:fcgi://127.0.0.1:9000"
|
||||
</FilesMatch>
|
||||
apache_vhosts:
|
||||
- servername: nc.9iron.club
|
||||
extra_parameters: |
|
||||
Redirect permanent / https://nc.9iron.club/
|
||||
- servername: git.9iron.club
|
||||
extra_parameters: |
|
||||
Redirect permanent / https://git.9iron.club/
|
||||
apache_vhosts_ssl:
|
||||
- servername: git.9iron.club
|
||||
extra_parameters: |
|
||||
ProxyPreserveHost On
|
||||
ProxyRequests Off
|
||||
ProxyPass / http://127.0.0.1:3000/ nocanon retry=1
|
||||
certificate_file: /etc/letsencrypt/live/nc.9iron.club/fullchain.pem
|
||||
certificate_key_file: /etc/letsencrypt/live/nc.9iron.club/privkey.pem
|
||||
certificate_chain_file: /etc/letsencrypt/live/nc.9iron.club/chain.pem
|
||||
- servername: nc.9iron.club
|
||||
extra_parameters: |
|
||||
Header always set Strict-Transport-Security "max-age=31536000"
|
||||
documentroot: /var/www/nextcloud
|
||||
certificate_file: /etc/letsencrypt/live/nc.9iron.club/fullchain.pem
|
||||
certificate_key_file: /etc/letsencrypt/live/nc.9iron.club/privkey.pem
|
||||
certificate_chain_file: /etc/letsencrypt/live/nc.9iron.club/chain.pem
|
10
playbooks/vars/9iron-certbot.yml
Normal file
10
playbooks/vars/9iron-certbot.yml
Normal file
@ -0,0 +1,10 @@
|
||||
# vim:ft=ansible:
|
||||
certbot_admin_email: rehashedsalt@cock.li
|
||||
certbot_create_if_missing: yes
|
||||
certbot_create_method: standalone
|
||||
certbot_create_standalone_stop_services:
|
||||
- apache2
|
||||
certbot_certs:
|
||||
- domains:
|
||||
- nc.9iron.club
|
||||
- git.9iron.club
|
19
playbooks/vars/desultd-gitea.yml
Normal file
19
playbooks/vars/desultd-gitea.yml
Normal file
@ -0,0 +1,19 @@
|
||||
# vim:ft=ansible:
|
||||
# Look and feel
|
||||
gitea_app_name: "Git Desu"
|
||||
# Core config
|
||||
gitea_db_type: postgres
|
||||
gitea_db_host: 192.168.164.156:5432
|
||||
gitea_db_name: gitea-desultd
|
||||
gitea_db_user: gitea-desultd
|
||||
gitea_db_password: "{{ secret_gitea_db_pass }}"
|
||||
gitea_http_domain: git.desu.ltd
|
||||
gitea_oauth2_enabled: no
|
||||
gitea_repository_root: /srv/desu.ltd/git
|
||||
gitea_require_signin: no
|
||||
gitea_root_url: https://git.desu.ltd
|
||||
gitea_shell: "/bin/bash"
|
||||
gitea_ssh_domain: git.desu.ltd
|
||||
gitea_ssh_port: 22
|
||||
gitea_start_ssh: no
|
||||
gitea_user: git
|
@ -12,6 +12,7 @@
|
||||
- vars/php-fpm.yml
|
||||
- vars/desultd-apache.yml
|
||||
- vars/desultd-certbot.yml
|
||||
- vars/desultd-gitea.yml
|
||||
- vars/desultd-nextcloud.yml
|
||||
roles:
|
||||
- role: backup
|
||||
|
Loading…
Reference in New Issue
Block a user