Role to install saws pip package on Debian/Ubuntu systems. saws is a supercharged AWS CLI.
None.
Available variables are listed below (located in defaults/main.yml
):
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 | Description |
---|---|
saws_debian_pre_reqs | Packages required to install saws on Debian based systems. Using python3 as python2.x is EOL by end of 2020. |
saws_debian_pre_reqs_desired_state | Desired state for saws pre-requisite apps on Debian systems. |
saws_pip_executable | The executable to utilize for installing pip package of saws . |
saws_app_debian_package | Name of saws application package require to be installed i.e. saws on Debian based systems. |
saws_desired_state | Desired state for saws. |
None
For default behaviour of role (i.e. installation of saws package) in ansible playbooks.
- hosts: servers
roles:
- darkwizard242.saws
For customizing behavior of role (i.e. installation of latest saws package instead of ensure it is installed ) in ansible playbooks.
- hosts: servers
roles:
- darkwizard242.saws
vars:
saws_desired_state: latest
For customizing behavior of role (i.e. removal of saws package) in ansible playbooks.
- hosts: servers
roles:
- darkwizard242.saws
vars:
saws_desired_state: absent
This role was created by Ali Muhammad, a DevOps/CloudOps Engineer who loves to learn and contribute to Open Source community.