| @@ -71,7 +71,7 @@ docker run \ | |||||
| -w /work \ | -w /work \ | ||||
| --mount type=bind,src=`pwd`,dst=/work \ | --mount type=bind,src=`pwd`,dst=/work \ | ||||
| --entrypoint=/bin/sh \ | --entrypoint=/bin/sh \ | ||||
| ghcr.io/devture/ansible:11.1.0-r0-0 | |||||
| ghcr.io/devture/ansible:11.6.0-r0-0 | |||||
| ``` | ``` | ||||
| Once you execute the above command, you'll be dropped into a `/work` directory inside a Docker container. The `/work` directory contains the playbook's code. | Once you execute the above command, you'll be dropped into a `/work` directory inside a Docker container. The `/work` directory contains the playbook's code. | ||||
| @@ -92,7 +92,7 @@ docker run \ | |||||
| --mount type=bind,src=`pwd`,dst=/work \ | --mount type=bind,src=`pwd`,dst=/work \ | ||||
| --mount type=bind,src$HOME/.ssh/id_ed25519,dst=/root/.ssh/id_ed25519,ro \ | --mount type=bind,src$HOME/.ssh/id_ed25519,dst=/root/.ssh/id_ed25519,ro \ | ||||
| --entrypoint=/bin/sh \ | --entrypoint=/bin/sh \ | ||||
| ghcr.io/devture/ansible:11.1.0-r0-0 | |||||
| ghcr.io/devture/ansible:11.6.0-r0-0 | |||||
| ``` | ``` | ||||
| The above command tries to mount an SSH key (`$HOME/.ssh/id_ed25519`) into the container (at `/root/.ssh/id_ed25519`). If your SSH key is at a different path (not in `$HOME/.ssh/id_ed25519`), adjust that part. | The above command tries to mount an SSH key (`$HOME/.ssh/id_ed25519`) into the container (at `/root/.ssh/id_ed25519`). If your SSH key is at a different path (not in `$HOME/.ssh/id_ed25519`), adjust that part. | ||||