Merge branch 'master' of /git/ansible
This commit is contained in:
commit
b67f52bca0
3 changed files with 3 additions and 11 deletions
|
@ -4,15 +4,9 @@
|
||||||
|
|
||||||
- name: Get installed packages
|
- name: Get installed packages
|
||||||
hosts: builders:releng-compose:data-analysis01.phx2.fedoraproject.org
|
hosts: builders:releng-compose:data-analysis01.phx2.fedoraproject.org
|
||||||
gather_facts: false
|
gather_facts: true
|
||||||
user: root
|
user: root
|
||||||
|
|
||||||
vars_files:
|
|
||||||
- /srv/web/infra/ansible/vars/global.yml
|
|
||||||
- "/srv/private/ansible/vars.yml"
|
|
||||||
- "/srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml"
|
|
||||||
|
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
|
||||||
- name: yum_command
|
- name: yum_command
|
||||||
|
|
|
@ -10,3 +10,5 @@ RedirectMatch 302 ^/pub/fedora/linux/atomic https://kojipkgs.fedoraproject.org/a
|
||||||
Redirect 302 "/ostree/27" "https://kojipkgs.fedoraproject.org/atomic/repo"
|
Redirect 302 "/ostree/27" "https://kojipkgs.fedoraproject.org/atomic/repo"
|
||||||
Redirect 302 "/pub/ostree/27" "https://kojipkgs.fedoraproject.org/atomic/repo"
|
Redirect 302 "/pub/ostree/27" "https://kojipkgs.fedoraproject.org/atomic/repo"
|
||||||
|
|
||||||
|
RedirectMatch 302 ^/atomic/repo/objects/(.*) https://d2os45suu8yck8.cloudfront.net/$1
|
||||||
|
RedirectMatch 302 ^/atomic/repo/(.*) https://kojipkgs.fedoraproject.org/atomic/repo/$1
|
||||||
|
|
|
@ -34,7 +34,3 @@ ProxyPassReverse {{ localpath }} {{ proxyurl }}{{remotepath}}
|
||||||
{% else %}
|
{% else %}
|
||||||
Redirect 421 /
|
Redirect 421 /
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
# Atomic Objects
|
|
||||||
RewriteCond %{HTTP:X-CloudFront} !^$
|
|
||||||
RewriteRule "/atomic/repo/objects/(.*)" "https://d2os45suu8yck8.cloudfront.net/$1" [R=302,L]
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue