Add robots.txt for gitea

This commit is contained in:
Jake Howard
2023-01-28 15:32:34 +00:00
parent 52d543d758
commit 4fd3945c47
2 changed files with 13 additions and 0 deletions

View File

@ -27,3 +27,12 @@
owner: "{{ docker_user.name }}"
notify: restart gitea
become: true
- name: Install robots.txt
template:
src: files/robots.txt
dest: "{{ app_data_dir }}/gitea/data/custom/robots.txt"
mode: "{{ docker_compose_file_mask }}"
owner: "{{ docker_user.name }}"
notify: restart gitea
become: true