Add qadevel/qadevel-stg and autosign
This commit is contained in:
parent
0c76d40590
commit
336e13bc7b
9 changed files with 169 additions and 0 deletions
10
inventory/group_vars/autosign
Normal file
10
inventory/group_vars/autosign
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
# Define resources for this group of hosts here.
|
||||
lvm_size: 30000
|
||||
mem_size: 2048
|
||||
num_cpus: 2
|
||||
|
||||
# for systems that do not match the above - specify the same parameter in
|
||||
# the host_vars/$hostname file
|
||||
|
||||
fas_client_groups: sysadmin-releng
|
10
inventory/group_vars/qadevel
Normal file
10
inventory/group_vars/qadevel
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
# Define resources for this group of hosts here.
|
||||
lvm_size: 40000
|
||||
mem_size: 8192
|
||||
num_cpus: 2
|
||||
|
||||
# for systems that do not match the above - specify the same parameter in
|
||||
# the host_vars/$hostname file
|
||||
|
||||
fas_client_groups: sysadmin-qa
|
10
inventory/group_vars/qadevel-stg
Normal file
10
inventory/group_vars/qadevel-stg
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
# Define resources for this group of hosts here.
|
||||
lvm_size: 40000
|
||||
mem_size: 4096
|
||||
num_cpus: 1
|
||||
|
||||
# for systems that do not match the above - specify the same parameter in
|
||||
# the host_vars/$hostname file
|
||||
|
||||
fas_client_groups: sysadmin-qa
|
10
inventory/host_vars/autosign01.phx2.fedoraproject.org
Normal file
10
inventory/host_vars/autosign01.phx2.fedoraproject.org
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
nm: 255.255.255.0
|
||||
gw: 10.5.125.254
|
||||
dns: 10.5.126.21
|
||||
ks_url: http://10.5.126.23/repo/rhel/ks/kvm-rhel-6
|
||||
ks_repo: http://10.5.126.23/repo/rhel/RHEL6-x86_64/
|
||||
volgroup: /dev/vg_bvirthost06
|
||||
eth0_ip: 10.5.125.21
|
||||
vmhost: bvirthost06.phx2.fedoraproject.org
|
||||
datacenter: phx2
|
10
inventory/host_vars/qadevel-stg.qa.fedoraproject.org
Normal file
10
inventory/host_vars/qadevel-stg.qa.fedoraproject.org
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
nm: 255.255.255.0
|
||||
gw: 10.5.124.254
|
||||
dns: 10.5.126.21
|
||||
ks_url: http://10.5.126.23/repo/rhel/ks/kvm-fedora-20
|
||||
ks_repo: http://10.5.126.23/pub/fedora/linux/releases/20/Fedora/x86_64/os/
|
||||
volgroup: /dev/Guests00
|
||||
eth0_ip: 10.5.124.181
|
||||
vmhost: virthost-comm01.qa.fedoraproject.org
|
||||
datacenter: phx2
|
10
inventory/host_vars/qadevel.qa.fedoraproject.org
Normal file
10
inventory/host_vars/qadevel.qa.fedoraproject.org
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
nm: 255.255.255.0
|
||||
gw: 10.5.124.254
|
||||
dns: 10.5.126.21
|
||||
ks_url: http://10.5.126.23/repo/rhel/ks/kvm-fedora-20
|
||||
ks_repo: http://10.5.126.23/pub/fedora/linux/releases/20/Fedora/x86_64/os/
|
||||
volgroup: /dev/Guests00
|
||||
eth0_ip: 10.5.124.180
|
||||
vmhost: virthost-comm01.qa.fedoraproject.org
|
||||
datacenter: phx2
|
|
@ -7,6 +7,12 @@
|
|||
[beaker]
|
||||
beaker01.qa.fedoraproject.org
|
||||
|
||||
[qadevel]
|
||||
qadevel.qa.fedoraproject.org
|
||||
|
||||
[qadevel-stg]
|
||||
qadevel-stg.qa.fedoraproject.org
|
||||
|
||||
[arm-packager]
|
||||
arm03-packager00.cloud.fedoraproject.org
|
||||
arm03-packager01.cloud.fedoraproject.org
|
||||
|
@ -191,6 +197,9 @@ relepel01.phx2.fedoraproject.org
|
|||
#sign-vault03.phx2.fedoraproject.org
|
||||
#sign-vault04.phx2.fedoraproject.org
|
||||
|
||||
[autosign]
|
||||
autosign01.phx2.fedoraproject.org
|
||||
|
||||
[releng-stg]
|
||||
releng01.stg.phx2.fedoraproject.org
|
||||
|
||||
|
|
50
playbooks/groups/autosign.yml
Normal file
50
playbooks/groups/autosign.yml
Normal file
|
@ -0,0 +1,50 @@
|
|||
# create a new autosign server
|
||||
#
|
||||
# This server looks for rawhide builds and requests they be signed.
|
||||
#
|
||||
|
||||
- name: make autosign server
|
||||
hosts: autosign
|
||||
user: root
|
||||
gather_facts: False
|
||||
accelerate: "{{ accelerated }}"
|
||||
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
- "{{ private }}/vars.yml"
|
||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||
|
||||
tasks:
|
||||
- include: "{{ tasks }}/virt_instance_create.yml"
|
||||
|
||||
handlers:
|
||||
- include: "{{ handlers }}/restart_services.yml"
|
||||
|
||||
- name: make the box be real
|
||||
hosts: autosign
|
||||
user: root
|
||||
gather_facts: True
|
||||
accelerate: "{{ accelerated }}"
|
||||
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
- "{{ private }}/vars.yml"
|
||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||
|
||||
roles:
|
||||
- base
|
||||
- rkhunter
|
||||
- denyhosts
|
||||
- nagios_client
|
||||
- fas_client
|
||||
- collectd/base
|
||||
|
||||
tasks:
|
||||
- include: "{{ tasks }}/hosts.yml"
|
||||
- include: "{{ tasks }}/yumrepos.yml"
|
||||
- include: "{{ tasks }}/2fa_client.yml"
|
||||
- include: "{{ tasks }}/motd.yml"
|
||||
- include: "{{ tasks }}/sudo.yml"
|
||||
|
||||
handlers:
|
||||
- include: "{{ handlers }}/restart_services.yml"
|
50
playbooks/manual/qadevel.yml
Normal file
50
playbooks/manual/qadevel.yml
Normal file
|
@ -0,0 +1,50 @@
|
|||
# create a new qadevel server
|
||||
#
|
||||
# This server looks for rawhide builds and requests they be signed.
|
||||
#
|
||||
|
||||
- name: make qadevel server
|
||||
hosts: qadevel;qadevel-stg
|
||||
user: root
|
||||
gather_facts: False
|
||||
accelerate: "{{ accelerated }}"
|
||||
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
- "{{ private }}/vars.yml"
|
||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||
|
||||
tasks:
|
||||
- include: "{{ tasks }}/virt_instance_create.yml"
|
||||
|
||||
handlers:
|
||||
- include: "{{ handlers }}/restart_services.yml"
|
||||
|
||||
- name: make the box be real
|
||||
hosts: qadevel;qadevel-stg
|
||||
user: root
|
||||
gather_facts: True
|
||||
accelerate: "{{ accelerated }}"
|
||||
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
- "{{ private }}/vars.yml"
|
||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||
|
||||
roles:
|
||||
- base
|
||||
- rkhunter
|
||||
- denyhosts
|
||||
- nagios_client
|
||||
- fas_client
|
||||
- collectd/base
|
||||
|
||||
tasks:
|
||||
- include: "{{ tasks }}/hosts.yml"
|
||||
- include: "{{ tasks }}/yumrepos.yml"
|
||||
- include: "{{ tasks }}/2fa_client.yml"
|
||||
- include: "{{ tasks }}/motd.yml"
|
||||
- include: "{{ tasks }}/sudo.yml"
|
||||
|
||||
handlers:
|
||||
- include: "{{ handlers }}/restart_services.yml"
|
Loading…
Add table
Add a link
Reference in a new issue