Initial commit
This commit is contained in:
11
scripts/reset_root_passwd.yml
Normal file
11
scripts/reset_root_passwd.yml
Normal file
@ -0,0 +1,11 @@
|
||||
---
|
||||
- hosts: all
|
||||
gather_facts: no
|
||||
|
||||
tasks:
|
||||
- name: Update Root user's Password
|
||||
user:
|
||||
name: root
|
||||
update_password: always
|
||||
password: "{{ root_user.password }}"
|
||||
when: root_user is defined and root_user|length > 0
|
Reference in New Issue
Block a user