summaryrefslogtreecommitdiff
path: root/roles/installer/ubuntu/fetch/tasks/fetch-latest.yml
blob: 9baa6d979dfecadb150addbf7eb3bd168d60cc5a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
---
- name: downloading SHA256SUMS and signature file for latest release
  loop:
  - SHA256SUMS
  - SHA256SUMS.gpg
  get_url:
    url: "https://releases.ubuntu.com/{{ ubuntu_installer_codename }}/{{ item }}"
    dest: "{{ ubuntu_installer_target_dir }}/{{ item }}"
    force: "{{ ubuntu_installer_force_download }}"

- name: set download url to releases.ubuntu.com
  set_fact:
    ubuntu_installer_base_url: "https://releases.ubuntu.com/{{ ubuntu_installer_codename }}"