From cb2e84b377c3648450b9ba2516d3112ca2d573d2 Mon Sep 17 00:00:00 2001
From: matt01671 <matt01671@gmail.com>
Date: Wed, 6 May 2020 14:29:47 +1200
Subject: [PATCH] not working

---
 ansible/roles/cluster-build/templates/reboot.sh | 2 +-
 ansible/roles/cluster-build/templates/run.sh    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ansible/roles/cluster-build/templates/reboot.sh b/ansible/roles/cluster-build/templates/reboot.sh
index b5d3744..2a3c868 100644
--- a/ansible/roles/cluster-build/templates/reboot.sh
+++ b/ansible/roles/cluster-build/templates/reboot.sh
@@ -2,7 +2,7 @@
 # declare -a conts=(`sudo docker ps --all | grep couchdb | cut -f1 -d' ' | xargs -n1 -d'\n'`)
 export node="$1"
 
-sudo docker restart couchdb${node}
+# sudo docker restart couchdb${node}
 # echo "== Stop the containers: =="
 # sudo docker stop couchdb${node}
 
diff --git a/ansible/roles/cluster-build/templates/run.sh b/ansible/roles/cluster-build/templates/run.sh
index c2aae40..3bf3d1a 100644
--- a/ansible/roles/cluster-build/templates/run.sh
+++ b/ansible/roles/cluster-build/templates/run.sh
@@ -34,7 +34,7 @@ sudo docker create\
   --env COUCHDB_PASSWORD=${pass}\
   --env NODENAME=couchdb@${node}\
   --env COUCHDB_SECRET=${cookie}\
-  --env ERL_FLAGS="-setcookie \"${cookie}\" -name \"couchdb@${node}\""\
+  --env ERL_FLAGS="-setcookie \${cookie}\ -name \couchdb@${node}\""\
   ibmcom/couchdb3:${VERSION}
 
 # echo "== Put in conts the Docker container IDs: =="
-- 
GitLab