Skip to content
This repository was archived by the owner on Jul 14, 2022. It is now read-only.

Commit 9c1306b

Browse files
committed
Install aws cli v2
1 parent 5af992b commit 9c1306b

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

roles/work/tasks/aws.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
11
---
2-
- name: Install aws-cli
3-
pip:
4-
executable: /usr/bin/pip3
5-
name: awscli
2+
- name: Download aws cli v2
3+
get_url:
4+
url: https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip
5+
dest: /tmp/awscliv2.zip
6+
become: no
7+
8+
- name: Unarchive aws cli v2
9+
unarchive:
10+
src: /tmp/awscliv2.zip
11+
dest: /tmp
12+
become: no
13+
14+
- name: Install aws cli v2
15+
command: /tmp/aws/install
616

717
- import_tasks: aws_nuke.yml
818
become: no

0 commit comments

Comments
 (0)