darkwizard242.saws
Ansible Role: saws
This Ansible role installs the saws package, which is a powerful AWS CLI, on Debian/Ubuntu systems.
Requirements
No special requirements.
Role Variables
You can find the available variables in defaults/main.yml
:
List of Variables:
saws_debian_pre_reqs:
- python3
- python3-pip
saws_debian_pre_reqs_desired_state: present
saws_pip_executable: pip3
saws_app_debian_package: saws
saws_desired_state: present
Variable Descriptions:
Variable | Description |
---|---|
saws_debian_pre_reqs | Required packages to install saws on Debian systems, using python3 since python2.x is no longer supported. |
saws_debian_pre_reqs_desired_state | Desired status for required applications on Debian systems. |
saws_pip_executable | The command used to install the saws package with pip . |
saws_app_debian_package | Name of the saws application package needed for Debian systems. |
saws_desired_state | Desired status for the saws package (e.g. installed, latest, or absent). |
Dependencies
None
Example Playbook
For the default behavior (installing the saws package) in Ansible playbooks, use:
- hosts: servers
roles:
- darkwizard242.saws
If you want to install the latest version of saws instead, customize the playbook like this:
- hosts: servers
roles:
- darkwizard242.saws
vars:
saws_desired_state: latest
To remove the saws package, customize the playbook as follows:
- hosts: servers
roles:
- darkwizard242.saws
vars:
saws_desired_state: absent
License
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 saws using pip3 package, a super charged aws cli.
Installa
ansible-galaxy install darkwizard242.saws
Licenza
mit
Download
4.1k
Proprietario
Senior DevOps/CloudOps Engineer.
Dedicated to Automating everything I come across.
Love to work on and learn new technologies/tools everyday!