Skip to content

Instantly share code, notes, and snippets.

View yajith's full-sized avatar

Yajith Dayarathna yajith

View GitHub Profile
@yajith
yajith / passwd.yml
Last active February 11, 2021 14:38 — forked from krushik/passwd.yml
ansible playbook to change user password on linux
---
# You may override default target user with -e user=someotheruser
# It is mandatory to choose a strong password! At least consult with https://www.bennish.net/password-strength-checker/
- name: change linux user password
hosts: [all]
gather_facts: no
vars_prompt:
- name: user
prompt: "Enter the username for password change"
### Keybase proof
I hereby claim:
* I am yajith on github.
* I am yajith (https://keybase.io/yajith) on keybase.
* I have a public key ASA7Ff9HAKnQv1M8H2oJXfcL3ems2opgqp1GKPSlDbbjxwo
To claim this, I am signing this object: