summaryrefslogtreecommitdiff
path: root/roles/hyperv/tasks/release.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/hyperv/tasks/release.yml')
-rw-r--r--roles/hyperv/tasks/release.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/hyperv/tasks/release.yml b/roles/hyperv/tasks/release.yml
new file mode 100644
index 0000000..4ad34c6
--- /dev/null
+++ b/roles/hyperv/tasks/release.yml
@@ -0,0 +1,6 @@
+- name: Release image
+ become: false
+ copy:
+ src: "{{ vyos_hyperv_img }}"
+ dest: "{{ vyos_images_dir }}/vyos-{{ version_string.stdout }}-hyperv.vhd"
+ when: vyos_images_dir is defined