fix: 'include' for playbook includes. You should use 'import_playbook' instead.

This commit is contained in:
Bo-Yi Wu 2019-06-20 01:29:46 +08:00
parent b83bcfa1a3
commit 90488fb7c8

View File

@ -1,8 +1,8 @@
--- ---
- include: setup.yml - import_playbook: setup.yml
- include: drone-database.yml - import_playbook: drone-database.yml
when: drone_server_enable == "true" and drone_database_driver != "sqlite" when: drone_server_enable == "true" and drone_database_driver != "sqlite"
- include: drone-server.yml - import_playbook: drone-server.yml
when: drone_server_enable == "true" when: drone_server_enable == "true"
- include: drone-agent.yml - import_playbook: drone-agent.yml
when: drone_agent_enable == "true" when: drone_agent_enable == "true"