Skip to content

Commit 4f58bed

Browse files
committed
add command to keep the ansible container running
1 parent e5b3661 commit 4f58bed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docker-compose.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ services:
99
dockerfile: ansible/Dockerfile
1010
volumes:
1111
- ./config/ansible.cfg:/etc/ansible/ansible.cfg
12-
- ./config/hosts:/etc/ansible/hosts
12+
- ./config/hosts:/etc/ansible/hosts
13+
command: sh -c 'trap "exit" TERM; while true; do sleep 1; done'

0 commit comments

Comments
 (0)