mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-12-12 09:20:39 +00:00
Update application.yml
This commit is contained in:
parent
39256806f7
commit
7c69cc3730
1 changed files with 13 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
|||
- vars/main.yml
|
||||
|
||||
pre_tasks:
|
||||
- name: Excute base roles for apps
|
||||
- name: Excute base roles for apps(step:1)
|
||||
block:
|
||||
- name: Include base roles
|
||||
include_role:
|
||||
|
@ -16,7 +16,18 @@
|
|||
- role_common
|
||||
- role_cloud
|
||||
|
||||
- name: Excute Preparation if have pre.yml
|
||||
- name: Git Clone app docker repository(step:2)
|
||||
block:
|
||||
- name: Create app directory
|
||||
shell: mkdir -p {{installpath}}
|
||||
- name: Delete {{appname}} dir for sec_installation
|
||||
shell: rm -rf {{installpath}}/{{appname}}
|
||||
- name: Clone {{appname}} in Websoft9
|
||||
git:
|
||||
repo: "https://github.com/Websoft9/docker-{{appname}}.git"
|
||||
dest: "{{installpath}}/{{appname}}
|
||||
|
||||
- name: Excute Preparation if have pre.yml(step:3)
|
||||
block:
|
||||
- name: Check if pre.yml exists
|
||||
uri:
|
||||
|
|
Loading…
Reference in a new issue