diff --git a/ansible/roles/gitea/files/robots.txt b/ansible/roles/gitea/files/robots.txt deleted file mode 100644 index 5c427bb..0000000 --- a/ansible/roles/gitea/files/robots.txt +++ /dev/null @@ -1,4 +0,0 @@ -User-agent: * - -# Ignore mirrored repos -Disallow: /mirror/ diff --git a/ansible/roles/gitea/tasks/main.yml b/ansible/roles/gitea/tasks/main.yml index 24cf90a..6e5136f 100644 --- a/ansible/roles/gitea/tasks/main.yml +++ b/ansible/roles/gitea/tasks/main.yml @@ -28,15 +28,6 @@ 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 - - name: Create public images directory file: path: "{{ app_data_dir }}/gitea/data/custom/public/assets/img"