Merge branch 'master' of /git/ansible
This commit is contained in:
commit
049c6c3bba
5 changed files with 55 additions and 4 deletions
|
@ -49,13 +49,13 @@
|
|||
roles:
|
||||
- base
|
||||
- rkhunter
|
||||
- denyhosts
|
||||
- { role: denyhosts, when: ansible_distribution_major_version != '7' }
|
||||
- nagios_client
|
||||
- hosts
|
||||
- fas_client
|
||||
- collectd/base
|
||||
- download
|
||||
- mod_limitipconn
|
||||
- { role: mod_limitipconn, when: ansible_distribution_major_version != '7'}
|
||||
- rsyncd
|
||||
- { role: nfs/client, when: datacenter == "phx2", mnt_dir: '/srv/pub', nfs_src_dir: 'fedora_ftp/fedora.redhat.com/pub' }
|
||||
- { role: nfs/client, when: datacenter == "rdu", mnt_dir: '/srv/pub', nfs_src_dir: 'fedora_ftp/fedora.redhat.com/pub' }
|
||||
|
|
|
@ -2,12 +2,45 @@ Alias /pub /srv/pub
|
|||
|
||||
DocumentRoot /srv/web
|
||||
|
||||
<Directory /srv/pub>
|
||||
Options Indexes FollowSymLinks
|
||||
<Directory /srv/web>
|
||||
HeaderName /HEADER.html
|
||||
ReadmeName /FOOTER.html
|
||||
Options Indexes FollowSymLinks
|
||||
<IfModule mod_authz_core.c>
|
||||
# Apache 2.4
|
||||
Require all granted
|
||||
</IfModule>
|
||||
<IfModule !mod_authz_core.c>
|
||||
# Apache 2.2
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
</IfModule>
|
||||
</Directory>
|
||||
|
||||
<Directory /srv/pub>
|
||||
HeaderName /HEADER.html
|
||||
ReadmeName /FOOTER.html
|
||||
Options Indexes FollowSymLinks
|
||||
<IfModule mod_authz_core.c>
|
||||
# Apache 2.4
|
||||
Require all granted
|
||||
</IfModule>
|
||||
<IfModule !mod_authz_core.c>
|
||||
# Apache 2.2
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
</IfModule>
|
||||
</Directory>
|
||||
|
||||
<Directory /srv/pub/archive>
|
||||
ReadmeName /pub/archive/README.html
|
||||
<IfModule mod_authz_core.c>
|
||||
# Apache 2.4
|
||||
Require all granted
|
||||
</IfModule>
|
||||
<IfModule !mod_authz_core.c>
|
||||
# Apache 2.2
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
</IfModule>
|
||||
</Directory>
|
||||
|
|
|
@ -42,6 +42,7 @@
|
|||
- endpoints-summershum.py
|
||||
- endpoints-kerneltest.py
|
||||
- endpoints-github2fedmsg.py
|
||||
- endpoints-bugzilla2fedmsg.py
|
||||
- relay.py
|
||||
- pkgdb.py
|
||||
- logging.py
|
||||
|
|
13
roles/fedmsg/base/templates/endpoints-bugzilla2fedmsg.py.j2
Normal file
13
roles/fedmsg/base/templates/endpoints-bugzilla2fedmsg.py.j2
Normal file
|
@ -0,0 +1,13 @@
|
|||
{% if env == 'staging' %}
|
||||
suffix = 'stg.phx2.fedoraproject.org'
|
||||
{% else %}
|
||||
suffix = 'phx2.fedoraproject.org'
|
||||
{% endif %}
|
||||
|
||||
config = dict(
|
||||
endpoints={
|
||||
"bugzilla2fedmsg.bugzilla2fedmsg01": [
|
||||
"tcp://bugzilla2fedmsg01.%s:3000" % suffix,
|
||||
],
|
||||
},
|
||||
)
|
|
@ -25,6 +25,10 @@ config = dict(
|
|||
|
||||
certnames=dict(
|
||||
[
|
||||
("bugzilla2fedmsg.bugzilla2fedmsg01", "bugzilla2fedmsg-bugzilla2fedmsg01.%s" % suffix)
|
||||
] + [
|
||||
("shell.bugzilla2fedmsg01", "shell-bugzilla2fedmsg01.%s" % suffix)
|
||||
] + [
|
||||
("github2fedmsg.github2fedmsg0%i" % i, "github2fedmsg-github2fedmsg0%i.%s" % (i, suffix))
|
||||
for i in range(1, 3)
|
||||
] + [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue