2023-11-06 10:39:27 +08:00
|
|
|
- name: Copy gitea directory
|
|
|
|
copy:
|
|
|
|
src: "gitea/"
|
2023-11-09 18:25:07 +08:00
|
|
|
dest: "{{ docker_dir }}/gitea"
|
2023-11-06 10:39:27 +08:00
|
|
|
owner: 1000
|
|
|
|
group: 1000
|
|
|
|
mode: 0755
|
|
|
|
|
2023-11-09 18:25:07 +08:00
|
|
|
- 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
|
|
|
|
|
2023-11-06 10:39:27 +08:00
|
|
|
- name: Curl Github theme
|
2023-11-09 18:25:07 +08:00
|
|
|
shell: curl -s 'https://raw.githubusercontent.com/Rainnny7/gitea-github-theme/master/theme-github.css' > {{ docker_dir }}/gitea/data/public/assets/css/theme-github.css
|
|
|
|
ignore_errors: true
|