diff --git a/inventory/group_vars/octavia_all.yml b/inventory/group_vars/octavia_all.yml index 67f3d72d70..bdd7818b7c 100644 --- a/inventory/group_vars/octavia_all.yml +++ b/inventory/group_vars/octavia_all.yml @@ -13,6 +13,9 @@ # See the License for the specific language governing permissions and # limitations under the License. +# If there are any Ceilometer hosts in the environment, then enable its usage +octavia_ceilometer_enabled: "{{ (groups['ceilometer_all'] is defined) and (groups['ceilometer_all'] | length > 0) }}" + octavia_service_internalurl: "{{ octavia_service_internaluri }}/v1/%(project_id)s" octavia_service_user_name: octavia octavia_service_region: "{{ service_region }}"