Install gitea, a git web server
Find a file
2018-08-23 20:24:52 +02:00
defaults first version 2018-06-09 23:07:33 +02:00
handlers first version 2018-06-09 23:07:33 +02:00
meta first version 2018-06-09 23:07:33 +02:00
tasks first version 2018-06-09 23:07:33 +02:00
templates feat: change log folder for nginx 2018-08-23 20:24:52 +02:00
test/integration first version 2018-06-09 23:07:33 +02:00
.gitignore first version 2018-06-09 23:07:33 +02:00
.kitchen.yml first version 2018-06-09 23:07:33 +02:00
.rubocop.yml first version 2018-06-09 23:07:33 +02:00
CHANGELOG.md first version 2018-06-09 23:07:33 +02:00
Gemfile first version 2018-06-09 23:07:33 +02:00
Gemfile.lock first version 2018-06-09 23:07:33 +02:00
LICENSE first version 2018-06-09 23:07:33 +02:00
README.md first version 2018-06-09 23:07:33 +02:00

Ansible role: Gitea

Version License

Install gitea (a self-hosted git service) from the binary

Requirements

None

Role variables

  • gitea_version - the gitea version to install (see: https://github.com/go-gitea/gitea/releases)
  • gitea_architecture - the binary architecture to install (default: linux-amd64)
  • gitea_port - the gitea bind port (default: 3000)
  • gitea_user - the user name for gitea user (default: gitea)
  • gitea_group - the group name for gitea user (default: gitea)
  • gitea_uid - the user id for gitea user (default: 990)
  • gitea_gid - the group id for gitea user (default: 990)
  • gitea_home - the home directory for gitea user (default: /home/{{ gitea_user }})
  • gitea_repository_directory - the git repositories directory (default: '{{ gitea_home }}/data/repositories')
  • gitea_log_directory - the gitea log directory (default: {{ gitea_home }}/log)

How to use

  • Install:
- hosts: git-server
  roles:
    - gitea

Development

Tests with docker

  • install docker
  • install ruby
  • install bundler gem install bundler
  • install dependencies bundle install
  • run the tests kitchen test

License

Copyright (c) 2018 Adrien Waksberg

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.