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

https://github.com/hadenlabs/ansible-role-authorization

Ansible role authorization
https://github.com/hadenlabs/ansible-role-authorization

ansible ansible-role authorization hadenlabs peru ssh

Last synced: 2 months ago
JSON representation

Ansible role authorization

Awesome Lists containing this project

README

          

[![Latest Release](https://img.shields.io/github/release/hadenlabs/ansible-role-authorization)](https://github.com/hadenlabs/ansible-role-authorization/releases) [![Lint](https://img.shields.io/github/workflow/status/hadenlabs/ansible-role-authorization/lint-code)](https://github.com/hadenlabs/ansible-role-authorization/actions?workflow=lint-code) [![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit) [![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow)](https://conventionalcommits.org)

# ansible-role-authorization

ansible-role-authorization for hadenlabs.

## Requirements

This is a list of applications that need to be installed previously to enjoy all the goodies of this configuration:

- [gomplate](https://github.com/hairyhenderson/gomplate)
- [python](https://www.python.org)
- [taskfile](https://github.com/go-task/task)

## Usage

```bash
ansible-galaxy install hadenlabs.authorization
```

Full working examples can be found in [examples](./examples) folder.

## Examples

## Install

Install it with the following command:

```{.yaml}
ansible-galaxy install hadenlabs.authorization
```

### basic

To run this playbook with default settings, create a basic playbook like this:

```{.yaml}
- hosts: servers

vars:
user: ubuntu
authorization_user: '{{ user }}'
authorization_key_public: '~/.ssh/id_rsa.pub'
authorization_key_private: '~/.ssh/id_rsa'

roles:
- hadenlabs.authorization
```

## Requirements

## Role Variables

The default role variables in `defaults/main.yml` are:

```{.yaml}
# defaults file for ansible-role-authorization
```

## Help

**Got a question?**

File a GitHub [issue](https://github.com/hadenlabs/ansible-role-authorization/issues).

## Contributing

See [Contributing](./docs/contributing.md).

## Module Versioning

This Module follows the principles of [Semantic Versioning (SemVer)](https://semver.org/).

Using the given version number of `MAJOR.MINOR.PATCH`, we apply the following constructs:

1. Use the `MAJOR` version for incompatible changes.
1. Use the `MINOR` version when adding functionality in a backwards compatible manner.
1. Use the `PATCH` version when introducing backwards compatible bug fixes.

### Backwards compatibility in `0.0.z` and `0.y.z` version

- In the context of initial development, backwards compatibility in versions `0.0.z` is **not guaranteed** when `z` is increased. (Initial development)
- In the context of pre-release, backwards compatibility in versions `0.y.z` is **not guaranteed** when `y` is increased. (Pre-release)

## Copyright

Copyright © 2018-2021 [Hadenlabs](https://hadenlabs.com)

## Trademarks

All other trademarks referenced herein are the property of their respective owners.

## License

The code and styles are licensed under the LGPL-3.0 license [See project license.](LICENSE).

## Don't forget to 🌟 Star 🌟 the repo if you like ansible-role-authorization

[Your feedback is appreciated](https://github.com/hadenlabs/ansible-role-authorization/issues)