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: 4 months 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 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-26T12:48:34.000Z (about 5 years ago)
- Last Synced: 2025-05-17T19:37:54.788Z (about 1 year ago)
- Size: 4.88 KB
- Stars: 0
- Watchers: 14
- 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