Skip to content
Snippets Groups Projects
Commit 11f41466 authored by matt01671's avatar matt01671
Browse files

added reboot

parent b7c114e0
Branches
No related tags found
No related merge requests found
......@@ -27,5 +27,5 @@
# reboot_timeout: 3000
- name: Reboot CouchDB
script: ./templates/reboot.sh
script: ./templates/reboot.sh '{{ ansible_default_ipv4.address }}'
# echo "== Put in conts the Docker container IDs: =="
# declare -a conts=(`sudo docker ps --all | grep couchdb | cut -f1 -d' ' | xargs -n1 -d'\n'`)
export node="$1"
echo "== Stop the containers: =="
sudo docker stop couchdb${node}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment