add robots.txt to git server webroot

This commit is contained in:
Timo Makinen 2019-05-31 16:57:15 +03:00
parent 5fcf58a3d6
commit 7f33b7792a

View file

@ -25,6 +25,14 @@
owner: root
group: root
- name: create robots.txt
copy:
dest: /var/www/git/robots.txt
content: "User-agent: *\nDisallow:\n"
mode: 0644
owner: root
group: "{{ ansible_wheel }}"
- name: copy local layout files
copy:
dest: "/var/www/git/static/{{ item }}"