darkwizard242.awsvault
Ansible Role: aws-vault
This role installs (by default) aws-vault on Debian/Ubuntu and EL systems.
Requirements
None.
Role Variables
Here are the available variables (found in defaults/main.yml
):
List of Variables:
awsvault_app: aws-vault
awsvault_version: 7.2.0
awsvault_os: linux
awsvault_arch: amd64
awsvault_dl_url: https://github.com/99designs/{{ awsvault_app }}/releases/download/v{{ awsvault_version }}/{{ awsvault_app }}-{{ awsvault_arch }}-{{ awsvault_arch }}
awsvault_bin_path: /usr/local/bin
awsvault_file_owner: root
awsvault_file_group: root
awsvault_file_mode: '0755'
Variable Descriptions:
- awsvault_app: The application to install, in this case, aws-vault.
- awsvault_version: The version to install, default is 7.2.0.
- awsvault_os: The operating system type, defaults to linux.
- awsvault_arch: The system architecture, defaults to amd64.
- awsvault_dl_url: The link to download the aws-vault binary.
- awsvault_bin_path: The path where the aws-vault binary will be stored, default is /usr/local/bin.
- awsvault_file_owner: The owner of the aws-vault binary file.
- awsvault_file_group: The group for the aws-vault binary file.
- awsvault_file_mode: The permissions for the aws-vault binary file.
Dependencies
None.
Example Playbook
To use this role for installing awsvault in your Ansible playbooks:
- hosts: servers
roles:
- darkwizard242.awsvault
To customize the role (e.g., specify a different version of awsvault):
- hosts: servers
roles:
- darkwizard242.awsvault
vars:
awsvault_version: 5.4.0
To change the location where the awsvault binary is installed:
- hosts: servers
roles:
- darkwizard242.awsvault
vars:
awsvault_bin_path: /bin/
License
Author Information
This role was created by Ali Muhammad.
Informazioni sul progetto
Installs/Uninstalls 'aws-vault' for managing aws credentials and sessions.
Installa
ansible-galaxy install darkwizard242.awsvault
Licenza
mit
Download
4.5k
Proprietario
Senior DevOps/CloudOps Engineer.
Dedicated to Automating everything I come across.
Love to work on and learn new technologies/tools everyday!