-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathmain.yml
More file actions
24 lines (21 loc) · 782 Bytes
/
Copy pathmain.yml
File metadata and controls
24 lines (21 loc) · 782 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
# https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html
- name: Download awscli
command: curl https://awscli.amazonaws.com/AWSCLIV2.pkg -o AWSCLIV2.pkg
args:
chdir: /tmp
creates: /usr/local/bin/aws
- name: Install awscli
command: sudo installer -pkg AWSCLIV2.pkg -target /
args:
chdir: /tmp
creates: /usr/local/bin/aws
# https://github.com/weaveworks/eksctl/blob/main/README.md#installation
- name: Download eksctl
shell: sh -c 'curl --silent --location "https://github.com/weaveworks/eksctl/releases/latest/download/eksctl_$(uname -s)_$(arch).tar.gz" | tar xz -C /tmp'
args:
creates: /usr/local/bin/eksctl
- name: Install eksctl
command: sudo mv /tmp/eksctl /usr/local/bin
args:
creates: /usr/local/bin/eksctl