Initial commit
Some checks failed
/ ansible-docsmith (push) Failing after 19s
/ molecule (certbot) (push) Failing after 28s
/ molecule (galene) (push) Failing after 18s
/ molecule (golang) (push) Failing after 32s

Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
Julien Riou 2026-02-16 18:57:09 +01:00 committed by Julien Riou
commit 3b4fd2a990
Signed by: jriou
GPG key ID: 9A099EDA51316854
92 changed files with 3507 additions and 0 deletions

View file

@ -0,0 +1,21 @@
---
- name: add forgejo user
ansible.builtin.user:
name: forgejo
system: yes
password: '!'
home: "{{ forgejo_home_dir }}"
create_home: no
- name: read forgejo attributes
ansible.builtin.getent:
database: passwd
key: forgejo
- name: deploy server
ansible.builtin.include_tasks: deploy-server.yml
when: forgejo_server
- name: deploy runners
ansible.builtin.include_tasks: deploy-runners.yml
when: forgejo_runners is defined