iad2: add a batcave01 in iad2

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2020-05-08 15:49:27 -07:00
parent 330a0d8405
commit cd327147a8
3 changed files with 34 additions and 2 deletions

View file

@ -0,0 +1,30 @@
---
nm: 255.255.255.0
gw: 10.3.163.254
dns: 10.3.163.33
ks_url: http://10.5.126.23/repo/rhel/ks/kvm-rhel-7
ks_repo: http://10.5.126.23/repo/rhel/RHEL7-x86_64/
volgroup: /dev/vg_guests
eth0_ip: 10.3.163.35
#eth1_ip:
vmhost: vmhost01.iad2.fedoraproject.org
datacenter: iad2
#host_backup_targets: ['/git', '/mnt/fedora/app/attachments']
#
# We need this to install with 2 nics
#
virt_install_command: "{{ virt_install_command_two_nic }}"
# GDPR SAR variables - koji
sar_script: /usr/local/bin/koji_sar.py
sar_script_user: root
sar_output_file: koji.json
# Add VPN host name as alt name for SSH cert. Useful when you need to
# SSH into batcave through VPN, like from bastion in a different DC.
ssh_hostnames:
- batcave01.vpn.fedoraproject.org

View file

@ -319,6 +319,7 @@ kojipkgs02.phx2.fedoraproject.org
[infracore]
batcave01.phx2.fedoraproject.org
batcave01.iad2.fedoraproject.org
log01.phx2.fedoraproject.org
log01.iad2.fedoraproject.org
noc01.phx2.fedoraproject.org
@ -333,6 +334,7 @@ log01.iad2.fedoraproject.org
[batcave]
batcave01.phx2.fedoraproject.org
batcave01.iad2.fedoraproject.org
batcave13.rdu2.fedoraproject.org
[ipa]

View file

@ -49,8 +49,8 @@
warning: 10
critical: 100
- batcave
- { role: nfs/client, when: inventory_hostname.startswith('batcave'), mnt_dir: '/srv/web/pub', nfs_src_dir: 'fedora_ftp/fedora.redhat.com/pub' }
- { role: nfs/client, when: inventory_hostname.startswith('batcave01'), mnt_dir: '/mnt/fedora/app', nfs_src_dir: 'fedora_app/app' }
- { role: nfs/client, when: inventory_hostname.startswith('batcave') and datacenter != 'iad2', mnt_dir: '/srv/web/pub', nfs_src_dir: 'fedora_ftp/fedora.redhat.com/pub' }
- { role: nfs/client, when: inventory_hostname.startswith('batcave01') and datacenter != 'iad2', mnt_dir: '/mnt/fedora/app', nfs_src_dir: 'fedora_app/app' }
- { role: mirror_pagure_ansible, tags: ['mirror_pagure_ansible'] }
pre_tasks: