Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/artcom/ansible-role-win-user
Ansible role to configure a user on a Windows 10 machine
https://github.com/artcom/ansible-role-win-user
Last synced: about 1 month ago
JSON representation
Ansible role to configure a user on a Windows 10 machine
- Host: GitHub
- URL: https://github.com/artcom/ansible-role-win-user
- Owner: artcom
- License: mit
- Created: 2020-09-30T12:27:07.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-05-26T12:48:34.000Z (over 3 years ago)
- Last Synced: 2024-11-07T06:36:41.809Z (3 months ago)
- Size: 4.88 KB
- Stars: 0
- Watchers: 15
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# User
Ansible role to configure a user on a Windows 10 machine.## Description
This role ensures that the user exists, its password is set and does not expire and the user is in the Administrators group.## Requirements
None.## Role Variables
Available variables are listed below, along with default values `(see defaults/main.yml)`:
```yaml
user_name: null
user_password: null
```
Required variables (role will fail if the variables are not set):
```yaml
user_name: null
user_password: null
```## Dependencies
* [check-required-variables](https://github.com/artcom/ansible-role-check-required-variables)# Example Playbook
```yaml
- name: configure user
hosts: all
roles:
- role: win-user
vars:
user_name: "user"
user_password: "sup3rseKret"
```## License
MIT