put in a host so we can test epel8
This commit is contained in:
parent
70fad76e2f
commit
029217e4ba
|
@ -0,0 +1,35 @@
|
||||||
|
---
|
||||||
|
# common items for the buildvm-* koji builders
|
||||||
|
volgroup: /dev/BuildGuests
|
||||||
|
lvm_size: 262144
|
||||||
|
mem_size: 15360
|
||||||
|
max_mem_size: "{{ mem_size }}"
|
||||||
|
num_cpus: 6
|
||||||
|
ks_url: http://10.5.126.23/repo/rhel/ks/buildvm-fedora-29
|
||||||
|
ks_repo: http://10.5.126.23/pub/fedora/linux/releases/29/Server/x86_64/os/
|
||||||
|
nm: 255.255.255.0
|
||||||
|
gw: 10.5.125.254
|
||||||
|
dns: 10.5.126.21
|
||||||
|
virt_install_command: "{{ virt_install_command_two_nic }}"
|
||||||
|
|
||||||
|
vmhost: buildvmhost-04.phx2.fedoraproject.org
|
||||||
|
eth0_ip: 10.5.125.65
|
||||||
|
eth1_ip: 10.5.127.55
|
||||||
|
eth1_gw: 10.5.127.254
|
||||||
|
|
||||||
|
|
||||||
|
# for systems that do not match the above - specify the same parameter in
|
||||||
|
# the host_vars/$hostname file
|
||||||
|
host_group: kojibuilder
|
||||||
|
fas_client_groups: sysadmin-releng,sysadmin-main
|
||||||
|
sudoers: "{{ private }}/files/sudo/00releng-sudoers"
|
||||||
|
|
||||||
|
csi_security_category: High
|
||||||
|
csi_primary_contact: Fedora Admins - admin@fedoraproject.org
|
||||||
|
csi_purpose: Koji service employs a set of machines to build packages for the Fedora project. This playbook builds vm builders.
|
||||||
|
csi_relationship: |
|
||||||
|
* VMs built on top of buildvmhost
|
||||||
|
* Relies on koji-hub, Packages, PkgDB, apache, fedmsg, fas, virthost, and is monitored by nagios
|
||||||
|
* Several services rely on the builders, including koschei, Bodhi, Tagger, SCM, Darkserver.
|
||||||
|
* Produces automated builds of packages for the architecture listed. Builders can be scaled by adding new
|
||||||
|
|
|
@ -7,6 +7,9 @@ beaker-stg01.qa.fedoraproject.org
|
||||||
[grobisplitter]
|
[grobisplitter]
|
||||||
grobisplitter01.phx2.fedoraproject.org
|
grobisplitter01.phx2.fedoraproject.org
|
||||||
|
|
||||||
|
[epel_08]
|
||||||
|
relepel01.phx2.fedoraproject.org
|
||||||
|
|
||||||
[beaker_virthosts]
|
[beaker_virthosts]
|
||||||
|
|
||||||
[qa_prod]
|
[qa_prod]
|
||||||
|
|
|
@ -0,0 +1,31 @@
|
||||||
|
# This is a basic playbook
|
||||||
|
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=grobisplitter"
|
||||||
|
|
||||||
|
- name: make the box be real
|
||||||
|
hosts: grobisplitter
|
||||||
|
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
|
||||||
|
|
||||||
|
pre_tasks:
|
||||||
|
- import_tasks: "{{ tasks_path }}/yumrepos.yml"
|
||||||
|
|
||||||
|
roles:
|
||||||
|
- base
|
||||||
|
- rkhunter
|
||||||
|
- nagios_client
|
||||||
|
- hosts
|
||||||
|
- fas_client
|
||||||
|
- collectd/base
|
||||||
|
- sudo
|
||||||
|
|
||||||
|
tasks:
|
||||||
|
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
|
||||||
|
- import_tasks: "{{ tasks_path }}/motd.yml"
|
||||||
|
|
||||||
|
handlers:
|
||||||
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
Loading…
Reference in New Issue