change variable password
This commit is contained in:
parent
c033aa536a
commit
79bc16c248
@ -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: ''
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user