From 370c61022e0cfdc904f47480a85c6f4e669ef531 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Sat, 29 Jun 2019 19:29:20 +0800 Subject: [PATCH] feat(ansible): import --- tasks/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index a4e48af..2dde5aa 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,8 +1,8 @@ --- - - import_playbook: setup.yml - - import_playbook: drone-database.yml + - include: setup.yml + - include: drone-database.yml when: drone_server_enable == "true" and drone_database_driver != "sqlite" - - import_playbook: drone-server.yml + - include: drone-server.yml when: drone_server_enable == "true" - - import_playbook: drone-agent.yml + - include: drone-agent.yml when: drone_agent_enable == "true"