Go to file
2023-03-31 13:52:41 +02:00
.github Create .github/FUNDING.yml 2023-03-31 13:48:33 +02:00
meta Integrate gitea role 2023-03-31 13:45:14 +02:00
roles Integrate gitea role 2023-03-31 13:45:14 +02:00
.gitmodules Integrate gitea role 2023-03-31 13:45:14 +02:00
.yamllint Initialize Collection 2023-03-31 13:32:54 +02:00
changelog Integrate gitea role 2023-03-31 13:45:14 +02:00
CHANGELOG.md Integrate gitea role 2023-03-31 13:45:14 +02:00
CHANGELOG.rst Integrate gitea role 2023-03-31 13:45:14 +02:00
galaxy.yml no manifest in use 2023-03-31 13:51:54 +02:00
LICENSE Initialize Collection 2023-03-31 13:32:54 +02:00
README.md Initialize Collection 2023-03-31 13:32:54 +02:00

Ansible Collection - l3d.git

This is the Ansible Collection l3d.git. Here are all our ansible roles for installing git server.

Roles in l3d.git

  • l3d.git.gitea - Ansible role to install gitea or forgejo git server

Using this Collection

You can install the collection using ansible-galaxy by running:

ansible-galaxy collection install l3d.git

Or you could clone this collection in your local ansible project as collections/ansible_collections/l3d/git/.

You can also list a collection in requirements.yml:

---
collections:
  - name: l3d.git

Include roles in your playbook

Example Playbook using the l3d.git.gitea role:

---
- name: "Install forgejo git server from collection l3d.git"
  hosts: git.example.com
  roles:
    - {role: l3d.git.gitea, tags: forgejo}
  vars:
    # Here we assume we are behind a reverse proxy that will
    # handle https for us, so we bind on localhost:3000 using HTTP
    # see https://docs.gitea.io/en-us/reverse-proxies/#nginx
    gitea_fqdn: 'git.example.com'
    gitea_root_url: 'https://git.example.com'
    gitea_protocol: http
    gitea_start_ssh: true
    gitea_fork: 'forgejo'