From c4edd14b8aaf65d1db86074b0109b89ae609d4b3 Mon Sep 17 00:00:00 2001 From: binary Date: Wed, 2 Dec 2020 18:36:25 +0100 Subject: Refactor based on bhyve setup --- roles/vmm/tasks/download_iso.yml | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 roles/vmm/tasks/download_iso.yml (limited to 'roles/vmm/tasks/download_iso.yml') diff --git a/roles/vmm/tasks/download_iso.yml b/roles/vmm/tasks/download_iso.yml deleted file mode 100644 index 6f0c5f6..0000000 --- a/roles/vmm/tasks/download_iso.yml +++ /dev/null @@ -1,28 +0,0 @@ - -# vmm ~~ tasks/download_iso.yml -# Download an iso file to hypervisor. -# Required : -# - iso : name of an iso file defined in vars/main.yml - ---- - -- name: Check arguments - fail: - msg: "arguments : iso" - when: iso is not defined - -- include: set_facts.yml - -- name: Get latest iso - get_url: - url: "{{ iso_url }}" - dest: "{{ iso_file }}" - force: "{{ force | default('no') }}" - checksum: "sha256:{{ iso_checksum }}" - -- name: Symlink latest iso - file: - src: "{{ iso_file }}" - dest: "{{ iso_latest }}" - state: link - -- cgit v1.2.3