Update application.yml
This commit is contained in:
parent
ae20dd0630
commit
01d2b356c7
1 changed files with 7 additions and 3 deletions
|
@ -16,21 +16,25 @@
|
|||
cat main.yml | sed -n '/dependencies/,/galaxy_info/{//!p}'|grep -|awk -F'- ' '{print $2}' >>/tmp/applist
|
||||
cat /tmp/applist
|
||||
register: applist
|
||||
|
||||
|
||||
- name: Check if nginx is necessary
|
||||
shell : |
|
||||
wget -N https://raw.githubusercontent.com/Websoft9/docker-{{appname}}/main/.env
|
||||
cat .env
|
||||
register: env_content
|
||||
failed_when: False
|
||||
|
||||
|
||||
- debug:
|
||||
msg: "{{env_content}}"
|
||||
|
||||
- name: App without docker register
|
||||
shell : |
|
||||
wget -N https://raw.githubusercontent.com/Websoft9/StackHub/main/apps/roles/{{appname}}/templates/.env
|
||||
cat .env
|
||||
register: env_content
|
||||
when: env_content.stdout == ""
|
||||
|
||||
- debug:
|
||||
msg: "{{env_content}}"
|
||||
roles:
|
||||
- { role: role_common, tags: "role_common" }
|
||||
- { role: role_cloud, tags: "role_cloud" }
|
||||
|
|
Loading…
Add table
Reference in a new issue