mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-24 18:30:23 +08:00
Update application.yml
This commit is contained in:
parent
64864edccf
commit
fffb8028a7
@ -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:
|
||||
@ -47,6 +45,10 @@
|
||||
- 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 New Issue
Block a user