Skip to content

Instantly share code, notes, and snippets.

Avatar

Yajith Dayarathna yajith

View GitHub Profile
@yajith
yajith / passwd.yml
Last active Feb 11, 2021 — forked from krushik/passwd.yml
ansible playbook to change user password on linux
View passwd.yml
---
# 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"
View gist:572ecc5058ecefff5048aff1967edbd5
### 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: