Revert "fix(jobspec): Delete ipsec nfv density tests"
[csit.git] / fdio.infra.ansible / roles / aws / tasks / ubuntu_jammy.yaml
1 ---
2 # file: tasks/ubuntu_jammy.yaml
3
4 - name: Enable deb-src APT Repository
5   ansible.builtin.apt_repository:
6     repo: "deb-src {{ packages_repo[ansible_distribution|lower][ansible_machine] }} jammy main"
7     state: "present"
8     update_cache: true
9   tags:
10     - aws-enable-src-repo
11
12 - name: Enable deb APT Repository Focal
13   ansible.builtin.apt_repository:
14     repo: "deb {{ packages_repo[ansible_distribution|lower][ansible_machine] }} focal main"
15     state: "present"
16     update_cache: true
17   tags:
18     - aws-enable-src-repo
19
20 - name: Enable deb-src APT Repository Focal Src
21   ansible.builtin.apt_repository:
22     repo: "deb-src {{ packages_repo[ansible_distribution|lower][ansible_machine] }} focal main"
23     state: "present"
24     update_cache: true
25   tags:
26     - aws-enable-src-repo
27
28 - name: Update Package Cache (APT)
29   ansible.builtin.apt:
30     update_cache: true
31     cache_valid_time: 3600
32   when:
33     - ansible_distribution == 'Ubuntu'
34   tags:
35     - aws-enable-src-repo