initial forgejo configuration
This commit is contained in:
parent
a32a3e64b5
commit
53ec035d37
6 changed files with 20 additions and 9 deletions
|
@ -1,12 +1,12 @@
|
||||||
role-forgejo
|
role-forgejo
|
||||||
=========
|
=========
|
||||||
|
|
||||||
A brief description of the role goes here.
|
This role installs and configures the forgejo git server and web UI
|
||||||
|
|
||||||
Requirements
|
Requirements
|
||||||
------------
|
------------
|
||||||
|
|
||||||
No requirements
|
The nginx-ssl role is highly recommended to handle ssl termination. Similarly the certbot role is also highly recommended to handle certificate creation/renewal automatically
|
||||||
|
|
||||||
Role Variables
|
Role Variables
|
||||||
--------------
|
--------------
|
||||||
|
@ -23,8 +23,8 @@ Example Playbook Template
|
||||||
|
|
||||||
Playbook creation should be handled by playbook-builder. To include role in a playbook, add one of these lines (changing version/branch as needed) to the template with other core entries:
|
Playbook creation should be handled by playbook-builder. To include role in a playbook, add one of these lines (changing version/branch as needed) to the template with other core entries:
|
||||||
|
|
||||||
role:mount:v1.0:core,mount
|
role:forgejo:v1.0:workload,forgejo
|
||||||
role:mount:testing:core,mount
|
role:forgejo:testing:workload,forgejo
|
||||||
|
|
||||||
License
|
License
|
||||||
-------
|
-------
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
#SPDX-License-Identifier: MIT-0
|
#SPDX-License-Identifier: MIT-0
|
||||||
---
|
---
|
||||||
# defaults file for ${REPO_NAME}
|
# defaults file for role-forgejo
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
#SPDX-License-Identifier: MIT-0
|
#SPDX-License-Identifier: MIT-0
|
||||||
---
|
---
|
||||||
# handlers file for ${REPO_NAME}
|
# handlers file for role-forgejo
|
||||||
|
|
|
@ -1,3 +1,14 @@
|
||||||
#SPDX-License-Identifier: MIT-0
|
#SPDX-License-Identifier: MIT-0
|
||||||
---
|
---
|
||||||
# tasks file for ${REPO_NAME}
|
# tasks file for role-forgejo
|
||||||
|
- name: install forgejo
|
||||||
|
ansible.builtin.package:
|
||||||
|
name: forgejo
|
||||||
|
state: present
|
||||||
|
|
||||||
|
#- name: deploy app.ini
|
||||||
|
#- name: ensure forgejo is running
|
||||||
|
# service:
|
||||||
|
# name: forgejo
|
||||||
|
# state: started
|
||||||
|
# enabled: yes
|
||||||
|
|
|
@ -3,4 +3,4 @@
|
||||||
- hosts: localhost
|
- hosts: localhost
|
||||||
remote_user: root
|
remote_user: root
|
||||||
roles:
|
roles:
|
||||||
- ${REPO_NAME}
|
- role-forgejo
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
#SPDX-License-Identifier: MIT-0
|
#SPDX-License-Identifier: MIT-0
|
||||||
---
|
---
|
||||||
# vars file for ${REPO_NAME}
|
# vars file for role-forgejo
|
Loading…
Add table
Reference in a new issue