Deploy bibliogram

master
blallo 2021-03-01 19:54:53 +01:00
parent 93296bf63b
commit 0bb6d22293
Signed by: blallo
GPG Key ID: 0CBE577C9B72DC3F
3 changed files with 46 additions and 18 deletions

View File

@ -0,0 +1,3 @@
---
ansible_bibliogram_base_url: "https://insta.trubles.io"
ansible_bibliogram_with_systemd: true

View File

@ -154,6 +154,21 @@ gateway:
- "proxy_set_header X-Forwarded-Proto $scheme" - "proxy_set_header X-Forwarded-Proto $scheme"
- "proxy_set_header X-Forwarded-Port $server_port" - "proxy_set_header X-Forwarded-Port $server_port"
- "proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for" - "proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for"
- domain_name: insta.troubles.io
internal_ip: 192.168.122.11
internal_port: 10407
cert_email: blallo@troubles.ga
redirect_to_https: yes
password_protect: yes
password_file: /etc/nginx/.insta.troubles.io-htpasswd
username: insta
password: !vault |
$ANSIBLE_VAULT;1.2;AES256;cave
33313434396138353666356631616436323566653237383661623433393362373736666236633465
3132666533303532643137663632303337333265383261310a646235326639303433626466356462
66303631633961353738336633616139333239336231613936386535313634626132306163646430
6131373761353966380a336530396564666665346135323038646438303832613132616431346534
31363561346464353632353636353838393937306332653565306632343033396130
firewall: firewall:
home_iface: enp0s0 home_iface: enp0s0

View File

@ -4,37 +4,47 @@
roles: roles:
- role: jnv.unattended-upgrades - role: jnv.unattended-upgrades
unattended_remove_unused_dependencies: true unattended_remove_unused_dependencies: true
- role: base - role: ansible-base
tags: "base" - role: ansible-cockpit
- role: cockpit tag: srv, web
- hosts: minos.cave - hosts: minos.cave
roles: roles:
- zsh_chic - role: ansible-zsh-chic
- gateway tag: shell
- sendmail - role: ansible-gateway
tag: srv, web
- role: ansible-sendmail
tag: aux
vars: vars:
zsh_chic: zsh_chic:
users: "{{ default_user }}" users: "{{ default_user }}"
- hosts: srv.cave - hosts: srv.cave
roles: roles:
- role: zsh_chic - role: ansible-zsh-chic
tag: shell tag: shell
- mysql - role: geerlingguy.mysql
- role: torrent_server tag: srv, aux
tag: srv_torrent - role: ansible-torrent-server
- sendmail tag: srv, torrent
- syncthing - role: ansible-sendmail
tag: aux
- role: ansible-syncthing
tag: srv
- role: ansible-bibliogram
tag: web, srv
vars: vars:
zsh_chic: zsh_chic:
users: "{{ default_user }}" users: "{{ default_user }}"
- hosts: mercury.cave - hosts: mercury.cave
roles: roles:
- zsh_chic - role: ansible-zsh-chic
- docker_hosts tag: shell
- drone_server - role: ansible-role-docker
- fdroid_server tag: srv, aux
# - lineage-builder - role: ansible_drone
- sendmail tag: srv
- role: ansible-sendmail
tag: aux
vars: vars:
zsh_chic: zsh_chic:
users: "{{ default_user }}" users: "{{ default_user }}"