add items for rsync table
This commit is contained in:
parent
20c88e6394
commit
a92ab94c06
9 changed files with 39 additions and 4 deletions
|
@ -32,3 +32,5 @@ lvm_size: 20000
|
|||
num_cpus: 8
|
||||
|
||||
vpn: false
|
||||
|
||||
external_hostname: dl01.fedoraproject.org
|
||||
|
|
|
@ -32,3 +32,5 @@ lvm_size: 20000
|
|||
num_cpus: 8
|
||||
|
||||
vpn: false
|
||||
|
||||
external_hostname: dl02.fedoraproject.org
|
||||
|
|
|
@ -2,3 +2,5 @@
|
|||
gw: 10.5.126.254
|
||||
eth0_ip: 10.5.126.95
|
||||
eth1_ip: 10.5.127.103
|
||||
|
||||
external_hostname: dl03.fedoraproject.org
|
||||
|
|
|
@ -2,3 +2,5 @@
|
|||
gw: 10.5.126.254
|
||||
eth0_ip: 10.5.126.96
|
||||
eth1_ip: 10.5.127.104
|
||||
|
||||
external_hostname: dl04.fedoraproject.org
|
||||
|
|
|
@ -4,3 +4,5 @@ eth0_ip: 10.5.126.97
|
|||
eth1_ip: 10.5.127.105
|
||||
# This is a tier1 only host
|
||||
rsyncd_conf: "rsyncd.conf.download-{{ datacenter }}-tier1"
|
||||
|
||||
external_hostname: dl05.fedoraproject.org
|
||||
|
|
|
@ -32,3 +32,5 @@ lvm_size: 20000
|
|||
num_cpus: 8
|
||||
|
||||
vpn: false
|
||||
|
||||
external_hostname: dl06.fedoraproject.org
|
||||
|
|
|
@ -39,10 +39,7 @@
|
|||
- selinux
|
||||
|
||||
- name: /etc/motd_fedora
|
||||
copy: src=motd_fedora dest=/etc/motd_fedora
|
||||
|
||||
- name: /etc/motd_fedora_tier1
|
||||
copy: src=motd_fedora_tier1 dest=/etc/motd_fedora_tier1
|
||||
template: src=rsync/motd_fedora.j2 dest =/etc/motd_fedora
|
||||
|
||||
- name: Configure logrotate for /var/log/rsyncd-fedora.log
|
||||
copy: src=logrotate-rsync-fedora dest=/etc/logrotate.d/rsync-fedora
|
||||
|
|
15
roles/download/templates/rsync/motd_fedora.j2
Normal file
15
roles/download/templates/rsync/motd_fedora.j2
Normal file
|
@ -0,0 +1,15 @@
|
|||
----------------------------
|
||||
Fedora Master Mirror Servers
|
||||
----------------------------
|
||||
{% if inventory_hostname in groups['download_tier1'] %}
|
||||
NOTE: This server is for authorized Fedora tier1 mirrors only!
|
||||
{% endif %}
|
||||
|
||||
If you are using bare rsync to sync content, please stop and
|
||||
take a look at https://pagure.io/quick-fedora-mirror.
|
||||
|
||||
See http://fedoraproject.org/wiki/Infrastructure/Mirroring for
|
||||
further instructions.
|
||||
----------------------------
|
||||
|
||||
You have connected to {{ external_hostname }}
|
11
roles/download/templates/rsync/motd_fedora_tier1.j2
Normal file
11
roles/download/templates/rsync/motd_fedora_tier1.j2
Normal file
|
@ -0,0 +1,11 @@
|
|||
----------------------------
|
||||
Fedora Master Mirror Servers
|
||||
----------------------------
|
||||
NOTE: This server is for authorized Fedora tier1 mirrors only!
|
||||
|
||||
If you are using bare rsync to sync content, please stop and
|
||||
take a look at https://pagure.io/quick-fedora-mirror.
|
||||
|
||||
See http://fedoraproject.org/wiki/Infrastructure/Mirroring for
|
||||
further instructions.
|
||||
----------------------------
|
Loading…
Add table
Add a link
Reference in a new issue