Version: | 0.1.0 |
---|---|
Web: | https://github.com/hadenlabs/ansible-role-authorization |
Download: | http://github.com/hadenlabs/ansible-role-authorization |
Source: | http://github.com/hadenlabs/ansible-role-authorization |
Keywords: | ansible-role-authorization |
Table of Contents:
Ansible Galaxy role for Authorization.
List of applications:
Install it with the following command:
$ ansible-galaxy install hadenlabs.authorization
The default role variables in defaults/main.yml
are:
authorization_key_dir: "/Volumes/Home/private/key_file/project"
authorization:
project:
key_dir: "{{ authorization_key_dir }}"
key_files:
- key: id_rsa
src: "{{ authorization_key_dir }}/id_rsa"
path: "{{ app_dir_home }}/.ssh/id_rsa"
permissions: 0600
owner: "{{ user }}"
state: file
- key: id_rsa.pub
src: "{{ authorization_key_dir }}/id_rsa.pub"
path: "{{ app_dir_home }}/.ssh/id_rsa.pub"
permissions: 0600
state: file
owner: "{{ user }}"
None
See the examples directory.
To run this playbook with default settings, create a basic playbook like this:
- hosts: servers
roles:
- hadenlabs.authorization
To install a specific version:
- hosts: servers
roles:
- { role: hadenlabs.authorization }
MIT
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.