Add Template to deploy forgejo.

This template allows deploying a forgejo en either Scaleway or Hetzner
(untested) without much knowledge about them.
It DOES require knowledge about Terragrunt and ansible. A wizard of
sorts is provided but it will not guarantee success without some
knowledge about the underlying technology.
This commit is contained in:
Horacio Duran 2026-01-09 16:07:44 +01:00
parent a9f546f92a
commit 822e42dbb8
48 changed files with 6846 additions and 2 deletions

28
ansible/ansible.cfg Normal file
View file

@ -0,0 +1,28 @@
[defaults]
# Roles path relative to this config file
roles_path = ./roles
# Inventory path
inventory = ./inventory/production/hosts.yml
# Don't create retry files
retry_files_enabled = False
# Show task duration
callback_whitelist = timer
# Reduce verbosity
deprecation_warnings = False
# SSH settings
host_key_checking = False
timeout = 30
[privilege_escalation]
become = True
become_method = sudo
become_user = root
[ssh_connection]
pipelining = True
ssh_args = -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no