darkwizard242.awscli

Ansible Role: awscli

This role installs the awscli tool on Debian/Ubuntu systems.

Requirements

No special requirements.

Role Variables

The variables you can use are listed below (found in defaults/main.yml):

Variables List:

awscli_debian_pre_reqs:
  - python3
  - python3-pip
awscli_debian_pre_reqs_desired_state: present
pip_executable: pip3
awscli_app_debian_package: awscli
awscli_desired_state: present

Variables Table:

Variable Description
awscli_debian_pre_reqs Packages needed to install AWS CLI on Debian systems. Python3 is used since Python2.x is outdated.
awscli_debian_pre_reqs_desired_state The required state for AWS CLI prerequisite apps on Debian.
pip_executable The command to use for installing the awscli package via pip.
awscli_app_debian_package The name of the AWS CLI package to install (i.e., awscli on Debian).
awscli_desired_state The desired installation state for AWS CLI.

Dependencies

None

Example Playbook

For default installation of the awscli package.

- hosts: servers
  roles:
    - darkwizard242.awscli

To install the latest version of the awscli package.

- hosts: servers
  roles:
    - darkwizard242.awscli
  vars:
    awscli_desired_state: latest

To remove the awscli package.

- hosts: servers
  roles:
    - darkwizard242.awscli
  vars:
    awscli_desired_state: absent

License

MIT

Author Information

This role was created by Ali Muhammad, a DevOps/CloudOps Engineer who enjoys learning and contributing to the Open Source community.

Informazioni sul progetto

Installs awscli using pip3 package

Installa
ansible-galaxy install darkwizard242.awscli
Licenza
mit
Download
4.9k
Proprietario
Senior DevOps/CloudOps Engineer. Dedicated to Automating everything I come across. Love to work on and learn new technologies/tools everyday!