From 119b3212a93761a17f2d35d64631fb802532cc68 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Tue, 27 Feb 2024 09:04:13 +0000 Subject: [PATCH] Remove robots.txt for gitea --- ansible/roles/gitea/files/robots.txt | 4 ---- ansible/roles/gitea/tasks/main.yml | 9 --------- 2 files changed, 13 deletions(-) delete mode 100644 ansible/roles/gitea/files/robots.txt 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"