mirror of
https://github.com/roles-ansible/ansible_role_gitea.git
synced 2024-08-16 11:39:50 +02:00
commit
b7323e516f
3 changed files with 8 additions and 2 deletions
|
@ -10,6 +10,12 @@ This role installs and manages [gitea](https://gitea.io) or [forgejo](https://fo
|
||||||
[Source code forgejo](https://codeberg.org/forgejo/forgejo).
|
[Source code forgejo](https://codeberg.org/forgejo/forgejo).
|
||||||
This role is also Part of the Ansible-Collection [l3d.git](https://galaxy.ansible.com/l3d/git). [![l3d.git](https://ansible.l3d.space/svg/l3d.git_ansible-collection_collection.svg)](https://github.com/roles-ansible/ansible_collection_git.git).
|
This role is also Part of the Ansible-Collection [l3d.git](https://galaxy.ansible.com/l3d/git). [![l3d.git](https://ansible.l3d.space/svg/l3d.git_ansible-collection_collection.svg)](https://github.com/roles-ansible/ansible_collection_git.git).
|
||||||
|
|
||||||
|
## Mirrors
|
||||||
|
The role is mirrored to:
|
||||||
|
+ Github: [github.com/roles-ansible/ansible_role_gitea](https://github.com/roles-ansible/ansible_role_gitea.git)
|
||||||
|
+ Gitea: [git.l3d.ch/ansible/ansible_role_gitea](https://git.l3d.ch/ansible/ansible_role_gitea.git)
|
||||||
|
More about it at [ansible.l3d.space](https://ansible.l3d.space/#l3d.gitea)
|
||||||
|
|
||||||
## Sample Usage in a playbook
|
## Sample Usage in a playbook
|
||||||
|
|
||||||
The following code has been tested with the latest Debian Stable, it should work on Ubuntu and RedHat as well.
|
The following code has been tested with the latest Debian Stable, it should work on Ubuntu and RedHat as well.
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
file: 'backup.yml'
|
file: 'backup.yml'
|
||||||
when: gitea_backup_on_upgrade|bool
|
when: gitea_backup_on_upgrade|bool
|
||||||
|
|
||||||
- name: Create gitea user and role
|
- name: Create gitea user and group
|
||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
file: 'create_user.yml'
|
file: 'create_user.yml'
|
||||||
|
|
||||||
|
|
|
@ -62,5 +62,5 @@ transfer_custom_footer:
|
||||||
- 'files/gitea_footer/extra_links_footer.tmpl'
|
- 'files/gitea_footer/extra_links_footer.tmpl'
|
||||||
- 'files/extra_links_footer.tmpl'
|
- 'files/extra_links_footer.tmpl'
|
||||||
|
|
||||||
playbook_version_number: 54
|
playbook_version_number: 55
|
||||||
playbook_version_path: 'do1jlr.gitea.version'
|
playbook_version_path: 'do1jlr.gitea.version'
|
||||||
|
|
Loading…
Reference in a new issue