From 82bf954d00bcf4c875996db86a4963cf2026c8ac Mon Sep 17 00:00:00 2001 From: Yuya Kusakabe Date: Thu, 21 Jun 2018 22:52:06 +0900 Subject: Use copy module instead of template module if not template --- roles/hyperv/tasks/build_image.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'roles/hyperv') diff --git a/roles/hyperv/tasks/build_image.yml b/roles/hyperv/tasks/build_image.yml index 7cfdadc..135d8de 100644 --- a/roles/hyperv/tasks/build_image.yml +++ b/roles/hyperv/tasks/build_image.yml @@ -80,7 +80,7 @@ state: touch - name: Copy the default config for QEMU to the installed image - template: + copy: src: files/config.boot dest: "{{ INSTALL_ROOT }}/opt/vyatta/etc/config/config.boot" mode: 0755 @@ -116,7 +116,7 @@ mode: 0644 - name: Create the persistence config - template: + copy: src: files/persistence.conf dest: "{{ WRITE_ROOT }}/persistence.conf" mode: 0644 -- cgit v1.2.3