mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-24 10:17:15 +08:00
Update install.yml
This commit is contained in:
parent
dfcbadab30
commit
6f09442b3a
@ -55,14 +55,3 @@
|
|||||||
state: link
|
state: link
|
||||||
force: yes
|
force: yes
|
||||||
loop: "{{volume_names.stdout_lines}}"
|
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}}"
|
|
||||||
|
Loading…
Reference in New Issue
Block a user