summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuya Kusakabe <yuya.kusakabe@gmail.com>2018-06-21 22:52:06 +0900
committerYuya Kusakabe <yuya.kusakabe@gmail.com>2018-06-21 22:52:06 +0900
commit82bf954d00bcf4c875996db86a4963cf2026c8ac (patch)
tree8cfb07d4a8dcbfe0426604dad926b23d5220b913
parente7e91bb0b34568cc3244950739cc207a43009ff3 (diff)
downloadvyos-vm-images-82bf954d00bcf4c875996db86a4963cf2026c8ac.tar.gz
vyos-vm-images-82bf954d00bcf4c875996db86a4963cf2026c8ac.zip
Use copy module instead of template module if not template
-rw-r--r--roles/hyperv/tasks/build_image.yml4
-rw-r--r--roles/qemu/tasks/build_image.yml4
-rw-r--r--roles/vagrant-libvirt/tasks/build_image.yml4
-rw-r--r--roles/vmware/tasks/build_image.yml4
4 files changed, 8 insertions, 8 deletions
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
diff --git a/roles/qemu/tasks/build_image.yml b/roles/qemu/tasks/build_image.yml
index 7cfdadc..135d8de 100644
--- a/roles/qemu/tasks/build_image.yml
+++ b/roles/qemu/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
diff --git a/roles/vagrant-libvirt/tasks/build_image.yml b/roles/vagrant-libvirt/tasks/build_image.yml
index 7cfdadc..135d8de 100644
--- a/roles/vagrant-libvirt/tasks/build_image.yml
+++ b/roles/vagrant-libvirt/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
diff --git a/roles/vmware/tasks/build_image.yml b/roles/vmware/tasks/build_image.yml
index 7cfdadc..135d8de 100644
--- a/roles/vmware/tasks/build_image.yml
+++ b/roles/vmware/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