Install and configure awscli
https://galaxy.ansible.com/singleplatform-eng/awscli/
-
awscli_user
: user to configure (REQUIRED)awscli_user: ubuntu
-
awscli_user_home_dir
:awscli_user
home directory (REQUIRED)awscli_user_home_dir: "/home/{{awscli_user}}"
-
awscli_profiles
: awscli profiles to setup# Example awscli_profiles: - name: default access_key: PutYourAccessKeyHere secret_access_key: PutYourSecretKeyHere
---
- hosts: localhost
become: true
vars:
awscli_user: ubuntu
awscli_user_home_dir: /home/ubuntu
roles:
- awscli
ansible-role-python can satisfy these dependencies.
BSD 3-Clause