Add osbs01.stg instance
This commit is contained in:
parent
c0098ea200
commit
55e097b9c7
4 changed files with 63 additions and 0 deletions
9
inventory/group_vars/osbs-stg
Normal file
9
inventory/group_vars/osbs-stg
Normal file
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
# Define resources for this group of hosts here.
|
||||
lvm_size: 60000
|
||||
mem_size: 8192
|
||||
num_cpus: 2
|
||||
|
||||
tcp_ports: [ 80, 443 ]
|
||||
|
||||
fas_client_groups: sysadmin-releng,fi-apprentice
|
10
inventory/host_vars/osbs01.stg.phx2.fedoraproject.org
Normal file
10
inventory/host_vars/osbs01.stg.phx2.fedoraproject.org
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
nm: 255.255.255.0
|
||||
gw: 10.5.126.254
|
||||
dns: 10.5.126.21
|
||||
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_virthost16
|
||||
eth0_ip: 10.5.126.114
|
||||
vmhost: virthost16.phx2.fedoraproject.org
|
||||
datacenter: phx2
|
|
@ -324,6 +324,9 @@ ppc-hub.qa.fedoraproject.org
|
|||
[koji-stg]
|
||||
koji01.stg.phx2.fedoraproject.org
|
||||
|
||||
[osbs-stg]
|
||||
osbs01.stg.phx2.fedoraproject.org
|
||||
|
||||
[kojipkgs]
|
||||
kojipkgs01.phx2.fedoraproject.org
|
||||
|
||||
|
@ -552,6 +555,7 @@ notifs-web01.stg.phx2.fedoraproject.org
|
|||
notifs-web02.stg.phx2.fedoraproject.org
|
||||
nuancier01.stg.phx2.fedoraproject.org
|
||||
nuancier02.stg.phx2.fedoraproject.org
|
||||
osbs01.stg.phx2.fedoraproject.org
|
||||
packages03.stg.phx2.fedoraproject.org
|
||||
paste01.stg.phx2.fedoraproject.org
|
||||
pkgdb01.stg.phx2.fedoraproject.org
|
||||
|
|
40
playbooks/groups/osbs.yml
Normal file
40
playbooks/groups/osbs.yml
Normal file
|
@ -0,0 +1,40 @@
|
|||
- name: make osbs server
|
||||
hosts: osbs-stg
|
||||
user: root
|
||||
gather_facts: False
|
||||
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
- "/srv/private/ansible/vars.yml"
|
||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||
|
||||
tasks:
|
||||
- include: "{{ tasks }}/virt_instance_create.yml"
|
||||
|
||||
handlers:
|
||||
- include: "{{ handlers }}/restart_services.yml"
|
||||
|
||||
# Once the instance exists, configure it.
|
||||
|
||||
- name: make osbs server system
|
||||
hosts: osbs-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
|
||||
- rkhunter
|
||||
- nagios_client
|
||||
- hosts
|
||||
- fas_client
|
||||
- collectd/base
|
||||
- apache
|
||||
- sudo
|
||||
|
||||
handlers:
|
||||
- include: "{{ handlers }}/restart_services.yml"
|
Loading…
Add table
Add a link
Reference in a new issue