adding robots.txt

This commit is contained in:
nazunalika 2020-12-26 12:09:00 -07:00
parent bf84f5c1fd
commit e383fe2bd7
2 changed files with 12 additions and 0 deletions

View File

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

View File

@ -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 }}"