Add a host for CentOS testing of noggin

This adds in for the staging environment a minimal system for centos
admins to test how items work in staging. Because this server will be
administered by CentOS, we only set up a minimal environment.

ToDo: Put in lines to get and copy the correct root ssh key into
/root/.ssh/authorized_keys for CentOS admins.

Signed-off-by: Stephen Smoogen <ssmoogen@redhat.com>
This commit is contained in:
Stephen Smoogen 2020-10-14 10:33:16 -04:00
parent e97aa82fc0
commit 539cf52303
4 changed files with 71 additions and 0 deletions

View file

@ -0,0 +1,22 @@
---
nm: 255.255.255.0
gw: 10.3.166.254
dns: 10.3.163.33
ks_url: http://10.3.163.35/repo/rhel/ks/kvm-rhel-8-iad2
ks_repo: http://10.3.163.35/repo/rhel/RHEL8-x86_64/
eth0_ip: 10.3.166.43
volgroup: /dev/vg_guests
vmhost: vmhost-x86-10.stg.iad2.fedoraproject.org
datacenter: iad2
nagios_Can_Connect: false
nagios_Check_Services:
mail: false
nrpe: false
sshd: false
swap: false
ping: false

View file

@ -0,0 +1,22 @@
---
nm: 255.255.255.0
gw: 10.3.166.254
dns: 10.3.163.33
ks_url: http://10.3.163.35/repo/rhel/ks/kvm-rhel-8-iad2
ks_repo: http://10.3.163.35/repo/rhel/RHEL8-x86_64/
eth0_ip: 10.3.166.42
volgroup: /dev/vg_guests
vmhost: vmhost-x86-09.stg.iad2.fedoraproject.org
datacenter: iad2
nagios_Can_Connect: false
nagios_Check_Services:
mail: false
nrpe: false
sshd: false
swap: false
ping: false

View file

@ -77,6 +77,10 @@ bugzilla2fedmsg01.iad2.fedoraproject.org
[bugzilla2fedmsg_stg]
bugzilla2fedmsg01.stg.iad2.fedoraproject.org
[centos_ipa_client_stg]
centos-ipa-client01.stg.iad2.fedoraproject.org
centos-ipa-client02.stg.iad2.fedoraproject.org
[bvirthost]
# bvirthost01.stg.iad2.fedoraproject.org
bvmhost-x86-01.iad2.fedoraproject.org

View file

@ -0,0 +1,23 @@
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=centos_ipa_client_stg"
- name: make the boxes be realen
hosts: centos_ipa_client_stg
user: root
gather_facts: True
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
roles:
- base
- hosts
pre_tasks:
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
handlers:
- import_tasks: "{{ handlers_path }}/restart_services.yml"