change things to forgejo
This commit is contained in:
parent
7ea953b6fe
commit
21a41d680c
@ -1,6 +1,6 @@
|
||||
# Ansible AWX Template: Gitea Management
|
||||
# Ansible AWX Template: Gitea/Forgejo Management
|
||||
|
||||
Ansible AWX is the method used for the Rocky Linux infrastructure, as a replacement for using the CLI. This template is used specifically for management of Gitea.
|
||||
Ansible AWX is the method used for the Rocky Linux infrastructure, as a replacement for using the CLI. This template is used specifically for management of Gitea/Forgejo.
|
||||
|
||||
## TODO
|
||||
|
||||
@ -9,7 +9,7 @@ Ansible AWX is the method used for the Rocky Linux infrastructure, as a replacem
|
||||
|
||||
## Provides / Information
|
||||
|
||||
This repository is for Gitea operations and management.
|
||||
This repository is for Gitea/Forgejo operations and management.
|
||||
|
||||
```
|
||||
.
|
||||
|
5
tasks/forgejo.yml
Normal file
5
tasks/forgejo.yml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
- import_tasks: "tasks/gitea/install.yml"
|
||||
- import_tasks: "tasks/gitea/configure.yml"
|
||||
- import_tasks: "tasks/gitea/theme.yml"
|
||||
...
|
30
tasks/forgejo/theme.yml
Normal file
30
tasks/forgejo/theme.yml
Normal file
@ -0,0 +1,30 @@
|
||||
---
|
||||
# - name: Deploy all theme files
|
||||
# ansible.builtin.copy:
|
||||
# src: "var/lib/gitea/custom/public/css/{{ item }}"
|
||||
# dest: "/var/lib/gitea/custom/public/css/{{ item }}"
|
||||
# mode: '0644'
|
||||
# owner: git
|
||||
# group: git
|
||||
# with_items:
|
||||
# - theme-carbonred.css
|
||||
# - theme-darkred.css
|
||||
# - theme-gitea-blue.css
|
||||
# - theme-gitea-modern.css
|
||||
# - theme-pitchblack.css
|
||||
# - theme-earl-grey.css
|
||||
|
||||
- name: Deploy RESF assets
|
||||
ansible.builtin.copy:
|
||||
src: "var/lib/gitea/custom/public/assets/img/{{ item }}"
|
||||
dest: "/var/lib/gitea/custom/public/assets/img/{{ item }}"
|
||||
mode: '0644'
|
||||
owner: git
|
||||
group: git
|
||||
with_items:
|
||||
- apple-touch-icon.png
|
||||
- favicon.png
|
||||
- favicon.svg
|
||||
- logo.png
|
||||
- logo.svg
|
||||
...
|
1
tasks/gitea
Symbolic link
1
tasks/gitea
Symbolic link
@ -0,0 +1 @@
|
||||
forgejo
|
@ -1,5 +0,0 @@
|
||||
---
|
||||
- import_tasks: "tasks/gitea/install.yml"
|
||||
- import_tasks: "tasks/gitea/configure.yml"
|
||||
- import_tasks: "tasks/gitea/theme.yml"
|
||||
...
|
1
tasks/gitea.yml
Symbolic link
1
tasks/gitea.yml
Symbolic link
@ -0,0 +1 @@
|
||||
forgejo.yml
|
@ -1,30 +0,0 @@
|
||||
---
|
||||
- name: Deploy all theme files
|
||||
ansible.builtin.copy:
|
||||
src: "var/lib/gitea/custom/public/css/{{ item }}"
|
||||
dest: "/var/lib/gitea/custom/public/css/{{ item }}"
|
||||
mode: '0644'
|
||||
owner: git
|
||||
group: git
|
||||
with_items:
|
||||
- theme-carbonred.css
|
||||
- theme-darkred.css
|
||||
- theme-gitea-blue.css
|
||||
- theme-gitea-modern.css
|
||||
- theme-pitchblack.css
|
||||
- theme-earl-grey.css
|
||||
|
||||
- name: Deploy RESF assets
|
||||
ansible.builtin.copy:
|
||||
src: "var/lib/gitea/custom/public/assets/img/{{ item }}"
|
||||
dest: "/var/lib/gitea/custom/public/assets/img/{{ item }}"
|
||||
mode: '0644'
|
||||
owner: git
|
||||
group: git
|
||||
with_items:
|
||||
- apple-touch-icon.png
|
||||
- favicon.png
|
||||
- favicon.svg
|
||||
- logo.png
|
||||
- logo.svg
|
||||
...
|
@ -80,7 +80,7 @@ logger.router.MODE = console
|
||||
|
||||
[ui]
|
||||
DEFAULT_THEME = {{ gitea_default_theme }}
|
||||
THEMES = {{ gitea_themes }}
|
||||
#THEMES = {{ gitea_themes }}
|
||||
AUTHOR = {{ gitea_author }}
|
||||
DESCRIPTION = {{ gitea_description }}
|
||||
|
||||
@ -119,3 +119,6 @@ ENABLED = true
|
||||
|
||||
[packages]
|
||||
ENABLED = {{ gitea_packages }}
|
||||
|
||||
[webhook]
|
||||
ALLOWED_HOST_LIST = private
|
||||
|
Loading…
Reference in New Issue
Block a user