copr: use robots.txt for dist-git
This commit is contained in:
parent
1a3a9606e3
commit
76f124fc40
2 changed files with 7 additions and 0 deletions
2
roles/copr/dist_git/files/robots.txt
Normal file
2
roles/copr/dist_git/files/robots.txt
Normal file
|
@ -0,0 +1,2 @@
|
|||
User-agent: *
|
||||
Disallow: /
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue