diff --git a/apps/application.yml b/apps/application.yml index c95319a7..c44ee075 100644 --- a/apps/application.yml +++ b/apps/application.yml @@ -5,18 +5,10 @@ vars_files: - vars/main.yml - - pre_tasks: - - name: Excute base roles for apps - block: - - name: Include base roles - include_role: - name: "{{item}}" - with_items: - - role_common - - role_cloud roles: + - { role: role_common, tags: "role_common" } + - { role: role_cloud, tags: "role_cloud" } - { role: role_nginx, tags: "role_nginx" } - { role: "{{appname}}", tags: "{{appname}}" } - { role: role_init, tags: "role_init" }