Skip to content

Using cardano-node role multiple times in the same playbook causes container volumes duplication #72

@agaffney

Description

@agaffney

When using the cardano-node role twice in the same playbook, there's some bleed-over from the first role in the second.

TASK [blinklabs.cardano.cardano_node : Create container] **********************************************************************************************************************************************************
--- before
+++ after
@@ -1,8 +1,12 @@
 {
     "expected_binds": [
+        "/opt/cardano-mainnet/config/custom-p2p-topology.json:/opt/cardano-mainnet/config/custom-p2p-topology.json:rw",
+        "/opt/cardano-mainnet/data:/opt/cardano-mainnet/data:rw",
+        "/opt/cardano-mainnet/ipc:/opt/cardano-mainnet/ipc:rw",
         "/opt/cardano-preview/config/custom-p2p-topology.json:/opt/cardano-preview/config/custom-p2p-topology.json:rw",
         "/opt/cardano-preview/data:/opt/cardano-preview/data:rw",
         "/opt/cardano-preview/ipc:/opt/cardano-preview/ipc:rw",
+        "/opt/cardano/config/mainnet/config.json:/opt/cardano/config/mainnet/config.json:rw",
         "/opt/cardano/config/preview/config.json:/opt/cardano/config/preview/config.json:rw"
     ]
 }

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions