From 2b98ac3981adcfebc7e4bd279886995b46a0f30d Mon Sep 17 00:00:00 2001
From: Sam Yaple <sam@yaple.net>
Date: Fri, 31 Jul 2015 19:36:17 +0000
Subject: [PATCH] Update inventory examples for Ansible

Change-Id: I14beadf8ae0b4f117623331dca71eff3d45b51f1
Closes-Bug: #1480439
---
 ansible/inventory/all-in-one | 10 +++++++++-
 ansible/inventory/multinode  | 22 +++++++++++++++++++++-
 2 files changed, 30 insertions(+), 2 deletions(-)

diff --git a/ansible/inventory/all-in-one b/ansible/inventory/all-in-one
index 63771f54a..5661bc9c5 100644
--- a/ansible/inventory/all-in-one
+++ b/ansible/inventory/all-in-one
@@ -13,7 +13,7 @@ localhost       ansible_connection=local
 # You can explicitly specify which hosts run each project by updating the
 # groups in the sections below. Common services are grouped together.
 [haproxy:children]
-support
+network
 
 [mariadb:children]
 support
@@ -33,6 +33,7 @@ support
 [neutron:children]
 network
 
+
 # Additional control implemented here. These groups allow you to control which
 # 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
 # same host as the l3-agent and (depending on configuration) the dhcp-agent.
 
+# Glance
+[glance-api:children]
+glance
+
+[glance-registry:children]
+glance
+
 # Nova
 [nova-api:children]
 nova
diff --git a/ansible/inventory/multinode b/ansible/inventory/multinode
index 5806f26f3..a939baabc 100644
--- a/ansible/inventory/multinode
+++ b/ansible/inventory/multinode
@@ -9,6 +9,9 @@ support03       ansible_ssh_user=sam
 # The above can also be specified as follows:
 #support[01:03]     ansible_ssh_user=sam
 
+[network]
+network01
+
 [compute]
 compute01
 
@@ -16,7 +19,7 @@ compute01
 # You can explicitly specify which hosts run each project by updating the
 # groups in the sections below. Common services are grouped together.
 [haproxy:children]
-support
+network
 
 [mariadb:children]
 support
@@ -33,6 +36,9 @@ support
 [nova:children]
 support
 
+[neutron:children]
+network
+
 
 # Additional control implemented here. These groups allow you to control which
 # 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
 # same host as the l3-agent and (depending on configuration) the dhcp-agent.
 
+# Glance
+[glance-api:children]
+glance
+
+[glance-registry:children]
+glance
+
 # Nova
 [nova-api:children]
 nova
@@ -56,3 +69,10 @@ nova
 
 [nova-scheduler:children]
 nova
+
+# Neutron
+[neutron-server:children]
+neutron
+
+[neutron-agents:children]
+neutron
-- 
GitLab