This role installs and configures AWS Command Line Interface.
Ansible 2.10 or newer.
- Debian - 11 (Bullseye)
- Debian - 12 (Bookworm)
- Ubuntu - 20.04 (Focal Fossa)
- Ubuntu - 22.04 (Jammy Jellyfish)
Variable | Required | Default | Choices | Comments |
---|---|---|---|---|
awscli_users | true | [] |
list | Main configuration list. See defaults/main.yml . |
awscli_package_state | true | present |
string | Use latest to upgrade. |
None
- hosts: all
roles:
- role: ansible-role-awscli
awscli_users:
- name: test_user
group: test_group
home: /home/test_user
aws_access_key_id: aaaa
aws_secret_access_key: bbbb
s3_configuration:
- "use_accelerate_endpoint = false"
molecule test
MIT