change variable password
This commit is contained in:
parent
c033aa536a
commit
79bc16c248
@ -74,3 +74,4 @@ provissionning_enable_service:
|
|||||||
system_arch_local_mirror:
|
system_arch_local_mirror:
|
||||||
#need vfat boot partition with esp label
|
#need vfat boot partition with esp label
|
||||||
provissionning_UEFI_Enable: False
|
provissionning_UEFI_Enable: False
|
||||||
|
provissionning_default_root: ''
|
||||||
|
@ -116,8 +116,8 @@
|
|||||||
state: present
|
state: present
|
||||||
- name: change root password
|
- name: change root password
|
||||||
shell:
|
shell:
|
||||||
cmd: "echo 'root:{{ vault_default_root | password_hash('sha512')}}' |arch-chroot /mnt chpasswd -e"
|
cmd: "echo 'root:{{ provissionning_default_root | password_hash('sha512')}}' |arch-chroot /mnt chpasswd -e"
|
||||||
when: vault_default_root is defined
|
when: provissionning_default_root is defined
|
||||||
- name: Reboot
|
- name: Reboot
|
||||||
reboot:
|
reboot:
|
||||||
msg: reboot in new system
|
msg: reboot in new system
|
||||||
|
Loading…
Reference in New Issue
Block a user