exclude some docker-dirs

This commit is contained in:
olli 2022-11-29 11:23:13 +01:00
parent d7ee3ce496
commit 4736d34931

View File

@ -186,7 +186,7 @@
# Check every Traefik Host
if [ -f /usr/local/bin/ssllabs-scan ]
then
find /home/docker -maxdepth 1 -mindepth 1 -type d | while read dir
find /home/docker -maxdepth 1 -mindepth 1 -type d | egrep -v ".del$|.bak$|.old$|var-lib-docker$" | while read dir
do
if grep -q Host "$dir"/docker-compose.override.yml >/dev/null 2>&1
then
@ -230,7 +230,7 @@
create: yes
marker: "# {mark} ANSIBLE MANAGED BLOCK"
block: |
find /home/docker -maxdepth 1 -mindepth 1 -type d | while read dir
find /home/docker -maxdepth 1 -mindepth 1 -type d | egrep -v ".del$|.bak$|.old$|var-lib-docker$" | while read dir
do
if grep -q Host "$dir"/docker-compose.override.yml >/dev/null 2>&1
then