First cut at moving koji01 over to ansible.
This commit is contained in:
parent
a54ef3bae8
commit
c33f8914be
3 changed files with 22 additions and 2 deletions
10
inventory/group_vars/koji-stg
Normal file
10
inventory/group_vars/koji-stg
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/host_vars/koji01.stg.phx2.fedoraproject.org
Normal file
10
inventory/host_vars/koji01.stg.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_guests
|
||||
eth0_ip: 10.5.126.87
|
||||
vmhost: virthost10.phx2.fedoraproject.org
|
||||
datacenter: phx2
|
|
@ -3,7 +3,7 @@
|
|||
# NOTE: most of these vars_path come from group_vars/koji-hub or from hostvars
|
||||
|
||||
- name: make koji hub
|
||||
hosts: koji-hub-secondary
|
||||
hosts: koji-stg
|
||||
user: root
|
||||
gather_facts: False
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
|||
# Once the instance exists, configure it.
|
||||
|
||||
- name: make koji_hub server system
|
||||
hosts: koji-hub-secondary
|
||||
hosts: koji-stg
|
||||
user: root
|
||||
gather_facts: True
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue