spurin / diveintoansible

Content for DiveInto.com's 'Dive Into Ansible' Course
1.59k stars 484 forks source link

Documentation Update: Mention docker compose exec connectivity #39

Open sdavids opened 9 months ago

sdavids commented 9 months ago

Instead of using the Web Terminal one could use the following to connect to the Ansible control node:

$ docker compose exec -u ansible -w /home/ansible ubuntu-c /bin/bash

You might want to mention it in the video, README.md and/or on the Web Terminal tiles:

docker-exec

spurin commented 5 months ago

Thats a great command, really nice! I will look into a good home for this.