An Ansible role that will install and configure Docker, Gitea, Act runner, and Nginx on an Ubuntu server.
Note: This runs Docker as root.
Everything is covered by Ansible itself.
gitea_version: "1.22"
gitea_schema: https
web_server_port: 80
gitea_backend_port: 3000
gitea_ssh_port: 22
web_server_name: git.example.com
web_server_config_name: gitexamplecom
nginx_version: 1.22.0-1ubuntu3
gitea_admin_username: user0
gitea_admin_password: password
gitea_admin_email: [email protected]
gitea_act_version: "0.2.10"
gitea_act_runner_name: act-runner
None.
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
become: true
roles:
- role: gitea-act-runner
vars:
web_server_name: demo.example.com
web_server_config_name: demoexample
BSD
Check out the accompanying blog post on hakk.dev