mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-22 15:40:22 +00:00
Update application.yml
This commit is contained in:
parent
64864edccf
commit
fffb8028a7
1 changed files with 8 additions and 6 deletions
|
@ -9,9 +9,7 @@
|
|||
- roles/{{appname}}/defaults/main.yml
|
||||
|
||||
pre_tasks:
|
||||
- name: Install {{appname}}
|
||||
include_tasks: tasks/install.yml
|
||||
- name: Excute base roles for apps(step1)
|
||||
- name: Excute base roles for apps
|
||||
block:
|
||||
- name: Include base roles
|
||||
include_role:
|
||||
|
@ -20,7 +18,7 @@
|
|||
- role_common
|
||||
- role_cloud
|
||||
|
||||
- name: Git Clone app docker repository(step2)
|
||||
- name: Git Clone app docker repository
|
||||
block:
|
||||
- name: Create app directory
|
||||
shell: mkdir -p {{installpath}}
|
||||
|
@ -31,7 +29,7 @@
|
|||
repo: "https://github.com/Websoft9/docker-{{appname}}.git"
|
||||
dest: "{{installpath}}/{{appname}}"
|
||||
|
||||
- name: Excute Preparation if have pre.yml(step3)
|
||||
- name: Excute Preparation if have pre.yml
|
||||
block:
|
||||
- name: Check if pre.yml exists
|
||||
uri:
|
||||
|
@ -46,7 +44,11 @@
|
|||
|
||||
- name: Install {{appname}}
|
||||
include_tasks: tasks/install.yml
|
||||
|
||||
|
||||
handlers:
|
||||
- name: check_container_service
|
||||
debug:
|
||||
var: check_container_service.stdout
|
||||
roles:
|
||||
- { role: role_nginx, tags: "role_nginx" }
|
||||
- { role: "{{appname}}", tags: "{{appname}}" }
|
||||
|
|
Loading…
Reference in a new issue