Merge "Set up robots.txt on lists servers"

This commit is contained in:
Zuul 2020-04-30 18:42:55 +00:00 committed by Gerrit Code Review
commit 9b1161e051
4 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,2 @@
User-agent: SemrushBot
Disallow: /

View File

@ -8,6 +8,15 @@ class openstack_project::lists(
multihost => true, multihost => true,
} }
file { '/var/www/robots.txt':
ensure => present,
source => 'puppet:///modules/openstack_project/mailman/robots.txt',
owner => 'root',
group => 'root',
replace => true,
mode => '0444',
}
# Disable inactive admins # Disable inactive admins
user::virtual::disable { 'oubiwann': } user::virtual::disable { 'oubiwann': }
user::virtual::disable { 'rockstar': } user::virtual::disable { 'rockstar': }

View File

@ -67,6 +67,7 @@
- host_vars/etherpad01.opendev.org.yaml - host_vars/etherpad01.opendev.org.yaml
- host_vars/letsencrypt01.opendev.org.yaml - host_vars/letsencrypt01.opendev.org.yaml
- host_vars/letsencrypt02.opendev.org.yaml - host_vars/letsencrypt02.opendev.org.yaml
- host_vars/lists.openstack.org.yaml
- host_vars/gitea99.opendev.org.yaml - host_vars/gitea99.opendev.org.yaml
- host_vars/mirror01.openafs.provider.opendev.org.yaml - host_vars/mirror01.openafs.provider.opendev.org.yaml
- host_vars/mirror-update01.opendev.org.yaml - host_vars/mirror-update01.opendev.org.yaml

View File

@ -0,0 +1 @@
listpassword: notarealpassword