From 21dd6e7db7e95104294a903dbcab7be40cda0a8a Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Thu, 12 May 2022 14:09:58 +0800 Subject: [PATCH] change common to install --- apps/application.yml | 6 +++--- apps/roles/{common => install}/handlers/main.yml | 0 apps/roles/{common => install}/tasks/main.yml | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename apps/roles/{common => install}/handlers/main.yml (100%) rename apps/roles/{common => install}/tasks/main.yml (100%) diff --git a/apps/application.yml b/apps/application.yml index 813703c5..8016ee33 100644 --- a/apps/application.yml +++ b/apps/application.yml @@ -5,7 +5,7 @@ vars_files: - vars/main.yml - + pre_tasks: - name: Check interfaction exists stat: @@ -14,13 +14,13 @@ - include: roles/{{appname}}/tests/test.yml when: interfaction_exists.stat.exists - + roles: - { role: role_common, tags: "role_common" } - { role: role_cloud, tags: "role_cloud" } - { role: role_docker, tags: "role_docker" } - { role: role_nginx, tags: "role_nginx" } - - { role: common, tags: "common" } + - { role: install, tags: "install" } - { role: "{{appname}}", tags: "{{appname}}" } - { role: role_init, tags: "role_init" } - { role: role_preend, tags: "preend" } diff --git a/apps/roles/common/handlers/main.yml b/apps/roles/install/handlers/main.yml similarity index 100% rename from apps/roles/common/handlers/main.yml rename to apps/roles/install/handlers/main.yml diff --git a/apps/roles/common/tasks/main.yml b/apps/roles/install/tasks/main.yml similarity index 100% rename from apps/roles/common/tasks/main.yml rename to apps/roles/install/tasks/main.yml