Skip to content

ansible role to install and configure Gitea: a painless self-hosted Git service.

License

Notifications You must be signed in to change notification settings

ostaszewskik/ansible-gitea

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible-Gitea

The real challenge is not installing it, but configuring it properly. The official documentation is lacking some key components - in particular regarding configuring reversed proxy in webserver.

More information here

Requirements

  • LAMP stack
  • Ansible > 2.0
  • root privileges

Role Variables

Define those variables outside role folder:

  • group_srv_domain (domain of your server)
  • group_srv_admin_mail (your admin email)

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- hosts: servers
  roles:
    - gitea

Define hosts in hosts file. Run:

ansible-playbook -i hosts playbook.yml

to provision

run:

ansible-playbook -i hosts playbook.yml --tag "uninstall"

to delete all files, users and groups and cronjobs created during this configuration

About

ansible role to install and configure Gitea: a painless self-hosted Git service.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages