From d3dacf8b6008644c1ecc9f2ed762a13a8a80d04c Mon Sep 17 00:00:00 2001 From: Tung Leo Date: Sat, 16 Mar 2024 17:09:25 +0700 Subject: [PATCH] doc: ansible user guide.v1 --- README.md | 1 + docs/usage/ansible_usage.md | 6 +++--- docs/usage/python_usage.md | 6 +++--- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index cf4c048..feb60c6 100644 --- a/README.md +++ b/README.md @@ -119,6 +119,7 @@ docker run --network host --rm devops-toolkit:latest samples/run_sample.sh ## User guide - [DevOps toolkit user guide](./docs/usage/) +- [Troubleshooting](./docs/troubleshooting/) ## The DevOps Toolkit Core diff --git a/docs/usage/ansible_usage.md b/docs/usage/ansible_usage.md index aa9ec6d..d5e1a64 100644 --- a/docs/usage/ansible_usage.md +++ b/docs/usage/ansible_usage.md @@ -21,8 +21,8 @@ docker run --rm --network host -it devops-toolkit:latest # You now in the container terminal # Clone code -mkdir python_workspace -cd python_workspace +mkdir ansible_workspace +cd ansible_workspace git clone https://github.com/geekcomputers/Python.git # Now run your cloned script @@ -36,7 +36,7 @@ Clone the code to the host then mount to container ```bash # Clone code on the host -docker run --rm -v "$(pwd)":/root/python_workspace --network host -it devops-toolkit:latest +docker run --rm -v "$(pwd)":/root/ansible_workspace --network host -it devops-toolkit:latest # Run the python code as usual ``` diff --git a/docs/usage/python_usage.md b/docs/usage/python_usage.md index d49499a..6e9f598 100644 --- a/docs/usage/python_usage.md +++ b/docs/usage/python_usage.md @@ -22,8 +22,8 @@ docker run --rm --network host -it devops-toolkit:latest # You now in the container terminal # Clone code -mkdir ansible_workspace -cd ansible_workspace +mkdir python_workspace +cd python_workspace git clone https://github.com/ansible/ansible-examples.git # Now run your cloned script @@ -36,7 +36,7 @@ ansible-playbook Clone the code to the host then mount to container ```bash -docker run --rm -v "$(pwd)":/root/ansible-examples --network host -it devops-toolkit:latest +docker run --rm -v "$(pwd)":/root/python_workspace --network host -it devops-toolkit:latest # Run the python code as usual ```