Root password update fixed

This commit is contained in:
2022-03-11 20:16:09 +13:00
parent f57a42c942
commit 34fba6c48f
2 changed files with 3 additions and 2 deletions

View File

@@ -36,3 +36,4 @@ win_packages:
apply_win_updates: false
common_show_ipv6: false|bool
common_root_pwd: l3tm31nN0w

View File

@@ -68,7 +68,7 @@
- name: Change root password
user:
name: root
password: "{{ root_pwd }}"
password: "{{ common_root_pwd | password_hash('sha512') }}"
changed_when: false
tags: rootpw