77f8dc63 by Javier Franco

add change_pss.yml playbook for changing user password

1 parent 70bfe160
1 ---
2 - name: Change user password
3 become: true
4 hosts: all
5 vars:
6 usuario: "{{ usuario }}"
7 contrasena: "{{ contrasena }}"
8 tasks:
9 - name: Cambio de contrasena del usuario {{ usuario }}
10 user:
11 name: "{{ usuario }}"
12 password: "{{ contrasena | password_hash('sha512') }}"
13 expires: -1
14 ...
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!