From 700ab97c2b0fbda651098bd28240fb9e7291acc5 Mon Sep 17 00:00:00 2001 From: Aurora Gaffney Date: Sun, 20 Oct 2024 21:24:55 -0500 Subject: [PATCH] fix: use lowercase for bool env vars in cardano-node --- roles/cardano_node/tasks/docker.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/cardano_node/tasks/docker.yml b/roles/cardano_node/tasks/docker.yml index 3f9ad0e..98c0e33 100644 --- a/roles/cardano_node/tasks/docker.yml +++ b/roles/cardano_node/tasks/docker.yml @@ -46,7 +46,7 @@ - '{{ cardano_node_port }}:{{ cardano_node_container_port }}' - '{{ cardano_node_metrics_port }}:{{ cardano_node_metrics_container_port }}' env: - CARDANO_BLOCK_PRODUCER: '{{ cardano_node_block_producer | string }}' + CARDANO_BLOCK_PRODUCER: '{{ "true" if (cardano_node_block_producer | bool) else "false" }}' CARDANO_CONFIG: '{{ cardano_node_config_file }}' CARDANO_DATABASE_PATH: '{{ cardano_node_db_container_dir }}' CARDANO_NETWORK: '{{ cardano_node_network }}' @@ -58,6 +58,6 @@ CARDANO_SHELLEY_VRF_KEY: '{{ cardano_node_shelley_vrf_key }}' CARDANO_SOCKET_PATH: '{{ cardano_node_ipc_container_dir }}/{{ cardano_node_socket_name }}' CARDANO_TOPOLOGY: '{{ cardano_node_topology_file }}' - RESTORE_SNAPSHOT: '{{ cardano_node_restore_snapshot | string }}' + RESTORE_SNAPSHOT: '{{ "true" if (cardano_node_restore_snapshot | bool) else "false" }}' SNAPSHOT_DIGEST: '{{ cardano_node_snapshot_digest }}' volumes: '{{ cardano_node_docker_volumes | list }}'