Installs and configures Authorization on a host.
- Linux
- none
- OSX
- Homebrew must be installed.
The default role variables in defaults/main.yml
are:
---
# path keys
authorization_key_dir: "~/.ssh/project"
none
To run this playbook with default settings, create a basic playbook like this:
- hosts: servers
roles:
- dgnest.authorization
Copy files keys:
authorization_key_dir: "/Volumes/Home/private/key_file/fbp"
authorization:
sophimania:
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 }}"
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
Made with ❤️ ️☕️ and 🍕 by dgnest.