File tree 6 files changed +22
-11
lines changed
6 files changed +22
-11
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ svsm.bin
14
14
bzImage
15
15
coconut-qemu.igvm
16
16
17
+ # Ansible inventories
18
+ ansible /inventory
19
+
17
20
# Kubernetes stuff
18
21
.config
19
22
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 15
15
- ca-certificates
16
16
- curl
17
17
- gnupg2
18
+ - libssl-dev
19
+ - pkg-config
18
20
- software-properties-common
19
21
- python3.10-dev
20
22
- python3-pip
Original file line number Diff line number Diff line change 5
5
path : " /home/{{ ansible_user }}/git"
6
6
state : directory
7
7
8
- - name : " Clone repos"
8
+ - name : " Clone SC2 repos"
9
9
git :
10
10
repo : " https://www.github.com/sc2-sys/{{ item }}.git"
11
11
dest : " /home/{{ ansible_user }}/git/sc2-sys/{{ item }}"
20
20
- " deploy"
21
21
- " experiments"
22
22
23
+ - name : " Clone virtee repos"
24
+ git :
25
+ repo : " https://www.github.com/virtee/{{ item }}.git"
26
+ dest : " /home/{{ ansible_user }}/git/virtee/{{ item }}"
27
+ depth : 1
28
+ update : yes
29
+ recursive : no
30
+ clone : yes
31
+ force : yes
32
+ accept_hostkey : yes
33
+ with_items :
34
+ - " snphost"
Original file line number Diff line number Diff line change 8
8
9
9
# Step 2: Install the .deb kernel package
10
10
- name : " Install the new kernel package"
11
+ become : true
11
12
apt :
12
13
deb : " /tmp/linux-image.deb"
13
14
state : present
14
15
15
16
# Step 3: Update the grub configuration to use the new kernel
16
17
- name : " Update GRUB to use the new kernel"
18
+ become : true
17
19
command : update-grub
18
20
19
21
# Step 4: Reboot the system to load the new kernel
20
22
- name : " Reboot the system to apply the new kernel"
23
+ become : true
21
24
reboot :
22
25
reboot_timeout : 600
23
26
test_command : uname -r
24
27
register : reboot_result
25
-
26
- # Step 5: Verify the kernel version after reboot
27
- # TODO: delete me
28
- - name : Check the new kernel version after reboot
29
- debug :
30
- msg : " Using host kernel: {{ reboot_result.stdout }}"
31
- when : reboot_result is succeeded
Original file line number Diff line number Diff line change 4
4
gather_facts : yes
5
5
tasks :
6
6
- include_tasks : tasks/apt.yaml
7
+ # - include_tasks: tasks/update_host_kernel.yaml
7
8
- include_tasks : tasks/rust.yaml
8
9
- include_tasks : tasks/docker.yaml
9
10
- include_tasks : tasks/code.yaml
10
11
- include_tasks : tasks/pull_images.yaml
11
- - include_tasks : tasks/update_host_kernel.yaml
12
12
# - include_tasks: tasks/sc2.yml
You can’t perform that action at this time.
0 commit comments