mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-21 23:20:23 +00:00
Update main.yml
This commit is contained in:
parent
86647d6a57
commit
f95810e849
1 changed files with 0 additions and 11 deletions
|
@ -1,14 +1,3 @@
|
|||
- name: Check {{appname}} exists
|
||||
stat:
|
||||
path: /data/apps/{{appname}}
|
||||
register: app_exists
|
||||
|
||||
- name: Clone {{appname}} in Websoft9 if pretask not do this
|
||||
git:
|
||||
repo: "https://github.com/Websoft9/docker-{{appname}}.git"
|
||||
dest: /data/apps/{{appname}}
|
||||
when: not app_exists.stat.exists
|
||||
|
||||
- name: Rename and Run docker-compose
|
||||
shell: |
|
||||
docker-compose up -d
|
||||
|
|
Loading…
Reference in a new issue