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

Commit

Permalink
Install aws cli v2
Browse files Browse the repository at this point in the history
  • Loading branch information
xalvarez committed Feb 13, 2021
1 parent 5af992b commit 9c1306b
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions roles/work/tasks/aws.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
---
- name: Install aws-cli
pip:
executable: /usr/bin/pip3
name: awscli
- name: Download aws cli v2
get_url:
url: https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip
dest: /tmp/awscliv2.zip
become: no

- name: Unarchive aws cli v2
unarchive:
src: /tmp/awscliv2.zip
dest: /tmp
become: no

- name: Install aws cli v2
command: /tmp/aws/install

- import_tasks: aws_nuke.yml
become: no
Expand Down

0 comments on commit 9c1306b

Please sign in to comment.