From 6f09442b3a0e442d1f3ecebbe241efceb4c3b8c8 Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Fri, 15 Jul 2022 16:46:15 +0800 Subject: [PATCH] Update install.yml --- apps/tasks/install.yml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/apps/tasks/install.yml b/apps/tasks/install.yml index 5365f9df..0f3e8e8f 100644 --- a/apps/tasks/install.yml +++ b/apps/tasks/install.yml @@ -55,14 +55,3 @@ state: link force: yes loop: "{{volume_names.stdout_lines}}" - -- name: Get all of docker container informations - shell: | - wget -O /tmp/containers_version.sh https://raw.githubusercontent.com/Websoft9/StackHub/main/scripts/containers_version.sh - docker ps --format \{\{'json .'\}\}| jq -s map\(\{containername:'.Names',image:'.Image'\}\) - register: dockerlist - -- name: Recursively create directory for {{app}} - shell: bash /tmp/containers_version.sh {{item.containername}} {{item.image}} - loop: - - "{{dockerlist.stdout}}"