blob: f99da4fdb05ed1bdd673472d2b7f565aad0e9929 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
---
# file: tasks/ubuntu_noble.yaml
- name: "Enable deb-src APT Repository"
ansible.builtin.apt_repository:
repo: "deb-src {{ packages_repo[ansible_distribution|lower][ansible_machine] }} noble 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
|