From 9bca246b109c6d78753e3185a5b0a85746ad16fd Mon Sep 17 00:00:00 2001
From: Mark Goddard <mark@stackhpc.com>
Date: Mon, 3 Aug 2020 09:50:36 +0100
Subject: [PATCH] Fix play hosts for ironic, monasca, neutron, nova

Some plays were not applied to all groups referenced by the services
they deploy. In most cases this works fine, but if the default inventory
is modified this may cause problems where containers are not deployed to
hosts in the missing groups, if they are not a member of other groups
that the play is targeted to.

This change syncs up the play hosts for all services.

Closes-Bug: #1889387

Change-Id: I6b92d8e53a29b06a065e0611840140d09c8a6695
---
 ansible/nova.yml | 2 ++
 ansible/site.yml | 8 ++++++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/ansible/nova.yml b/ansible/nova.yml
index bab6983997..5a0c3aef3a 100644
--- a/ansible/nova.yml
+++ b/ansible/nova.yml
@@ -116,6 +116,7 @@
   gather_facts: false
   hosts:
     - compute
+    - nova-compute-ironic
     - nova-conductor
     - nova-novncproxy
     - nova-serialproxy
@@ -181,6 +182,7 @@
   gather_facts: false
   hosts:
     - compute
+    - nova-compute-ironic
     - nova-conductor
     - nova-novncproxy
     - nova-serialproxy
diff --git a/ansible/site.yml b/ansible/site.yml
index a47168f2b6..b14a0d6ebc 100644
--- a/ansible/site.yml
+++ b/ansible/site.yml
@@ -655,6 +655,7 @@
     - ironic-conductor
     - ironic-inspector
     - ironic-pxe
+    - ironic-ipxe
     - '&enable_ironic_True'
   serial: '{{ kolla_serial|default("0") }}'
   roles:
@@ -737,6 +738,8 @@
     - neutron-metadata-agent
     - neutron-ovn-metadata-agent
     - neutron-metering-agent
+    - neutron-bgp-dragent
+    - neutron-infoblox-ipam-agent
     - compute
     - manila-share
     - '&enable_neutron_True'
@@ -916,8 +919,9 @@
 - name: Apply role monasca
   gather_facts: false
   hosts:
-    - monasca
-    - monasca-agent
+    - monasca-agent-collector
+    - monasca-agent-forwarder
+    - monasca-agent-statsd
     - monasca-api
     - monasca-grafana
     - monasca-log-transformer