Update inventory examples for Ansible

Change-Id: I14beadf8ae0b4f117623331dca71eff3d45b51f1
Closes-Bug: #1480439
This commit is contained in:
Sam Yaple 2015-07-31 19:36:17 +00:00
parent a20fbed252
commit 2b98ac3981
2 changed files with 30 additions and 2 deletions

View File

@ -13,7 +13,7 @@ localhost ansible_connection=local
# You can explicitly specify which hosts run each project by updating the # You can explicitly specify which hosts run each project by updating the
# groups in the sections below. Common services are grouped together. # groups in the sections below. Common services are grouped together.
[haproxy:children] [haproxy:children]
support network
[mariadb:children] [mariadb:children]
support support
@ -33,6 +33,7 @@ support
[neutron:children] [neutron:children]
network network
# Additional control implemented here. These groups allow you to control which # Additional control implemented here. These groups allow you to control which
# services run on which hosts at a per-service level. # services run on which hosts at a per-service level.
# #
@ -40,6 +41,13 @@ network
# function appropriately. For example, neutron-metadata-agent must run on the # function appropriately. For example, neutron-metadata-agent must run on the
# same host as the l3-agent and (depending on configuration) the dhcp-agent. # same host as the l3-agent and (depending on configuration) the dhcp-agent.
# Glance
[glance-api:children]
glance
[glance-registry:children]
glance
# Nova # Nova
[nova-api:children] [nova-api:children]
nova nova

View File

@ -9,6 +9,9 @@ support03 ansible_ssh_user=sam
# The above can also be specified as follows: # The above can also be specified as follows:
#support[01:03] ansible_ssh_user=sam #support[01:03] ansible_ssh_user=sam
[network]
network01
[compute] [compute]
compute01 compute01
@ -16,7 +19,7 @@ compute01
# You can explicitly specify which hosts run each project by updating the # You can explicitly specify which hosts run each project by updating the
# groups in the sections below. Common services are grouped together. # groups in the sections below. Common services are grouped together.
[haproxy:children] [haproxy:children]
support network
[mariadb:children] [mariadb:children]
support support
@ -33,6 +36,9 @@ support
[nova:children] [nova:children]
support support
[neutron:children]
network
# Additional control implemented here. These groups allow you to control which # Additional control implemented here. These groups allow you to control which
# services run on which hosts at a per-service level. # services run on which hosts at a per-service level.
@ -41,6 +47,13 @@ support
# function appropriately. For example, neutron-metadata-agent must run on the # function appropriately. For example, neutron-metadata-agent must run on the
# same host as the l3-agent and (depending on configuration) the dhcp-agent. # same host as the l3-agent and (depending on configuration) the dhcp-agent.
# Glance
[glance-api:children]
glance
[glance-registry:children]
glance
# Nova # Nova
[nova-api:children] [nova-api:children]
nova nova
@ -56,3 +69,10 @@ nova
[nova-scheduler:children] [nova-scheduler:children]
nova nova
# Neutron
[neutron-server:children]
neutron
[neutron-agents:children]
neutron