Split lines to not exceed 160 characters limit

Change-Id: I05029ad2a2a8e351ecc7236cb779a045c3a44403
This commit is contained in:
Dmitriy Rabotyagov 2023-09-18 15:38:17 +02:00
parent 4e0ca28c67
commit 8e36b59745
1 changed files with 10 additions and 2 deletions

View File

@ -19,8 +19,16 @@ _glance_is_first_play_host: >-
inventory_hostname == (groups[glance_services['glance-api']['group']] | intersect(ansible_play_hosts)) | first) | bool
}}
_glance_oslomsg_rpc_vhost_conf: "{{ (glance_oslomsg_rpc_vhost is string) | ternary(glance_oslomsg_rpc_vhost, glance_oslomsg_rpc_vhost | selectattr('state', 'eq', 'present') | map(attribute='name') | first) }}"
_glance_oslomsg_notify_vhost_conf: "{{ (glance_oslomsg_notify_vhost is string) | ternary(glance_oslomsg_notify_vhost, glance_oslomsg_notify_vhost | selectattr('state', 'eq', 'present') | map(attribute='name') | first) }}"
_glance_oslomsg_rpc_vhost_conf: >-
{{
(glance_oslomsg_rpc_vhost is string) | ternary(glance_oslomsg_rpc_vhost, glance_oslomsg_rpc_vhost | selectattr(
'state', 'eq', 'present') | map(attribute='name') | first)
}}
_glance_oslomsg_notify_vhost_conf: >-
{{
(glance_oslomsg_notify_vhost is string) | ternary(glance_oslomsg_notify_vhost, glance_oslomsg_notify_vhost | selectattr(
'state', 'eq', 'present') | map(attribute='name') | first)
}}
#
# Compile a list of the services on a host based on whether