openstack-ansible-ops/multi-node-aio/playbooks/inventory/hosts
Kevin Carter 55640fa286 Convert the user config group build outs to be dynamic
the previous group build outs for the osa user config were statically
defined. This change makes all of them dynamic which gives a user the
ability to add or remove hosts from the basic inventory as they need.

Change-Id: I1eae7de6d62435e8222ec80b05b6c0a060c5bb69
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-09-27 15:11:41 +00:00

104 lines
2.6 KiB
INI

################################## ALL HOSTS ##################################
[all]
# Local host
localhost ansible_connection=local
# MNAIO host
mnaio1 ansible_host=10.0.2.1 ansible_connection=local
# MNAIO VMs
infra1 ansible_host=10.0.236.100
infra2 ansible_host=10.0.236.101
infra3 ansible_host=10.0.236.102
cinder1 ansible_host=10.0.236.130
cinder2 ansible_host=10.0.236.131
compute1 ansible_host=10.0.236.120
compute2 ansible_host=10.0.236.121
loadbalancer1 ansible_host=10.0.236.150
logging1 ansible_host=10.0.236.110
swift1 ansible_host=10.0.236.140
swift2 ansible_host=10.0.236.141
swift3 ansible_host=10.0.236.142
################################# MNAIO HOSTS #################################
# The group "vm_hosts" is used to define all host machines that will be running
# traditional virtualization using KVM.
[vm_hosts]
mnaio1
################################## PXE HOSTS ##################################
# The group "mnaio_hosts" is used to define all host machines that will serve
# the purpose of running an MNAIO test environment.
[mnaio_hosts]
mnaio1
# The group "pxe_hosts" is used to setup all systems that will be responsible
# for PXE boot. This will install all of the needed capabilities to TFTP serve
# system images.
[pxe_hosts]
mnaio1
# The group "dhcp_hosts" is used to setup all systems that will be responsible
# for DHCP. This is not required as external DHCP could be used.
[dhcp_hosts]
mnaio1
# The group "pxe_servers" is used to create PXE specific configurations for
# each host machines.
[pxe_servers]
cinder1
cinder2
compute1
compute2
infra1
infra2
infra3
loadbalancer1
logging1
swift1
swift2
swift3
################################## OSA HOSTS ##################################
# The group "deploy_hosts" is used to define where an OSA deployment will
# originate from.
[deploy_hosts]
infra1
[loadbalancer_hosts]
loadbalancer1
[log_hosts]
logging1
############################### OSA MNAIO HOSTS ###############################
# The group "infra_hosts" is used in the MNAIO setup to create the basic host
# layout for nova compute.
[infra_hosts]
infra1
infra2
infra3
# The group "swift_hosts" is used in the MNAIO setup to create the basic drive
# setup needed for a swift deployment.
[swift_hosts]
swift1
swift2
swift3
# The group "cinder_hosts" is used in the MNAIO setup to create the basic drive
# setup needed for a cinder LVM deployment.
[cinder_hosts]
cinder1
cinder2
# The group "compute_hosts" is used in the MNAIO setup to create the basic host
# layout for nova compute.
[compute_hosts]
compute1
compute2