openstack-ansible-ops/multi-node-aio/playbooks/inventory/hosts
Jacob Wagner 6b36fd8825 MNAIO: Add ability to deploy Ceph
This commit enables overriding the default storage options of
cinder/swift to a Ceph backed storage for the multinode all in one
deployments.

We also correct the README and build.sh script to show/use the
current defaults correctly for VM_DISK_SIZE and INFRA_VM_SERVER_RAM.

Change-Id: I9e1f1b09d1bcf224f4afa765c585baf28e6cafa8
2018-11-27 15:51:46 +00:00

133 lines
3.2 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
ceph1 ansible_host=10.0.236.145
ceph2 ansible_host=10.0.236.146
ceph3 ansible_host=10.0.236.147
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
# 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]
ceph1
ceph2
ceph3
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
# The group "ceph_hosts" is used in the MNAIO setup to create the basic drive
# setup for a ceph deployment
[ceph_hosts]
ceph1
ceph2
ceph3
######################## CEPH-ANSIBLE RELATED GROUPINGS ########################
# Used by ceph-ansible to determine which hosts to deploy to
[ceph]
ceph1 monitor_address=10.0.244.145
ceph2 monitor_address=10.0.244.146
ceph3 monitor_address=10.0.244.147
# Where to install the ceph monitoring service for ceph-ansible
[mons:children]
infra_hosts
# Where to install the osd services for ceph-ansible
[osds:children]
ceph
# Where to install the radosgw services for ceph-ansible
[rgws:children]
ceph
# Where to install the ceph metadata services if needed for ceph-ansible
[mdss]