summaryrefslogtreecommitdiff
path: root/roles/vmware/tasks/install_packages.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/vmware/tasks/install_packages.yml')
-rw-r--r--roles/vmware/tasks/install_packages.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/roles/vmware/tasks/install_packages.yml b/roles/vmware/tasks/install_packages.yml
new file mode 100644
index 0000000..23e5f6f
--- /dev/null
+++ b/roles/vmware/tasks/install_packages.yml
@@ -0,0 +1,22 @@
+- name: Install required packages
+ become: yes
+ apt:
+ update_cache: yes
+ name:
+ - parted
+ - e2fsprogs
+ - gnupg
+ - qemu-utils
+ state: present
+- name: Download open-vmdk
+ get_url:
+ url: https://github.com/vmware/open-vmdk/archive/master.zip
+ dest: /tmp/master.zip
+- name: Extract master.zip into /var/lib/foo
+ unarchive:
+ src: /tmp/master.zip
+ dest: /tmp
+- name: Install open-vmdk
+ make:
+ chdir: /tmp/open-vmdk-master
+ target: install