summaryrefslogtreecommitdiff
path: root/roles/installer/ubuntu/fetch
diff options
context:
space:
mode:
Diffstat (limited to 'roles/installer/ubuntu/fetch')
-rw-r--r--roles/installer/ubuntu/fetch/tasks/main.yml4
-rw-r--r--roles/installer/ubuntu/fetch/vars/main.yml2
2 files changed, 4 insertions, 2 deletions
diff --git a/roles/installer/ubuntu/fetch/tasks/main.yml b/roles/installer/ubuntu/fetch/tasks/main.yml
index a4f7f720..ff87fb64 100644
--- a/roles/installer/ubuntu/fetch/tasks/main.yml
+++ b/roles/installer/ubuntu/fetch/tasks/main.yml
@@ -2,6 +2,10 @@
- when: ubuntu_installer_version is undefined
include_tasks: determine-latest-version.yml
+- name: compute target directory
+ set_fact:
+ ubuntu_installer_target_dir: "{{ installer_base_path }}/{{ ubuntu_installer_codename }}/{{ ubuntu_installer_version }}-{{ ubuntu_installer_variant }}"
+
- name: prepare directories for installer files
file:
name: "{{ ubuntu_installer_target_dir }}"
diff --git a/roles/installer/ubuntu/fetch/vars/main.yml b/roles/installer/ubuntu/fetch/vars/main.yml
deleted file mode 100644
index 29ca94a6..00000000
--- a/roles/installer/ubuntu/fetch/vars/main.yml
+++ /dev/null
@@ -1,2 +0,0 @@
----
-ubuntu_installer_target_dir: "{{ installer_base_path }}/{{ ubuntu_installer_codename }}/{{ ubuntu_installer_version }}-{{ ubuntu_installer_variant }}"