fix(configuration): use full path for chpasswd in chroot

This commit is contained in:
sandwich committed 2026-02-21 05:03:36 +01:00
1 parent ac532578b8
commit 72e2263f5c
1 file changed
+1 -1
+1 -1
View File
@@ -2,7 +2,7 @@
- name: Set root password
ansible.builtin.shell: >-
set -o pipefail &&
echo 'root:{{ system_cfg.root.password | password_hash("sha512") }}' | {{ chroot_command }} chpasswd -e
echo 'root:{{ system_cfg.root.password | password_hash("sha512") }}' | {{ chroot_command }} /usr/sbin/chpasswd -e
args:
executable: /bin/bash
register: configuration_root_result