ansible-role-forgejo/README.md
Julien Riou 89bb202366
docs: Add storing and finding roles link
Signed-off-by: Julien Riou <julien@riou.xyz>
2024-12-21 10:02:16 +01:00

1.1 KiB

Ansible Role Forgejo

Ansible role to manage a Forgejo instance.

Installation

Clone the repository in your local Ansible roles directory:

git clone https://git.riou.xyz/jriou/ansible-role-forgejo.git ~/.ansible/roles/forgejo

See Storing and finding roles.

Configuration

See Variable precedence to find where you should put your own variables.

Then define at least forgejo_db_password with a strong and secure password, encrypted using ansible-vault.

See list of default variables.

Usage

Example of a basic forgejo.yml playbook:

hosts:
  - forgejo

roles:
  - forgejo

Then run the playbook:

ansible-playbook forgejo.yml

Donate

As we all love FOSS projects, you should consider donating to Codeberg, the non-profit organization behind Forgejo.