Setting base aws cli to pull files from s3
This commit is contained in:
parent
c09dd6203f
commit
f87cc90d9e
@ -12,3 +12,5 @@
|
|||||||
import_tasks: ../tasks/nginx-setup.yml
|
import_tasks: ../tasks/nginx-setup.yml
|
||||||
- name: Test local sites
|
- name: Test local sites
|
||||||
import_tasks: ../tasks/tests/local-site-presence.yml
|
import_tasks: ../tasks/tests/local-site-presence.yml
|
||||||
|
- name: Ensure AWS is setup
|
||||||
|
import_tasks: ../tasks/setup-aws-cli.yml
|
||||||
|
12
infra/static-vultr/ansible/tasks/setup-aws-cli.yml
Normal file
12
infra/static-vultr/ansible/tasks/setup-aws-cli.yml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
- name: Ensure we have the unzip package
|
||||||
|
apt:
|
||||||
|
name: unzip
|
||||||
|
- name: Download the AWS CLI V2
|
||||||
|
get_url:
|
||||||
|
url: https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip
|
||||||
|
dest: /tmp/awscli.zip
|
||||||
|
- name: Unzip the cli to the tmp dir
|
||||||
|
shell: unzip /tmp/awscli.zip -d /tmp
|
||||||
|
- name: Run awscli installer
|
||||||
|
shell: /tmp/aws/install
|
||||||
|
|
Loading…
Reference in New Issue
Block a user