From 62316d11b2f0310b0d73c36fb33ff5804c1fffcf Mon Sep 17 00:00:00 2001 From: Rick Elrod Date: Tue, 29 Jan 2019 02:00:39 +0000 Subject: [PATCH] and make the template point to the new ones Signed-off-by: Rick Elrod --- roles/httpd/website/tasks/main.yml | 1 + roles/httpd/website/templates/robots.conf | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/httpd/website/tasks/main.yml b/roles/httpd/website/tasks/main.yml index 483f7642c1..9e1180f369 100644 --- a/roles/httpd/website/tasks/main.yml +++ b/roles/httpd/website/tasks/main.yml @@ -55,6 +55,7 @@ tags: - httpd - httpd/website + - robots - name: And lastly, the robots.txt file template: > diff --git a/roles/httpd/website/templates/robots.conf b/roles/httpd/website/templates/robots.conf index 40aa78dd1f..f442128e2e 100644 --- a/roles/httpd/website/templates/robots.conf +++ b/roles/httpd/website/templates/robots.conf @@ -1 +1 @@ -Alias /robots.txt /srv/web/robots.txt.{{ site_name }} +Alias /robots.txt /srv/web/{{site_name}}-robots.txt