Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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

Releases

No releases published

Packages

No packages published

Languages