Fix ansible devel Unexpected templating type error could not convert to boolean

This commit is contained in:
Laurent Indermuehle 2024-06-06 23:31:20 +02:00
commit 16d530348d
No known key found for this signature in database
GPG key ID: 93FA944C9F34DD09

View file

@ -3,7 +3,7 @@
command: "{{ mysql_command }} \"-e SHOW VARIABLES LIKE 'have_ssl';\""
register: result
- set_fact:
tls_enabled: "{{ 'YES' in result.stdout | bool | default('false', true) }}"
tls_enabled: "{{ 'YES' in result.stdout }}"
- vars:
mysql_parameters: &mysql_params