Extract docker cleanup stuff into its own role
This commit is contained in:
7
ansible/roles/docker-cleanup/files/docker-utils/pull-all.sh
Executable file
7
ansible/roles/docker-cleanup/files/docker-utils/pull-all.sh
Executable file
@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
for compose_file in /opt/**/docker-compose.yml; do
|
||||
docker-compose -f $compose_file pull --parallel
|
||||
done
|
Reference in New Issue
Block a user