Skip to content

Commit

Permalink
edpm_kernel: Fix Reboot Task
Browse files Browse the repository at this point in the history
Reboot task may fail due to the remote user being an unprivileged user
(non root) which is not able to perform a reboot.
By escalating the permissions in the task, the reboot task should pass.

Fixes #298.
  • Loading branch information
vkhitrin committed Aug 28, 2023
1 parent 7f96f9f commit 37c4d2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions roles/edpm_kernel/tasks/reboot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@

# Reboot the node
- name: Reboot after kernel args update
become: true
ansible.builtin.reboot:
post_reboot_delay: "{{ edpm_kernel_post_reboot_delay }}"
reboot_timeout: "{{ edpm_kernel_reboot_timeout }}"

0 comments on commit 37c4d2d

Please sign in to comment.