diff --git a/ansible/archival-snapshots/resources/main.sh b/ansible/archival-snapshots/resources/main.sh index e31436665..638eb5adb 100755 --- a/ansible/archival-snapshots/resources/main.sh +++ b/ansible/archival-snapshots/resources/main.sh @@ -37,10 +37,8 @@ sleep 30 echo "Forest process started with PID: $FOREST_NODE_PID" ADMIN_TOKEN=$(cat admin_token) -FULLNODE_API_INFO="${ADMIN_TOKEN}:/ip4/127.0.0.1/tcp/3456/http" - -echo "export FULLNODE_API_INFO='${FULLNODE_API_INFO}'" > /tmp/set_env.sh -source /tmp/set_env.sh +export FULLNODE_API_INFO="$ADMIN_TOKEN:/ip4/127.0.0.1/tcp/3456/http" +echo "USING TOKEN: $FULLNODE_API_INFO" echo "Waiting for forest to sync to latest network head" $FOREST_CLI sync wait