summaryrefslogtreecommitdiff
path: root/roles/qemu-raw
diff options
context:
space:
mode:
authorcreate with ansible <qxmips@debian10-vyos-build.local>2020-10-08 01:35:44 -0400
committercreate with ansible <qxmips@debian10-vyos-build.local>2020-10-08 01:35:44 -0400
commitcdbd9df937e524c1d89ef74c15a013e79359b9fc (patch)
treed3794fe7742a926daa665b509e47b2b0b97063f9 /roles/qemu-raw
parente025218641378434864f73cf0b7354ce5b97c6a9 (diff)
downloadvyos-vm-images-cdbd9df937e524c1d89ef74c15a013e79359b9fc.tar.gz
vyos-vm-images-cdbd9df937e524c1d89ef74c15a013e79359b9fc.zip
minor fixes
Diffstat (limited to 'roles/qemu-raw')
-rw-r--r--roles/qemu-raw/tasks/main.yml2
-rw-r--r--roles/qemu-raw/tests/inventory2
-rw-r--r--roles/qemu-raw/tests/test.yml5
3 files changed, 9 insertions, 0 deletions
diff --git a/roles/qemu-raw/tasks/main.yml b/roles/qemu-raw/tasks/main.yml
new file mode 100644
index 0000000..aebcb3e
--- /dev/null
+++ b/roles/qemu-raw/tasks/main.yml
@@ -0,0 +1,2 @@
+- name: set raw image to the correct name
+ command: mv "{{ vyos_raw_img }}" "{{ vyos_qemu_raw_img }}"
diff --git a/roles/qemu-raw/tests/inventory b/roles/qemu-raw/tests/inventory
new file mode 100644
index 0000000..878877b
--- /dev/null
+++ b/roles/qemu-raw/tests/inventory
@@ -0,0 +1,2 @@
+localhost
+
diff --git a/roles/qemu-raw/tests/test.yml b/roles/qemu-raw/tests/test.yml
new file mode 100644
index 0000000..3a654b5
--- /dev/null
+++ b/roles/qemu-raw/tests/test.yml
@@ -0,0 +1,5 @@
+---
+- hosts: localhost
+ remote_user: root
+ roles:
+ - qemu-raw