mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-24 10:17:15 +08:00
Update application.yml
This commit is contained in:
parent
c9d5b58c97
commit
4253f29777
@ -11,10 +11,10 @@
|
|||||||
block:
|
block:
|
||||||
- name: Get appname and dependencies, combine to a applist
|
- name: Get appname and dependencies, combine to a applist
|
||||||
shell : |
|
shell : |
|
||||||
echo "{{appname}}" > /tmp/applist
|
echo "{{appname}}" > applist
|
||||||
wget -N https://raw.githubusercontent.com/Websoft9/StackHub/main/apps/roles/{{appname}}/meta/main.yml
|
wget -N https://raw.githubusercontent.com/Websoft9/StackHub/main/apps/roles/{{appname}}/meta/main.yml
|
||||||
cat main.yml | sed -n '/dependencies/,/galaxy_info/{//!p}'|grep -|awk -F'- ' '{print $2}' >>/tmp/applist
|
cat main.yml | sed -n '/dependencies/,/galaxy_info/{//!p}'|grep -|awk -F'- ' '{print $2}' >> applist
|
||||||
cat /tmp/applist
|
cat applist
|
||||||
register: applist
|
register: applist
|
||||||
delegate_to: 127.0.0.1
|
delegate_to: 127.0.0.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user