From 27cd88af67b8b0165970b4b49753ce3e7543ff14 Mon Sep 17 00:00:00 2001 From: Carlos Segarra Date: Wed, 4 Sep 2024 17:56:46 +0000 Subject: [PATCH] vm(sgx): properly ansible-reboot --- ansible/tasks/sgx_setup.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ansible/tasks/sgx_setup.yml b/ansible/tasks/sgx_setup.yml index 63298a6..ac61586 100644 --- a/ansible/tasks/sgx_setup.yml +++ b/ansible/tasks/sgx_setup.yml @@ -7,5 +7,9 @@ shell: "echo 'export PATH=$PATH:/home/{{ ansible_user }}/.local/bin' >> /home/{{ ansible_user }}/.bashrc" - name: "Upgrade to 6.x kernel for EDMM features" - shell: "apt update && apt upgrade -y && reboot" + shell: "apt update && apt upgrade -y" + become: yes + +- name: "Reboot to pick-up latest kernel" + reboot: become: yes