0
0
opnxng-deploy-playbook/config-tasks/gitea.yaml
2024-06-09 16:33:29 +08:00

20 lines
616 B
YAML

- name: Copy gitea directory
copy:
src: "gitea/"
dest: "{{ docker_dir }}/gitea"
owner: 1000
group: 1000
mode: 0755
- name: Set proper chown
command: chown -R 1000:1000 '{{ docker_dir }}/gitea'
become: true
- name: Set proper permissions
command: chmod 755 '{{ docker_dir }}/gitea'
become: true
- name: Curl Github theme
shell: curl -s 'https://raw.githubusercontent.com/Rainnny7/gitea-github-theme/master/theme-github.css' > {{ docker_dir }}/gitea/data/custom/public/assets/css/theme-github.css
ignore_errors: true