ansible-gitea-management/tasks/gitea/install.yml

43 lines
829 B
YAML
Raw Normal View History

2022-03-04 05:15:25 +00:00
---
# Install gitea
2022-03-28 00:53:47 +00:00
# name: "Installing Gitea from COPR"
# dnf:
# name: gitea
# state: present
2022-03-04 05:15:25 +00:00
# Install web front end
2022-03-28 00:53:47 +00:00
# name: "Installing httpd package and configuration"
# dnf:
# name: gitea-httpd
# state: present
# when:
# - gitea_web_install == "httpd"
# - gitea_web_config|bool
2022-03-04 05:15:25 +00:00
2022-03-28 00:53:47 +00:00
# name: "Installing nginx package and configuration"
# dnf:
# name: gitea-nginx
# state: present
# when:
# - gitea_web_install == "nginx"
# - gitea_web_config|bool
2022-03-04 05:15:25 +00:00
2022-03-28 00:53:47 +00:00
# name: "Installing caddy package and configuration"
# dnf:
# name: gitea-caddy
# state: present
# when:
# - gitea_web_install == "caddy"
# - gitea_web_config|bool
2022-03-04 05:15:25 +00:00
# Setup CSS Themes
- name:
2022-03-28 00:53:47 +00:00
ansible.builtin.file:
2022-03-04 05:15:25 +00:00
path: "/var/lib/gitea/custom/public/css"
owner: git
group: git
mode: '0755'
state: directory
recurse: true
...