add robots.txt to git server webroot
This commit is contained in:
parent
5fcf58a3d6
commit
7f33b7792a
1 changed files with 8 additions and 0 deletions
|
@ -25,6 +25,14 @@
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
|
|
||||||
|
- name: create robots.txt
|
||||||
|
copy:
|
||||||
|
dest: /var/www/git/robots.txt
|
||||||
|
content: "User-agent: *\nDisallow:\n"
|
||||||
|
mode: 0644
|
||||||
|
owner: root
|
||||||
|
group: "{{ ansible_wheel }}"
|
||||||
|
|
||||||
- name: copy local layout files
|
- name: copy local layout files
|
||||||
copy:
|
copy:
|
||||||
dest: "/var/www/git/static/{{ item }}"
|
dest: "/var/www/git/static/{{ item }}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue