--- - 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 }}"