Add codecs.stg.fedoraproject.org initial cut
This commit is contained in:
parent
f32d692584
commit
4f7c5534a1
6 changed files with 30 additions and 0 deletions
|
@ -44,6 +44,9 @@
|
||||||
- role: fedora-web/registry
|
- role: fedora-web/registry
|
||||||
website: registry.fedoraproject.org
|
website: registry.fedoraproject.org
|
||||||
when: env == "staging"
|
when: env == "staging"
|
||||||
|
- role: fedora-web/codecs
|
||||||
|
website: codecs.fedoraproject.org
|
||||||
|
when: env == "staging"
|
||||||
|
|
||||||
# Some other static content, not strictly part of "fedora-web" goes below here
|
# Some other static content, not strictly part of "fedora-web" goes below here
|
||||||
- role: fedora-docs/proxy
|
- role: fedora-docs/proxy
|
||||||
|
|
|
@ -47,6 +47,12 @@
|
||||||
website: fas.fedoraproject.org
|
website: fas.fedoraproject.org
|
||||||
target: https://admin.fedoraproject.org/accounts/
|
target: https://admin.fedoraproject.org/accounts/
|
||||||
|
|
||||||
|
- role: httpd/redirectmatch
|
||||||
|
name: codecs
|
||||||
|
website: codecs.fedoraproject.org
|
||||||
|
regex: /.*openh264.*.rpm$
|
||||||
|
target: https://fedoraproject.org/wiki/non-distributable-rpms
|
||||||
|
|
||||||
- role: httpd/redirectmatch
|
- role: httpd/redirectmatch
|
||||||
name: fpaste
|
name: fpaste
|
||||||
website: fpaste.org
|
website: fpaste.org
|
||||||
|
|
|
@ -576,6 +576,13 @@
|
||||||
sslonly: true
|
sslonly: true
|
||||||
cert_name: "{{wildcard_cert_name}}"
|
cert_name: "{{wildcard_cert_name}}"
|
||||||
|
|
||||||
|
- role: httpd/website
|
||||||
|
name: codecs.fedoraproject.org
|
||||||
|
server_aliases: [codecs.stg.fedoraproject.org]
|
||||||
|
sslonly: true
|
||||||
|
cert_name: "{{wildcard_cert_name}}"
|
||||||
|
when: env == "staging"
|
||||||
|
|
||||||
- role: httpd/website
|
- role: httpd/website
|
||||||
name: beaker.qa.fedoraproject.org
|
name: beaker.qa.fedoraproject.org
|
||||||
server_aliases: [beaker.qa.fedoraproject.org]
|
server_aliases: [beaker.qa.fedoraproject.org]
|
||||||
|
|
1
roles/fedora-web/codecs/files/cron-sync-codecs
Normal file
1
roles/fedora-web/codecs/files/cron-sync-codecs
Normal file
|
@ -0,0 +1 @@
|
||||||
|
25 * * * * root /usr/bin/rsync --delete -a --no-owner --no-group sundries01::codecs.fedoraproject.org/ /srv/web/codecs.fedoraproject.org/
|
5
roles/fedora-web/codecs/tasks/main.yml
Normal file
5
roles/fedora-web/codecs/tasks/main.yml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
- name: Copy in the sync-labs cronjob
|
||||||
|
copy: src=cron-sync-codecs dest=/etc/cron.d/sync-codecs
|
||||||
|
tags:
|
||||||
|
- fedora-web
|
||||||
|
- fedora-web/codecs
|
|
@ -157,3 +157,11 @@ uid = root
|
||||||
gid = root
|
gid = root
|
||||||
read only = yes
|
read only = yes
|
||||||
hosts allow = 10.5.126.0/255.255.255.0 192.168.0.0/255.255.0.0
|
hosts allow = 10.5.126.0/255.255.255.0 192.168.0.0/255.255.0.0
|
||||||
|
|
||||||
|
[codecs.fedoraproject.org]
|
||||||
|
comment = codecs.fedoraproject.org
|
||||||
|
path = /srv/web/codecs.fedoraproject.org
|
||||||
|
uid = root
|
||||||
|
gid = root
|
||||||
|
read only = yes
|
||||||
|
hosts allow = 10.5.126.0/255.255.255.0 192.168.0.0/255.255.0.0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue