[nginx] Copy robots.txt
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>certbot_on_virtu
parent
3fceaeb836
commit
0eaee6c78f
|
@ -4,6 +4,7 @@ loc_nginx:
|
|||
default_ssl_server: lists.crans.org
|
||||
auth_passwd:
|
||||
Stop: "$apr1$NXaV5H7Q$J3ora3Jo5h775Y1nm93PN1"
|
||||
deploy_robots_file: true
|
||||
servers:
|
||||
- server_name:
|
||||
- lists.crans.org
|
||||
|
|
|
@ -6,8 +6,6 @@
|
|||
loop:
|
||||
- src: nginx/snippets/fastcgi-mailman.conf.j2
|
||||
dest: /etc/nginx/snippets/fastcgi-mailman.conf
|
||||
- src: var/www/robots.txt.j2
|
||||
dest: /var/www/robots.txt
|
||||
- src: var/www/custom_401.html.j2
|
||||
dest: /var/www/custom_401.html
|
||||
notify: Reload nginx
|
||||
|
|
|
@ -65,6 +65,12 @@
|
|||
src: www/html/50x.html.j2
|
||||
dest: /var/www/html/50x.html
|
||||
|
||||
- name: Copy robots.txt file
|
||||
when: nginx.deploy_robots_file
|
||||
template:
|
||||
src: www/html/robots.txt.j2
|
||||
dest: /var/www/html/robots.txt
|
||||
|
||||
- name: Indicate role in motd
|
||||
template:
|
||||
src: update-motd.d/05-service.j2
|
||||
|
|
Loading…
Reference in New Issue