Added Gitea role and configuration
This commit is contained in:
10
inventories/group_vars/gitea.yml
Normal file
10
inventories/group_vars/gitea.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
|
||||
gitea_fqdn: https://git.metaunix.net
|
||||
gitea_http_port: 3000
|
||||
gitea_data_dir: /var/lib/gitea
|
||||
|
||||
# use the default SSH server for git operations, not Gitea's built-in one
|
||||
gitea_ssh_port: 22
|
||||
gitea_user: git
|
||||
gitea_start_ssh: false
|
||||
3
inventories/host_vars/mustafar.yml
Normal file
3
inventories/host_vars/mustafar.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
|
||||
gitea_version: 1.25.5
|
||||
@@ -1,12 +1,15 @@
|
||||
[control]
|
||||
mustafar ansible_host=mustafar
|
||||
|
||||
[web]
|
||||
lb-v3 ansible_host=lb-v3.int.metaunix.net
|
||||
ks-v2 ansible_host=ks-v2.int.metaunix.net
|
||||
[gitea]
|
||||
mustafar ansible_host=mustafar
|
||||
|
||||
[nameservers]
|
||||
#ns1 ansible_host=ns1.int.metaunix.net
|
||||
#ns2 ansible_host=ns2.int.metaunix.net
|
||||
ns3 ansible_host=ns3.int.metaunix.net
|
||||
ns4 ansible_host=ns4.int.metaunix.net
|
||||
|
||||
[web]
|
||||
lb-v3 ansible_host=lb-v3.int.metaunix.net
|
||||
ks-v2 ansible_host=ks-v2.int.metaunix.net
|
||||
|
||||
8
playbooks/gitea.yml
Normal file
8
playbooks/gitea.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
|
||||
- name: Install Gitea
|
||||
hosts: gitea_servers
|
||||
become: True
|
||||
|
||||
roles:
|
||||
- ansible-roles.gitea
|
||||
@@ -1,3 +1,7 @@
|
||||
collections:
|
||||
- name: ansible.posix
|
||||
- name: community.general
|
||||
|
||||
roles:
|
||||
- src: roles-ansible.gitea
|
||||
version: v3.6.3
|
||||
|
||||
Reference in New Issue
Block a user