Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/darkwizard242/ansible-role-awless

Ansible role for Awless. Available on Ansible Galaxy.
https://github.com/darkwizard242/ansible-role-awless

ansible ansible-galaxy ansible-role awless aws-cli cloud system

Last synced: about 1 month ago
JSON representation

Ansible role for Awless. Available on Ansible Galaxy.

Awesome Lists containing this project

README

        

[![build-test](https://github.com/darkwizard242/ansible-role-awless/workflows/build-and-test/badge.svg?branch=master)](https://github.com/darkwizard242/ansible-role-awless/actions?query=workflow%3Abuild-and-test) [![release](https://github.com/darkwizard242/ansible-role-awless/workflows/release/badge.svg)](https://github.com/darkwizard242/ansible-role-awless/actions?query=workflow%3Arelease) ![Ansible Role](https://img.shields.io/ansible/role/d/darkwizard242/awless) [![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=ansible-role-awless&metric=sqale_rating)](https://sonarcloud.io/dashboard?id=ansible-role-awless) [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=ansible-role-awless&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=ansible-role-awless) [![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=ansible-role-awless&metric=security_rating)](https://sonarcloud.io/dashboard?id=ansible-role-awless) ![GitHub tag (latest SemVer)](https://img.shields.io/github/tag/darkwizard242/ansible-role-awless?label=release) ![GitHub repo size](https://img.shields.io/github/repo-size/darkwizard242/ansible-role-awless?color=orange&style=flat-square)

# Ansible Role: awless

Role to install (_by default_) [awless](https://github.com/wallix/awless) on **Debian/Ubuntu** and **EL** systems.

## Requirements

None.

## Role Variables

Available variables are listed below (located in `defaults/main.yml`):

### Variables list:

```yaml
awless_app: awless
awless_version: 0.1.11
awless_os: linux
awless_arch: amd64
awless_dl_url: "https://github.com/wallix/{{ awless_app }}/releases/download/v{{ awless_version }}/{{ awless_app }}-{{ awless_os }}-{{ awless_arch }}.tar.gz"
awless_bin_path: /usr/local/bin
awless_file_owner: root
awless_file_group: root
awless_file_permission_mode: '0755'
```

### Variables table:

Variable | Description
--------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------
awless_app | Defines the app to install i.e. **awless**
awless_version | Defined to dynamically fetch the desired version to install. Defaults to: **0.1.11**
awless_os | Defines OS type. Used for obtaining the correct type of binaries based on OS. Defaults to: **linux**
awless_arch | Defines Architecture type. Used for obtaining the correct type of binaries based on Architecture. Defaults to: **amd64**
awless_dl_url | Defines URL to download the awless binary from.
awless_bin_path | Defined to dynamically set the appropriate path to store awless binary into. Defaults to (as generally available on any user's PATH): **/usr/local/bin**
awless_file_owner | Owner for the binary file of awless.
awless_file_group | Group for the binary file of awless.
awless_file_permission_mode | Defines the permission mode level for the file. Defaults to: `0755`

## Dependencies

None

## Example Playbook

For default behaviour of role (i.e. installation of **awless**) in ansible playbooks.

```yaml
- hosts: servers
roles:
- darkwizard242.awless
```

For customizing behavior of role (i.e. specifying the desired **awless** version) in ansible playbooks.

```yaml
- hosts: servers
roles:
- darkwizard242.awless
vars:
awless_version: 0.1.10
```

For customizing behavior of role (i.e. placing binary of **awless** package in different location) in ansible playbooks.

```yaml
- hosts: servers
roles:
- darkwizard242.awless
vars:
awless_bin_path: /bin/
```

## License

[MIT](https://github.com/darkwizard242/ansible-role-awless/blob/master/LICENSE)

## Author Information

This role was created by [Ali Muhammad](https://www.alimuhammad.dev/).