diff options
| author | Yuya Kusakabe <yuya.kusakabe@gmail.com> | 2018-06-21 22:52:06 +0900 |
|---|---|---|
| committer | Yuya Kusakabe <yuya.kusakabe@gmail.com> | 2018-06-21 22:52:06 +0900 |
| commit | 82bf954d00bcf4c875996db86a4963cf2026c8ac (patch) | |
| tree | 8cfb07d4a8dcbfe0426604dad926b23d5220b913 | |
| parent | e7e91bb0b34568cc3244950739cc207a43009ff3 (diff) | |
| download | vyos-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.yml | 4 | ||||
| -rw-r--r-- | roles/qemu/tasks/build_image.yml | 4 | ||||
| -rw-r--r-- | roles/vagrant-libvirt/tasks/build_image.yml | 4 | ||||
| -rw-r--r-- | roles/vmware/tasks/build_image.yml | 4 |
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 |
