Skip to content

Commit

Permalink
[patch] Fix "jdbc_tls_crt is undefined" (#1126)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrercm authored Dec 6, 2023
1 parent 0d5e016 commit a080005
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ibm/mas_devops/roles/gencfg_jdbc/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@
# Load jdbc_certs template to dynamically set as many jdbc certificates as identified
- set_fact:
jdbc_certs: "{{ lookup('ansible.builtin.template', 'templates/jdbc-certs.yml.j2') }}"
when: jdbc_tls_crt | length > 0
when:
- jdbc_tls_crt is defined
- jdbc_tls_crt | length > 0

# 6. Generate JDBCcfg for MAS configuration
# -----------------------------------------------------------------------------
Expand Down

0 comments on commit a080005

Please sign in to comment.