oopen-server/scripts/reset_root_passwd.yml
2019-06-28 02:28:50 +02:00

12 lines
242 B
YAML

---
- 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