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:
|
roles:
|
||||||
- base
|
- base
|
||||||
- rkhunter
|
- rkhunter
|
||||||
- denyhosts
|
- { role: denyhosts, when: ansible_distribution_major_version != '7' }
|
||||||
- nagios_client
|
- nagios_client
|
||||||
- hosts
|
- hosts
|
||||||
- fas_client
|
- fas_client
|
||||||
- collectd/base
|
- collectd/base
|
||||||
- download
|
- download
|
||||||
- mod_limitipconn
|
- { role: mod_limitipconn, when: ansible_distribution_major_version != '7'}
|
||||||
- rsyncd
|
- 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 == "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' }
|
- { 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
|
DocumentRoot /srv/web
|
||||||
|
|
||||||
<Directory /srv/pub>
|
<Directory /srv/web>
|
||||||
Options Indexes FollowSymLinks
|
|
||||||
HeaderName /HEADER.html
|
HeaderName /HEADER.html
|
||||||
ReadmeName /FOOTER.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>
|
||||||
|
|
||||||
<Directory /srv/pub/archive>
|
<Directory /srv/pub/archive>
|
||||||
ReadmeName /pub/archive/README.html
|
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>
|
</Directory>
|
||||||
|
|
|
@ -42,6 +42,7 @@
|
||||||
- endpoints-summershum.py
|
- endpoints-summershum.py
|
||||||
- endpoints-kerneltest.py
|
- endpoints-kerneltest.py
|
||||||
- endpoints-github2fedmsg.py
|
- endpoints-github2fedmsg.py
|
||||||
|
- endpoints-bugzilla2fedmsg.py
|
||||||
- relay.py
|
- relay.py
|
||||||
- pkgdb.py
|
- pkgdb.py
|
||||||
- logging.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(
|
certnames=dict(
|
||||||
[
|
[
|
||||||
|
("bugzilla2fedmsg.bugzilla2fedmsg01", "bugzilla2fedmsg-bugzilla2fedmsg01.%s" % suffix)
|
||||||
|
] + [
|
||||||
|
("shell.bugzilla2fedmsg01", "shell-bugzilla2fedmsg01.%s" % suffix)
|
||||||
|
] + [
|
||||||
("github2fedmsg.github2fedmsg0%i" % i, "github2fedmsg-github2fedmsg0%i.%s" % (i, suffix))
|
("github2fedmsg.github2fedmsg0%i" % i, "github2fedmsg-github2fedmsg0%i.%s" % (i, suffix))
|
||||||
for i in range(1, 3)
|
for i in range(1, 3)
|
||||||
] + [
|
] + [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue