diff --git a/inventory/group_vars/copr b/inventory/group_vars/copr index b26eabeb66..03413336ed 100644 --- a/inventory/group_vars/copr +++ b/inventory/group_vars/copr @@ -4,8 +4,8 @@ _forward_src: "forward" # don't forget to update ip in ./copr-keygen, due to custom firewall rules -copr_backend_ips: ["172.25.32.21", "209.132.184.48"] -keygen_host: "172.25.32.20" +copr_backend_ips: ["172.25.32.4", "209.132.184.48"] +keygen_host: "172.25.32.5" resolvconf: "resolv.conf/cloud" diff --git a/inventory/group_vars/copr-keygen b/inventory/group_vars/copr-keygen index 0dae2fef1e..822e397e4b 100644 --- a/inventory/group_vars/copr-keygen +++ b/inventory/group_vars/copr-keygen @@ -2,9 +2,9 @@ tcp_ports: [22] # http + signd dest ports -custom_rules: [ '-A INPUT -p tcp -m tcp -s 172.25.32.21 --dport 80 -j ACCEPT', +custom_rules: [ '-A INPUT -p tcp -m tcp -s 172.25.32.4 --dport 80 -j ACCEPT', '-A INPUT -p tcp -m tcp -s 209.132.184.48 --dport 80 -j ACCEPT', - '-A INPUT -p tcp -m tcp -s 172.25.32.21 --dport 5167 -j ACCEPT', + '-A INPUT -p tcp -m tcp -s 172.25.32.4 --dport 5167 -j ACCEPT', '-A INPUT -p tcp -m tcp -s 209.132.184.48 --dport 5167 -j ACCEPT'] datacenter: cloud diff --git a/roles/copr/base/files/hosts b/roles/copr/base/files/hosts index ee6f7d3670..e8a33a118d 100644 --- a/roles/copr/base/files/hosts +++ b/roles/copr/base/files/hosts @@ -1,8 +1,8 @@ 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 -172.25.32.17 copr-fe.cloud.fedoraproject.org -172.25.32.17 copr.fedoraproject.org -172.25.32.21 copr-be.cloud.fedoraproject.org +172.25.32.6 copr-fe.cloud.fedoraproject.org +172.25.32.6 copr.fedoraproject.org +172.25.32.4 copr-be.cloud.fedoraproject.org #172.16.5.5 copr-be-dev.cloud.fedoraproject.org #172.16.5.15 copr-fe-dev.cloud.fedoraproject.org diff --git a/roles/copr/base/files/yum/copr.repo b/roles/copr/base/files/yum/copr.repo index d1cf120006..6fdad2a5db 100644 --- a/roles/copr/base/files/yum/copr.repo +++ b/roles/copr/base/files/yum/copr.repo @@ -5,7 +5,7 @@ failovermethod=priority baseurl=file:///var/lib/copr/public_html/results/msuchy/copr/fedora-$releasever-x86_64/ http://209.132.184.48/results/msuchy/copr/fedora-$releasever-x86_64/ https://copr-be.cloud.fedoraproject.org/results/msuchy/copr/fedora-$releasever-x86_64/ - http://172.25.32.21/results/msuchy/copr/fedora-$releasever-x86_64/ + http://172.25.32.4/results/msuchy/copr/fedora-$releasever-x86_64/ enabled=1 gpgcheck=0