ansible-role-forgejo/README.md
Julien Riou b98784f0c0
docs: Create basic installation/configuration/usage
Signed-off-by: Julien Riou <julien@riou.xyz>
2024-12-21 09:53:23 +01:00

839 B

Ansible Role Forgejo

Ansible role to manage a Forgejo instance.

Installation

Clone the repository in your local Ansible role directory:

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

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