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/defaults/main.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/defaults/main.yaml')
-rw-r--r-- | fdio.infra.ansible/roles/aws/defaults/main.yaml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/fdio.infra.ansible/roles/aws/defaults/main.yaml b/fdio.infra.ansible/roles/aws/defaults/main.yaml index d4ea91afd4..e9701cd5ab 100644 --- a/fdio.infra.ansible/roles/aws/defaults/main.yaml +++ b/fdio.infra.ansible/roles/aws/defaults/main.yaml @@ -1,2 +1,19 @@ --- # file: roles/aws/defaults/main.yaml + +packages: "{{ packages_base + packages_by_distro[ansible_distribution|lower] + packages_by_arch[ansible_machine] }}" + +packages_base: + - [] + +packages_by_distro: + ubuntu: + - "linux-image-5.4.0-1009-aws" + - "linux-headers-5.4.0-1009-aws" + - "linux-tools-5.4.0-1009-aws" + +packages_by_arch: + aarch64: + - [] + x86_64: + - []
\ No newline at end of file |