Created
May 2, 2019 18:00
-
-
Save devx/61a17d22dd08abb45e90c56303093ffa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################## 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 | |
compute3 ansible_host=10.0.236.122 | |
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 | |
compute3 | |
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 | |
compute3 | |
# 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] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment