blob: 24da26d297df80220963d76eacf77fbf56d2c43d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
---
# file: tasks/ubuntu_jammy.yaml
- name: Enable deb-src APT Repository
ansible.builtin.apt_repository:
repo: "deb-src http://archive.ubuntu.com/ubuntu jammy main"
state: "present"
update_cache: true
tags:
- aws-enable-src-repo
- name: Enable deb APT Repository Focal
ansible.builtin.apt_repository:
repo: "deb http://archive.ubuntu.com/ubuntu focal main"
state: "present"
update_cache: true
tags:
- aws-enable-src-repo
- name: Enable deb-src APT Repository Focal Src
ansible.builtin.apt_repository:
repo: "deb-src http://archive.ubuntu.com/ubuntu focal main"
state: "present"
update_cache: true
tags:
- aws-enable-src-repo
- name: Update Package Cache (APT)
ansible.builtin.apt:
update_cache: true
cache_valid_time: 3600
when:
- ansible_distribution == 'Ubuntu'
tags:
- aws-enable-src-repo
|