summaryrefslogtreecommitdiffstats
path: root/roles/taskotron/buildmaster
diff options
context:
space:
mode:
authorTim Flink <tflink@fedoraproject.org>2015-08-05 17:42:55 +0000
committerTim Flink <tflink@fedoraproject.org>2015-08-05 17:43:01 +0000
commit073fd0e13953c4fff5a853b1c0b3376ce6f72b7f (patch)
treead262163c3daaf361f62374f354ca335f0a0ac94 /roles/taskotron/buildmaster
parent1297f14557b2d504fbde5a8a162a10900311c00f (diff)
downloadansible-073fd0e13953c4fff5a853b1c0b3376ce6f72b7f.tar.gz
ansible-073fd0e13953c4fff5a853b1c0b3376ce6f72b7f.tar.xz
ansible-073fd0e13953c4fff5a853b1c0b3376ce6f72b7f.zip
adding robots.txt for buildmaster to keep robots from killing it
Diffstat (limited to 'roles/taskotron/buildmaster')
-rw-r--r--roles/taskotron/buildmaster/tasks/main.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/taskotron/buildmaster/tasks/main.yml b/roles/taskotron/buildmaster/tasks/main.yml
index 0e6a51ec1..45bcfaf68 100644
--- a/roles/taskotron/buildmaster/tasks/main.yml
+++ b/roles/taskotron/buildmaster/tasks/main.yml
@@ -71,3 +71,6 @@
sudo_user: postgres
action: postgresql_user db={{ buildmaster_db_name }} user={{ local_buildmaster_db_user }} password={{ local_buildmaster_db_password }} role_attr_flags=NOSUPERUSER
+- name: put robots.txt at web root of external hostname
+ when: robots_path is defined
+ template: src=robots.txt.j2 dest={{ robots_path }}/robots.txt owner=apache group=apache mode=0644