diff options
author | Peter Mikus <peter.mikus@protonmail.ch> | 2024-12-04 09:12:26 +0100 |
---|---|---|
committer | Peter Mikus <peter.mikus@protonmail.ch> | 2024-12-04 08:41:52 +0000 |
commit | c573ac71a79bb430be3ad8d2d8e1447119dc9af0 (patch) | |
tree | 9516796357b688a2b57a88e678e74c311716e685 /fdio.infra.ansible/roles/aws/tasks/ubuntu_noble.yaml | |
parent | 8b3aa8ab8c7860002dda31805e19a9939bb03201 (diff) |
feat(infra): AWS -> Nobleoper-241125
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch>
Change-Id: I95f2945597eeacb01e04ae0b40dc2bba667dcf91
(cherry picked from commit 0ebc52457569ad77cfa5b1c322d0d28baeea9777)
Diffstat (limited to 'fdio.infra.ansible/roles/aws/tasks/ubuntu_noble.yaml')
-rw-r--r-- | fdio.infra.ansible/roles/aws/tasks/ubuntu_noble.yaml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/fdio.infra.ansible/roles/aws/tasks/ubuntu_noble.yaml b/fdio.infra.ansible/roles/aws/tasks/ubuntu_noble.yaml new file mode 100644 index 0000000000..f99da4fdb0 --- /dev/null +++ b/fdio.infra.ansible/roles/aws/tasks/ubuntu_noble.yaml @@ -0,0 +1,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
\ No newline at end of file |