Skip to content

Commit 8a2dc4f

Browse files
authored
fix: use lowercase for bool env vars in cardano-node (#151)
1 parent c0e7aa7 commit 8a2dc4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

roles/cardano_node/tasks/docker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
- '{{ cardano_node_port }}:{{ cardano_node_container_port }}'
4747
- '{{ cardano_node_metrics_port }}:{{ cardano_node_metrics_container_port }}'
4848
env:
49-
CARDANO_BLOCK_PRODUCER: '{{ cardano_node_block_producer | string }}'
49+
CARDANO_BLOCK_PRODUCER: '{{ "true" if (cardano_node_block_producer | bool) else "false" }}'
5050
CARDANO_CONFIG: '{{ cardano_node_config_file }}'
5151
CARDANO_DATABASE_PATH: '{{ cardano_node_db_container_dir }}'
5252
CARDANO_NETWORK: '{{ cardano_node_network }}'
@@ -58,6 +58,6 @@
5858
CARDANO_SHELLEY_VRF_KEY: '{{ cardano_node_shelley_vrf_key }}'
5959
CARDANO_SOCKET_PATH: '{{ cardano_node_ipc_container_dir }}/{{ cardano_node_socket_name }}'
6060
CARDANO_TOPOLOGY: '{{ cardano_node_topology_file }}'
61-
RESTORE_SNAPSHOT: '{{ cardano_node_restore_snapshot | string }}'
61+
RESTORE_SNAPSHOT: '{{ "true" if (cardano_node_restore_snapshot | bool) else "false" }}'
6262
SNAPSHOT_DIGEST: '{{ cardano_node_snapshot_digest }}'
6363
volumes: '{{ cardano_node_docker_volumes | list }}'

0 commit comments

Comments
 (0)