From 79ccde30b45aa3385f253a5fa7057344d2a04fbb Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Mon, 18 Sep 2023 16:17:05 +0200 Subject: [PATCH] Split lines to not exceed 160 characters limit Change-Id: I1e35c59edff17f19916258eee2a8b0a8bc77958f --- vars/main.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/vars/main.yml b/vars/main.yml index 36834b5a..02fa80d1 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -34,8 +34,16 @@ _cinder_rootwrap_conf_overrides: filters_path: "/etc/cinder/rootwrap.d,/usr/share/cinder/rootwrap" exec_dirs: "{{ cinder_bin }},/sbin,/usr/sbin,/bin,/usr/bin,/usr/local/bin,/usr/local/sbin" -_cinder_oslomsg_rpc_vhost_conf: "{{ (cinder_oslomsg_rpc_vhost is string) | ternary(cinder_oslomsg_rpc_vhost, cinder_oslomsg_rpc_vhost | selectattr('state', 'eq', 'present') | map(attribute='name') | first) }}" -_cinder_oslomsg_notify_vhost_conf: "{{ (cinder_oslomsg_notify_vhost is string) | ternary(cinder_oslomsg_notify_vhost, cinder_oslomsg_notify_vhost | selectattr('state', 'eq', 'present') | map(attribute='name') | first) }}" +_cinder_oslomsg_rpc_vhost_conf: >- + {{ + (cinder_oslomsg_rpc_vhost is string) | ternary(cinder_oslomsg_rpc_vhost, cinder_oslomsg_rpc_vhost | selectattr( + 'state', 'eq', 'present') | map(attribute='name') | first) + }} +_cinder_oslomsg_notify_vhost_conf: >- + {{ + (cinder_oslomsg_notify_vhost is string) | ternary(cinder_oslomsg_notify_vhost, cinder_oslomsg_notify_vhost | selectattr( + 'state', 'eq', 'present') | map(attribute='name') | first) + }} # # Compile a list of the services on a host based on whether