diff options
author | binary <me@rgoncalves.se> | 2021-01-19 22:44:27 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2021-01-19 22:44:27 +0100 |
commit | 74d9ce61bb0b2d65043c08cd8c4711d1474219bf (patch) | |
tree | 13174cfc152e770fe893bad8813ba66e9394693b /roles/bhyve/tasks | |
parent | d1733463cc8dfd0d2f3e3b8d7e4dfbe0003b6747 (diff) | |
download | infrastructure-74d9ce61bb0b2d65043c08cd8c4711d1474219bf.tar.gz |
Add iso download and simplify url variables
Diffstat (limited to 'roles/bhyve/tasks')
-rw-r--r-- | roles/bhyve/tasks/main.yml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/roles/bhyve/tasks/main.yml b/roles/bhyve/tasks/main.yml index 039ba10..1b7470f 100644 --- a/roles/bhyve/tasks/main.yml +++ b/roles/bhyve/tasks/main.yml @@ -62,6 +62,12 @@ include: guest.yml guest="{{ item }}" loop: "{{ vms }}" +- name: retrieve all iso + get_url: + url: "{{ item }}" + dest: "{{ bhyve_dir }}/.iso" + loop: "{{ bhyve_iso }}" + - name: retrieve all deprecated vms find: path: "{{ bhyve_dir }}" @@ -77,5 +83,3 @@ - "{{ vms }}" - "{{ deprecated_vms.files }}" -- name: ensure all vms are started - shell: vm startall |