From 320c77122dcb3e514a4c5e298eba0294b1efc90a Mon Sep 17 00:00:00 2001 From: Ronelle Landy Date: Mon, 8 Apr 2019 12:43:00 -0400 Subject: [PATCH] Remove newline spacing on dlrn_hash_tag vars The newlines are not needed and putting the settings on ths same line as the definition simplies templating. Change-Id: Ib84c5c42d276333551d79ad0d175bcb4efdce936 --- .../templates/launcher-playbook.yaml.j2 | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/roles/create-zuul-based-reproducer/templates/launcher-playbook.yaml.j2 b/roles/create-zuul-based-reproducer/templates/launcher-playbook.yaml.j2 index ce52e9a85..5eb005359 100644 --- a/roles/create-zuul-based-reproducer/templates/launcher-playbook.yaml.j2 +++ b/roles/create-zuul-based-reproducer/templates/launcher-playbook.yaml.j2 @@ -106,12 +106,10 @@ {{ featureset_override_file_output | indent(14) }} {% endif -%} {% if dlrn_hash is defined or ('undercloud' in hostvars and 'dlrn_hash' in hostvars['undercloud']) -%} - dlrn_hash_tag: - {{ hostvars['undercloud'].dlrn_hash }} + dlrn_hash_tag: {{ hostvars['undercloud'].dlrn_hash }} {% endif -%} {% if dlrn_hash_newest is defined or ('undercloud' in hostvars and 'dlrn_hash_newest' in hostvars['undercloud']) -%} - dlrn_hash_tag_newest: - {{ hostvars['undercloud'].dlrn_hash_newest }} + dlrn_hash_tag_newest: {{ hostvars['undercloud'].dlrn_hash_newest }} {%- endif %} tasks: