Skip to content

Commit

Permalink
Remove ansible-playbook command from Docker script commands (resolves #…
Browse files Browse the repository at this point in the history
…244) (#245)

Signed-off-by: Simon Stone <[email protected]>
  • Loading branch information
Simon Stone authored May 20, 2020
1 parent 38e07ac commit 68be7ae
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions docs/source/tutorials/building.rst
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,13 @@ If you have installed the collection by building a Docker image, then run the sc

::

docker run --rm -v "$PWD:/tutorials" mydockerorg/ansible ansible-playbook /tutorials/build_network.sh build
docker run --rm -v "$PWD:/tutorials" mydockerorg/ansible /tutorials/build_network.sh build

* Each organization has their own IBM Blockchain Platform instance:

::

docker run --rm -v "$PWD:/tutorials" mydockerorg/ansible ansible-playbook /tutorials/build_network.sh -i build
docker run --rm -v "$PWD:/tutorials" mydockerorg/ansible /tutorials/build_network.sh -i build

After the script has finished, you should examine the output of the script to check that no errors have occurred whilst running the Ansible playbooks. After each Ansible playbook runs, Ansible outputs a ``PLAY RECAP`` section that details how many tasks have been executed, and how many of those tasks have failed.

Expand Down Expand Up @@ -346,13 +346,13 @@ If you have installed the collection by building a Docker image, then run the sc

::

docker run --rm -v "$PWD:/tutorials" mydockerorg/ansible ansible-playbook /tutorials/build_network.sh destroy
docker run --rm -v "$PWD:/tutorials" mydockerorg/ansible /tutorials/build_network.sh destroy

* Each organization has their own IBM Blockchain Platform instance:

::

docker run --rm -v "$PWD:/tutorials" mydockerorg/ansible ansible-playbook /tutorials/build_network.sh -i destroy
docker run --rm -v "$PWD:/tutorials" mydockerorg/ansible /tutorials/build_network.sh -i destroy

After the script has finished, you should examine the output of the script to check that no errors have occurred whilst running the Ansible playbooks. After each Ansible playbook runs, Ansible outputs a ``PLAY RECAP`` section that details how many tasks have been executed, and how many of those tasks have failed.

Expand Down
2 changes: 1 addition & 1 deletion docs/source/tutorials/deploying.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ If you have installed the collection by building a Docker image, then run the sc

::

docker run --rm -v "$PWD:/tutorials" mydockerorg/ansible ansible-playbook /tutorials/deploy_smart_contract.sh
docker run --rm -v "$PWD:/tutorials" mydockerorg/ansible /tutorials/deploy_smart_contract.sh

Exploring the playbooks
-----------------------
Expand Down
8 changes: 4 additions & 4 deletions docs/source/tutorials/joining.rst
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,13 @@ If you have installed the collection by building a Docker image, then run the sc

::

docker run --rm -v "$PWD:/tutorials" mydockerorg/ansible ansible-playbook /tutorials/join_network.sh join
docker run --rm -v "$PWD:/tutorials" mydockerorg/ansible /tutorials/join_network.sh join

* Each organization has their own IBM Blockchain Platform instance:

::

docker run --rm -v "$PWD:/tutorials" mydockerorg/ansible ansible-playbook /tutorials/join_network.sh -i join
docker run --rm -v "$PWD:/tutorials" mydockerorg/ansible /tutorials/join_network.sh -i join

After the script has finished, you should examine the output of the script to check that no errors have occurred whilst running the Ansible playbooks. After each Ansible playbook runs, Ansible outputs a ``PLAY RECAP`` section that details how many tasks have been executed, and how many of those tasks have failed.

Expand Down Expand Up @@ -265,13 +265,13 @@ If you have installed the collection by building a Docker image, then run the sc

::

docker run --rm -v "$PWD:/tutorials" mydockerorg/ansible ansible-playbook /tutorials/join_network.sh destroy
docker run --rm -v "$PWD:/tutorials" mydockerorg/ansible /tutorials/join_network.sh destroy

* All organizations have their own IBM Blockchain Platform instance:

::

docker run --rm -v "$PWD:/tutorials" mydockerorg/ansible ansible-playbook /tutorials/join_network.sh -i destroy
docker run --rm -v "$PWD:/tutorials" mydockerorg/ansible /tutorials/join_network.sh -i destroy

After the script has finished, you should examine the output of the script to check that no errors have occurred whilst running the Ansible playbooks. After each Ansible playbook runs, Ansible outputs a ``PLAY RECAP`` section that details how many tasks have been executed, and how many of those tasks have failed.

Expand Down

0 comments on commit 68be7ae

Please sign in to comment.