Merge "Fix non-lazy ternery expression"

This commit is contained in:
Zuul
2025-02-25 14:53:14 +00:00
committed by Gerrit Code Review

View File

@@ -64,7 +64,7 @@
dest: >-
{{
haproxy_ssl_cert_path ~ '/haproxy_' ~ ansible_facts['hostname'] ~ '-' ~ (item.get('interface')) | ternary(
item.get('address') ~ '-' ~ item['interface'], item['address']) ~ '.pem'
item.get('address') ~ '-' ~ item.get('interface'), item['address']) ~ '.pem'
}}
regexp: "(privkey|fullchain).pem$"
owner: haproxy