Skip to content

Commit eb37115

Browse files
authored
use single quotes for the alias
1 parent ae86b8e commit eb37115

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/tutorials/programmability/ansible/using-nokia-srlinux-collection.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -147,12 +147,12 @@ Throughout this tutorial we will be using `ghcr.io/nokia/srlinux-ansible-collect
147147
To save some finger energy we will create a handy alias `ansible-playbook` that runs our container image with the `ansible-inventory.yml` file being already loaded:
148148

149149
```bash title="ansible-in-a-container alias"
150-
alias ansible-playbook="docker run --rm -it \
150+
alias ansible-playbook='docker run --rm -it \
151151
-v $(pwd):/ansible \(1)
152152
-v ~/.ssh:/root/.ssh \(2)
153153
-v /etc/hosts:/etc/hosts \(3)
154154
ghcr.io/nokia/srlinux-ansible-collection/2.15.5/py3.11:v0.4.0 \
155-
ansible-playbook -i clab-2srl/ansible-inventory.yml $@"
155+
ansible-playbook -i clab-2srl/ansible-inventory.yml $@'
156156
```
157157

158158
1. `/ansible` is a working dir for our container image, so we mount the repo's directory to this path.

0 commit comments

Comments
 (0)