Set password;Force reboot
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
3426cd7ed3
commit
4257849ca4
@ -6,4 +6,5 @@
|
|||||||
roles:
|
roles:
|
||||||
- vapp
|
- vapp
|
||||||
- network
|
- network
|
||||||
|
- users
|
||||||
- cleanup
|
- cleanup
|
||||||
|
@ -3,4 +3,5 @@
|
|||||||
name: firstboot
|
name: firstboot
|
||||||
state: absent
|
state: absent
|
||||||
- name: Reboot host
|
- name: Reboot host
|
||||||
reboot:
|
ansible.builtin.shell:
|
||||||
|
cmd: reboot now
|
||||||
|
@ -0,0 +1,7 @@
|
|||||||
|
- name: Set root password
|
||||||
|
ansible.builtin.user:
|
||||||
|
name: root
|
||||||
|
password: "{{ ovfproperties['guestinfo.rootpw'] }}"
|
||||||
|
generate_ssh_key: yes
|
||||||
|
ssh_key_bits: 2048
|
||||||
|
ssh_key_file: .ssh/id_rsa
|
Loading…
Reference in New Issue
Block a user