Update application.yml

This commit is contained in:
qiaofeng1227 2022-09-07 10:36:25 +08:00 committed by GitHub
parent 3138c3490a
commit b9c75fff39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,19 +23,14 @@
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" }