aboutsummaryrefslogtreecommitdiffstats
path: root/roles/vmm/tasks/download_iso.yml
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2020-12-02 18:36:25 +0100
committerbinary <me@rgoncalves.se>2020-12-02 18:36:25 +0100
commitc4edd14b8aaf65d1db86074b0109b89ae609d4b3 (patch)
tree94e123449ce228ce1bff2dcb701f72956b1ad72c /roles/vmm/tasks/download_iso.yml
parent8478e90356b6738a13eed3878000d0e112074960 (diff)
downloadinfrastructure-c4edd14b8aaf65d1db86074b0109b89ae609d4b3.tar.gz
Refactor based on bhyve setup
Diffstat (limited to 'roles/vmm/tasks/download_iso.yml')
-rw-r--r--roles/vmm/tasks/download_iso.yml28
1 files changed, 0 insertions, 28 deletions
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
-
remember that computers suck.