diff --git a/ansible/roles/cluster-build/templates/reboot.sh b/ansible/roles/cluster-build/templates/reboot.sh index b5d37449ee555c5e65a1ddfb96a850ed2ca06c9d..2a3c868033a82547810bdbefbfce545f85461ce1 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 c2aae402daa529c8e41af606b131bdc93b6a029e..3bf3d1a36096a722fd3c92ca61153cb459711fc7 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: =="