Add prod instances too
This commit is contained in:
parent
e5c3bda671
commit
ba3d99eb3a
5 changed files with 37 additions and 2 deletions
11
inventory/group_vars/sundries
Normal file
11
inventory/group_vars/sundries
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
---
|
||||||
|
# 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
|
||||||
|
|
||||||
|
tcp_ports: [ 80 ]
|
||||||
|
fas_client_groups: sysadmin-noc,fi-apprentice
|
10
inventory/host_vars/sundries01.phx2.fedoraproject.org
Normal file
10
inventory/host_vars/sundries01.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-6
|
||||||
|
ks_repo: http://10.5.126.23/repo/rhel/RHEL6-x86_64/
|
||||||
|
volgroup: /dev/vg_virthost03
|
||||||
|
eth0_ip: 10.5.126.38
|
||||||
|
vmhost: virthost03.phx2.fedoraproject.org
|
||||||
|
datacenter: phx2
|
10
inventory/host_vars/sundries02.phx2.fedoraproject.org
Normal file
10
inventory/host_vars/sundries02.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-6
|
||||||
|
ks_repo: http://10.5.126.23/repo/rhel/RHEL6-x86_64/
|
||||||
|
volgroup: /dev/vg_virthost01
|
||||||
|
eth0_ip: 10.5.126.40
|
||||||
|
vmhost: virthost01.phx2.fedoraproject.org
|
||||||
|
datacenter: phx2
|
|
@ -411,6 +411,10 @@ summershum01.phx2.fedoraproject.org
|
||||||
[summershum-stg]
|
[summershum-stg]
|
||||||
summershum01.stg.phx2.fedoraproject.org
|
summershum01.stg.phx2.fedoraproject.org
|
||||||
|
|
||||||
|
[sundries]
|
||||||
|
sundries01.phx2.fedoraproject.org
|
||||||
|
sundries02.phx2.fedoraproject.org
|
||||||
|
|
||||||
[sundries-stg]
|
[sundries-stg]
|
||||||
sundries01.stg.phx2.fedoraproject.org
|
sundries01.stg.phx2.fedoraproject.org
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
- name: make sundries server
|
- name: make sundries server
|
||||||
hosts: sundries-stg
|
hosts: sundries:sundries-stg
|
||||||
user: root
|
user: root
|
||||||
gather_facts: False
|
gather_facts: False
|
||||||
accelerate: True
|
accelerate: True
|
||||||
|
@ -21,7 +21,7 @@
|
||||||
- include: "{{ handlers }}/restart_services.yml"
|
- include: "{{ handlers }}/restart_services.yml"
|
||||||
|
|
||||||
- name: make the box be real
|
- name: make the box be real
|
||||||
hosts: sundries-stg
|
hosts: sundries:sundries-stg
|
||||||
user: root
|
user: root
|
||||||
gather_facts: True
|
gather_facts: True
|
||||||
accelerate: True
|
accelerate: True
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue