Commit ff76b6b3 authored by Kristian Klausen's avatar Kristian Klausen 🎉
Browse files

Merge branch 'add-robots' into 'master'

archweb: Add robots.txt

Closes #358

See merge request !452
parents e52c8fdc 37f0dd08
Pipeline #9572 passed with stage
in 46 seconds
User-agent: *
Disallow: /packages/search/
Disallow: /packages/?
Disallow: /packages/?*
Crawl-delay: 2
......@@ -73,6 +73,12 @@
- name: fix home permissions
file: state=directory owner=archweb group=archweb mode=0755 path="{{ archweb_dir }}"
- name: make dir
file: path="{{ archweb_dir }}/" state=directory owner=archweb group=archweb mode=0755
- name: configure robots.txt
copy: src=robots.txt dest="{{ archweb_dir }}/" owner=root group=root mode=0644
- name: configure archweb
template: dest={{ archweb_dir }}/ owner=archweb group=archweb mode=0660
register: config
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment