Update application.yml

This commit is contained in:
qiaofeng1227 2022-05-11 17:39:42 +08:00 committed by GitHub
parent 27959cac11
commit 678ebe901e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,16 @@
vars_files:
- vars/main.yml
pre_tasks:
- name: Check interfaction exists
stat:
path: roles/{{appname}}/tests/test.yml
register: interfaction_exists
- include: roles/{{appname}}/tests/test.yml
when: interfaction_exists.stat.exists
roles:
- { role: role_common, tags: "role_common" }
- { role: role_cloud, tags: "role_cloud" }