https://github.com/edmondscommerce/ansible-role-user
https://github.com/edmondscommerce/ansible-role-user
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/edmondscommerce/ansible-role-user
- Owner: edmondscommerce
- Created: 2019-01-13T16:23:21.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-26T10:19:14.000Z (almost 7 years ago)
- Last Synced: 2025-02-28T13:08:28.372Z (over 1 year ago)
- Language: Shell
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Linux User Creation and Basic Configuration (Ansible Role)
## Description
This is used to create and configure a user. At the moment it does the following
* Creates a named user and group
* Adds dot files
* Uploads a public key to allow key based SSH access
## Role Variables
| Name | Default Value | Description |
| ------------------ | ---------------------------------- | ----------------------------------------------------------------- |
| users_name | `ansibleUser` | The name of the user to be created and configured |
| users_group | `ansibleUser` | The group the the user will use |
| users_password | `ChangeMe!!` | The password for the user |
| users_home | `"/home/{{ users_name }}"` | The home directory for the user |
| uploadPublicKey | `true` | Should we add our SSH public key the to the users authorized_keys |
| local_public_key | `` | The path to our public key |