forked from infra/ansible
download / rdu3: add rdu3 download servers
This will allow us to test ro mounts from the rdu3 netapp. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
0194b383af
commit
f9c8e842b7
10 changed files with 155 additions and 4 deletions
15
inventory/group_vars/download_rdu3
Normal file
15
inventory/group_vars/download_rdu3
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
blocked_ips: []
|
||||
datacenter: rdu3
|
||||
dns: 10.16.163.33
|
||||
#
|
||||
# This host is externally reachable
|
||||
#
|
||||
external: true
|
||||
host_group: download-rdu3
|
||||
# nfs mount options, overrides the all/default
|
||||
nfs_mount_opts: "ro,hard,bg,intr,noatime,nodev,nosuid,actimeo=600,nfsvers=4"
|
||||
nrpe_procs_crit: 1000
|
||||
nrpe_procs_warn: 900
|
||||
rsyncd_conf: "rsyncd.conf.download-{{ datacenter }}"
|
||||
tcp_ports: [80, 443, 873]
|
||||
22
inventory/host_vars/dl01.rdu3.fedoraproject.org
Normal file
22
inventory/host_vars/dl01.rdu3.fedoraproject.org
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
datacenter: rdu3
|
||||
dns1: 10.16.163.33
|
||||
dns2: 10.16.163.34
|
||||
dns_search1: "rdu3.fedoraproject.org"
|
||||
dns_search3: "fedoraproject.org"
|
||||
eth0_ipv4_gw: 10.16.163.254
|
||||
eth0_ipv4_ip: 10.16.163.49
|
||||
ks_repo: https://infrastructure.fedoraproject.org/repo/rhel/RHEL9-x86_64/
|
||||
ks_url: https://infrastructure.fedoraproject.org/repo/rhel/ks/kvm-rhel
|
||||
lvm_size: 20000
|
||||
max_mem_size: 20480
|
||||
mem_size: 16384
|
||||
nrpe_procs_crit: 1400
|
||||
nrpe_procs_warn: 1200
|
||||
num_cpus: 8
|
||||
public_hostname: dl-rdu01.fedoraproject.org
|
||||
tcp_ports: [80, 443, 873]
|
||||
virt_install_command: "{{ virt_install_command_one_nic }}"
|
||||
vmhost: vmhost-x86-01.rdu3.fedoraproject.org
|
||||
volgroup: /dev/vg_guests
|
||||
vpn: false
|
||||
22
inventory/host_vars/dl02.rdu3.fedoraproject.org
Normal file
22
inventory/host_vars/dl02.rdu3.fedoraproject.org
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
datacenter: rdu3
|
||||
dns1: 10.16.163.33
|
||||
dns2: 10.16.163.34
|
||||
dns_search1: "rdu3.fedoraproject.org"
|
||||
dns_search3: "fedoraproject.org"
|
||||
eth0_ipv4_gw: 10.16.163.254
|
||||
eth0_ipv4_ip: 10.16.163.50
|
||||
ks_repo: https://infrastructure.fedoraproject.org/repo/rhel/RHEL9-x86_64/
|
||||
ks_url: https://infrastructure.fedoraproject.org/repo/rhel/ks/kvm-rhel
|
||||
lvm_size: 20000
|
||||
max_mem_size: 20480
|
||||
mem_size: 16384
|
||||
nrpe_procs_crit: 1400
|
||||
nrpe_procs_warn: 1200
|
||||
num_cpus: 8
|
||||
public_hostname: dl-rdu01.fedoraproject.org
|
||||
tcp_ports: [80, 443, 873]
|
||||
virt_install_command: "{{ virt_install_command_one_nic }}"
|
||||
vmhost: vmhost-x86-02.rdu3.fedoraproject.org
|
||||
volgroup: /dev/vg_guests
|
||||
vpn: false
|
||||
22
inventory/host_vars/dl03.rdu3.fedoraproject.org
Normal file
22
inventory/host_vars/dl03.rdu3.fedoraproject.org
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
datacenter: rdu3
|
||||
dns1: 10.16.163.33
|
||||
dns2: 10.16.163.34
|
||||
dns_search1: "rdu3.fedoraproject.org"
|
||||
dns_search3: "fedoraproject.org"
|
||||
eth0_ipv4_gw: 10.16.163.254
|
||||
eth0_ipv4_ip: 10.16.163.51
|
||||
ks_repo: https://infrastructure.fedoraproject.org/repo/rhel/RHEL9-x86_64/
|
||||
ks_url: https://infrastructure.fedoraproject.org/repo/rhel/ks/kvm-rhel
|
||||
lvm_size: 20000
|
||||
max_mem_size: 20480
|
||||
mem_size: 16384
|
||||
nrpe_procs_crit: 1400
|
||||
nrpe_procs_warn: 1200
|
||||
num_cpus: 8
|
||||
public_hostname: dl-rdu01.fedoraproject.org
|
||||
tcp_ports: [80, 443, 873]
|
||||
virt_install_command: "{{ virt_install_command_one_nic }}"
|
||||
vmhost: vmhost-x86-03.rdu3.fedoraproject.org
|
||||
volgroup: /dev/vg_guests
|
||||
vpn: false
|
||||
22
inventory/host_vars/dl04.rdu3.fedoraproject.org
Normal file
22
inventory/host_vars/dl04.rdu3.fedoraproject.org
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
datacenter: rdu3
|
||||
dns1: 10.16.163.33
|
||||
dns2: 10.16.163.34
|
||||
dns_search1: "rdu3.fedoraproject.org"
|
||||
dns_search3: "fedoraproject.org"
|
||||
eth0_ipv4_gw: 10.16.163.254
|
||||
eth0_ipv4_ip: 10.16.163.85
|
||||
ks_repo: https://infrastructure.fedoraproject.org/repo/rhel/RHEL9-x86_64/
|
||||
ks_url: https://infrastructure.fedoraproject.org/repo/rhel/ks/kvm-rhel
|
||||
lvm_size: 20000
|
||||
max_mem_size: 20480
|
||||
mem_size: 16384
|
||||
nrpe_procs_crit: 1400
|
||||
nrpe_procs_warn: 1200
|
||||
num_cpus: 8
|
||||
public_hostname: dl-rdu01.fedoraproject.org
|
||||
tcp_ports: [80, 443, 873]
|
||||
virt_install_command: "{{ virt_install_command_one_nic }}"
|
||||
vmhost: vmhost-x86-04.rdu3.fedoraproject.org
|
||||
volgroup: /dev/vg_guests
|
||||
vpn: false
|
||||
22
inventory/host_vars/dl05.rdu3.fedoraproject.org
Normal file
22
inventory/host_vars/dl05.rdu3.fedoraproject.org
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
datacenter: rdu3
|
||||
dns1: 10.16.163.33
|
||||
dns2: 10.16.163.34
|
||||
dns_search1: "rdu3.fedoraproject.org"
|
||||
dns_search3: "fedoraproject.org"
|
||||
eth0_ipv4_gw: 10.16.163.254
|
||||
eth0_ipv4_ip: 10.16.163.84
|
||||
ks_repo: https://infrastructure.fedoraproject.org/repo/rhel/RHEL9-x86_64/
|
||||
ks_url: https://infrastructure.fedoraproject.org/repo/rhel/ks/kvm-rhel
|
||||
lvm_size: 20000
|
||||
max_mem_size: 20480
|
||||
mem_size: 16384
|
||||
nrpe_procs_crit: 1400
|
||||
nrpe_procs_warn: 1200
|
||||
num_cpus: 8
|
||||
public_hostname: dl-rdu01.fedoraproject.org
|
||||
tcp_ports: [80, 443, 873]
|
||||
virt_install_command: "{{ virt_install_command_one_nic }}"
|
||||
vmhost: vmhost-x86-05.rdu3.fedoraproject.org
|
||||
volgroup: /dev/vg_guests
|
||||
vpn: false
|
||||
|
|
@ -177,6 +177,13 @@ dl03.iad2.fedoraproject.org
|
|||
dl04.iad2.fedoraproject.org
|
||||
dl05.iad2.fedoraproject.org
|
||||
|
||||
[download_rdu3]
|
||||
dl01.rdu3.fedoraproject.org
|
||||
dl02.rdu3.fedoraproject.org
|
||||
dl03.rdu3.fedoraproject.org
|
||||
dl04.rdu3.fedoraproject.org
|
||||
dl05.rdu3.fedoraproject.org
|
||||
|
||||
[download_ibiblio]
|
||||
download-ib01.fedoraproject.org
|
||||
|
||||
|
|
@ -191,6 +198,7 @@ dl05.iad2.fedoraproject.org
|
|||
download_ibiblio
|
||||
download_cc_rdu
|
||||
download_iad2
|
||||
download_rdu3
|
||||
|
||||
[fas]
|
||||
# fas01.phx2.fedoraproject.org
|
||||
|
|
@ -640,6 +648,11 @@ dl02.iad2.fedoraproject.org
|
|||
dl03.iad2.fedoraproject.org
|
||||
dl04.iad2.fedoraproject.org
|
||||
dl05.iad2.fedoraproject.org
|
||||
dl01.rdu3.fedoraproject.org
|
||||
dl02.rdu3.fedoraproject.org
|
||||
dl03.rdu3.fedoraproject.org
|
||||
dl04.rdu3.fedoraproject.org
|
||||
dl05.rdu3.fedoraproject.org
|
||||
log01.iad2.fedoraproject.org
|
||||
log01.rdu3.fedoraproject.org
|
||||
ns01.iad2.fedoraproject.org
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml"
|
||||
vars:
|
||||
myhosts: "download_ibiblio:download_cc_rdu:download_iad2"
|
||||
myhosts: "download_ibiblio:download_cc_rdu:download_iad2:download_rdu3"
|
||||
|
||||
- name: Download servers
|
||||
hosts: download
|
||||
|
|
@ -84,7 +84,7 @@
|
|||
|
||||
- name: Make a mnt/koji link
|
||||
ansible.builtin.file: state=link src=/mnt/fedora_koji/koji dest=/mnt/koji
|
||||
when: datacenter == "iad2"
|
||||
when: datacenter == "iad2" or datacenter == "rdu3"
|
||||
|
||||
handlers:
|
||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||
|
|
|
|||
|
|
@ -57,6 +57,19 @@
|
|||
tags:
|
||||
- nfs/client
|
||||
|
||||
- name: Nfs mount points (rdu3)
|
||||
mount: >
|
||||
name={{ mnt_dir }}
|
||||
src=ntap-rdu3-c02-fedora01-nfs01a:/{{ nfs_src_dir }}
|
||||
fstype=nfs
|
||||
opts={{nfs_mount_opts}}
|
||||
passno=0
|
||||
dump=0
|
||||
state=mounted
|
||||
when: ( datacenter == 'rdu3' or datacenter == 'staging' ) and (env != 'staging' or mount_stg is defined)
|
||||
tags:
|
||||
- nfs/client
|
||||
|
||||
- name: Nfs mount points (rdu)
|
||||
mount: >
|
||||
name={{ mnt_dir }}
|
||||
|
|
|
|||
|
|
@ -153,7 +153,7 @@ refuse options = checksum
|
|||
gid = 263
|
||||
hosts allow = {% for host in vars['dl_tier1'] %}{{host}},{% endfor %}
|
||||
|
||||
{% if datacenter == 'iad2' %}
|
||||
{% if datacenter == 'iad2' or datacenter == 'rdu3' %}
|
||||
[fedora-compose0]
|
||||
comment = Fedora composes
|
||||
path = /mnt/koji/compose
|
||||
|
|
@ -191,5 +191,5 @@ refuse options = checksum
|
|||
uid = root
|
||||
gid = root
|
||||
read only = yes
|
||||
hosts allow = 10.3.163.39 192.168.1.59
|
||||
hosts allow = 10.3.163.39 192.168.1.59 10.16.163.39
|
||||
list = no
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue