Skip to content
Snippets Groups Projects
Commit 986683d7 authored by jurgenhaas's avatar jurgenhaas
Browse files

New playbook to set a user's password on all hosts

parent 66fe3665
No related branches found
No related tags found
No related merge requests found
##
# Ansible playbook to reset a user password on all hosts
#
---
# file: userpwd.yml
- name: "Reset Password for {{ username }}"
hosts: "all"
sudo: yes
tasks:
- name: "Reset Passwd"
user: name={{ username }} password={{ passwd }}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment