Add Gitea dev playbook and host_vars

This commit is contained in:
Kris Lamoureux 2023-10-19 16:40:34 -04:00
parent d05c5d3086
commit c3b4321667
Signed by: kris
GPG Key ID: 3EDA9C3441EDA925
2 changed files with 34 additions and 0 deletions

9
dev/gitea.yml Normal file
View File

@ -0,0 +1,9 @@
- name: Install Gitea Server
hosts: all
become: true
vars_files:
- host_vars/gitea.yml
roles:
- base
- docker
- gitea

25
dev/host_vars/gitea.yml Normal file
View File

@ -0,0 +1,25 @@
# base
allow_reboot: false
manage_network: false
# Import my GPG key for git signature verification
root_gpgkeys:
- name: kris@lamoureux.io
id: FBF673CEEC030F8AECA814E73EDA9C3441EDA925
# docker
docker_users:
- vagrant
docker_compose_env_nolog: false # dev only setting
docker_compose_deploy:
# Traefik
- name: traefik
url: https://github.com/krislamo/traefik
version: 31ee724feebc1d5f91cb17ffd6892c352537f194
enabled: true
accept_newhostkey: true # Consider verifying manually instead
trusted_keys:
- FBF673CEEC030F8AECA814E73EDA9C3441EDA925
env:
ENABLE: true