From 6f1bd95dd8d2ef1ddf000cb11c6c759f65414f95 Mon Sep 17 00:00:00 2001 From: zhulingjie Date: Thu, 11 Oct 2018 14:32:13 -0400 Subject: [PATCH] use include_tasks instead of include Change-Id: I8358c8a1e8975736a4f7b7e8c30fa9639e7b3c19 --- tasks/install.yaml | 2 +- tasks/main.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/install.yaml b/tasks/install.yaml index 97302ac..c8a5a5c 100644 --- a/tasks/install.yaml +++ b/tasks/install.yaml @@ -12,4 +12,4 @@ # License for the specific language governing permissions and limitations # under the License. --- -- include: "install/{{ logrotate_install_method }}.yaml" +- include_tasks: "install/{{ logrotate_install_method }}.yaml" diff --git a/tasks/main.yaml b/tasks/main.yaml index d9365e8..24e60b6 100644 --- a/tasks/main.yaml +++ b/tasks/main.yaml @@ -12,7 +12,7 @@ # License for the specific language governing permissions and limitations # under the License. --- -- include: "{{ logrotate_task }}.yaml" +- include_tasks: "{{ logrotate_task }}.yaml" with_items: "{{ logrotate_task_manager }}" loop_control: loop_var: logrotate_task