diff --git a/defaults/main.yml b/defaults/main.yml index dc3a33e..834cc49 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -74,3 +74,4 @@ provissionning_enable_service: system_arch_local_mirror: #need vfat boot partition with esp label provissionning_UEFI_Enable: False +provissionning_default_root: '' diff --git a/tasks/main.yml b/tasks/main.yml index 1cdb1c2..53f3fec 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -116,8 +116,8 @@ state: present - name: change root password shell: - cmd: "echo 'root:{{ vault_default_root | password_hash('sha512')}}' |arch-chroot /mnt chpasswd -e" - when: vault_default_root is defined + cmd: "echo 'root:{{ provissionning_default_root | password_hash('sha512')}}' |arch-chroot /mnt chpasswd -e" + when: provissionning_default_root is defined - name: Reboot reboot: msg: reboot in new system