adding robots.txt for buildmaster to keep robots from killing it

This commit is contained in:
Tim Flink 2015-08-05 17:42:55 +00:00
parent 1297f14557
commit 073fd0e139
2 changed files with 4 additions and 0 deletions

View file

@ -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