mirror of
https://github.com/rocky-linux/ansible-role-kojihub.git
synced 2024-11-24 13:51:26 +00:00
adding robots.txt
This commit is contained in:
parent
bf84f5c1fd
commit
e383fe2bd7
2
files/var/www/html/robots.txt
Normal file
2
files/var/www/html/robots.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
User-agent: *
|
||||||
|
Disallow: /
|
@ -53,6 +53,16 @@
|
|||||||
notify:
|
notify:
|
||||||
- restart_httpd
|
- restart_httpd
|
||||||
|
|
||||||
|
- name: Configure robots.txt
|
||||||
|
copy:
|
||||||
|
src: "var/www/html/robots.txt"
|
||||||
|
dest: "/var/www/html/robots.txt"
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: '0644'
|
||||||
|
notify:
|
||||||
|
- restart_httpd
|
||||||
|
|
||||||
- name: Deploy custom theme for koji
|
- name: Deploy custom theme for koji
|
||||||
unarchive:
|
unarchive:
|
||||||
src: "{{ koji_theme_file }}"
|
src: "{{ koji_theme_file }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user