X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=fdio.infra.ansible%2Froles%2Faws%2Ftasks%2Fubuntu_jammy.yaml;fp=fdio.infra.ansible%2Froles%2Faws%2Ftasks%2Fubuntu_jammy.yaml;h=c589239f6151809bde8bc2900cd36d6fb6deac0d;hb=f04617b817436dd45eca973c24455fb9c147b3f2;hp=24da26d297df80220963d76eacf77fbf56d2c43d;hpb=6cfd831b241b9711c8573364c9e59d0e9ec2cdad;p=csit.git diff --git a/fdio.infra.ansible/roles/aws/tasks/ubuntu_jammy.yaml b/fdio.infra.ansible/roles/aws/tasks/ubuntu_jammy.yaml index 24da26d297..c589239f61 100644 --- a/fdio.infra.ansible/roles/aws/tasks/ubuntu_jammy.yaml +++ b/fdio.infra.ansible/roles/aws/tasks/ubuntu_jammy.yaml @@ -3,7 +3,7 @@ - name: Enable deb-src APT Repository ansible.builtin.apt_repository: - repo: "deb-src http://archive.ubuntu.com/ubuntu jammy main" + repo: "deb-src {{ packages_repo[ansible_distribution|lower][ansible_machine] }} jammy main" state: "present" update_cache: true tags: @@ -11,7 +11,7 @@ - name: Enable deb APT Repository Focal ansible.builtin.apt_repository: - repo: "deb http://archive.ubuntu.com/ubuntu focal main" + repo: "deb {{ packages_repo[ansible_distribution|lower][ansible_machine] }} focal main" state: "present" update_cache: true tags: @@ -19,7 +19,7 @@ - name: Enable deb-src APT Repository Focal Src ansible.builtin.apt_repository: - repo: "deb-src http://archive.ubuntu.com/ubuntu focal main" + repo: "deb-src {{ packages_repo[ansible_distribution|lower][ansible_machine] }} focal main" state: "present" update_cache: true tags: