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
- Host: GitHub
- URL: https://github.com/hadenlabs/ansible-role-authorization
- Owner: hadenlabs
- License: lgpl-3.0
- Created: 2021-12-19T02:49:39.000Z (over 4 years ago)
- Default Branch: develop
- Last Pushed: 2022-02-28T03:44:19.000Z (over 4 years ago)
- Last Synced: 2025-03-30T05:14:22.210Z (about 1 year ago)
- Topics: ansible, ansible-role, authorization, hadenlabs, peru, ssh
- Language: JavaScript
- Homepage:
- Size: 62.5 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: docs/contributing.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: docs/code_of_conduct.md
- Security: SECURITY.md
Awesome Lists containing this project
README
[](https://github.com/hadenlabs/ansible-role-authorization/releases) [](https://github.com/hadenlabs/ansible-role-authorization/actions?workflow=lint-code) [](https://github.com/pre-commit/pre-commit) [](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)