Skip to content

Commit

Permalink
Commented out reboot task
Browse files Browse the repository at this point in the history
  • Loading branch information
manoj-nutanix committed Oct 29, 2024
1 parent 4e108e3 commit a123c40
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions ansible/roles/providers/tasks/azure-redhat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
- name: Refresh dracut
shell: dracut -f

- name: Reboot after dracut update
ansible.builtin.reboot:
msg: "Rebooting to apply initramfs changes"
pre_reboot_delay: 5
post_reboot_delay: 30
reboot_timeout: 600 # Timeout of 10 minutes to ensure full reboot
connect_timeout: 30
# - name: Reboot after dracut update
# ansible.builtin.reboot:
# msg: "Rebooting to apply initramfs changes"
# pre_reboot_delay: 5
# post_reboot_delay: 30
# reboot_timeout: 600 # Timeout of 10 minutes to ensure full reboot
# connect_timeout: 30

when:
- packer["image_publisher"] == "resf"
Expand Down

0 comments on commit a123c40

Please sign in to comment.