diff options
author | pmikus <peter.mikus@protonmail.ch> | 2022-10-24 12:11:36 +0000 |
---|---|---|
committer | Peter Mikus <peter.mikus@protonmail.ch> | 2022-10-26 13:14:46 +0000 |
commit | 7566d9fe1ff86a7dab3de09f9477e50d60a12dfc (patch) | |
tree | b52a18dac48877848ca65e9c064a925499904806 /fdio.infra.ansible/roles/aws/tasks/ubuntu_jammy.yaml | |
parent | 82419f7f8a1b08c7451340b413e54486bd4c0b9b (diff) |
fix(packer): AWS images
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: Ia725b895eab531f106ebf4919a0fc455447b5d9a
Diffstat (limited to 'fdio.infra.ansible/roles/aws/tasks/ubuntu_jammy.yaml')
-rw-r--r-- | fdio.infra.ansible/roles/aws/tasks/ubuntu_jammy.yaml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/fdio.infra.ansible/roles/aws/tasks/ubuntu_jammy.yaml b/fdio.infra.ansible/roles/aws/tasks/ubuntu_jammy.yaml index 28e852476a..5cc9fd3acf 100644 --- a/fdio.infra.ansible/roles/aws/tasks/ubuntu_jammy.yaml +++ b/fdio.infra.ansible/roles/aws/tasks/ubuntu_jammy.yaml @@ -8,3 +8,28 @@ update_cache: true tags: - aws-enable-src-repo + +- name: Enable deb-src 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
\ No newline at end of file |