copr: use robots.txt for dist-git

This commit is contained in:
Miroslav Suchý 2016-06-29 14:06:22 +02:00
parent 1a3a9606e3
commit 76f124fc40
2 changed files with 7 additions and 0 deletions

View file

@ -0,0 +1,2 @@
User-agent: *
Disallow: /

View file

@ -108,6 +108,11 @@
- name: allow httpd to run cgit
command: setsebool -P httpd_enable_cgi 1
- name: install robots.txt
copy: src="robots.txt" dest="/var/www/html/" mode=0644
tags:
- config
- name: ensure that services are enabled and started
service: name="{{ item }}" enabled=yes state=started
with_items: