Skip to content

Commit 009b6a6

Browse files
author
tonytan4ever
committed
Skip product version if product is osa
1 parent a0e87c0 commit 009b6a6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

playbooks/templates/common/macros.jinja

+2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ host {# we can change to hardware here if we want #}
2323
metadata :
2424
product: "{{ maas_env_product | default('rpco') }}"
2525
rpc_env_identifier: "{{ maas_env_identifier | default('unknown')}}"
26+
{% if not(maas_env_product is defined and maas_env_product == 'osa') %}
2627
product_version: "{{ lookup('pipe', get_product_version_cmd )}}"
28+
{% endif %}
2729
{% if not(maas_env_product is defined and 'ceph' in maas_env_product) %}
2830
osa_version: "{{ lookup('pipe', get_product_osa_version_cmd )}}"
2931
{% endif %}

0 commit comments

Comments
 (0)