File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change 39
39
- createrepo
40
40
- cmake-filesystem
41
41
- libnl3-devel
42
+ - python3-devel
42
43
state : latest
43
44
update_cache : true
44
45
46
+ - name : Set GRUB default index to saved
47
+ ansible.builtin.lineinfile :
48
+ path : /etc/default/grub
49
+ line : " GRUB_DEFAULT=saved"
50
+
51
+ - name : Set update default index in kernel sysconfig
52
+ ansible.builtin.lineinfile :
53
+ path : /etc/sysconfig/kernel
54
+ line : " UPDATEDEFAULT=yes"
55
+ create : true
56
+
45
57
- name : Update the default kernel entry
46
58
ansible.builtin.shell :
47
59
cmd : |
51
63
- name : Disable noexec in temporary file system
52
64
ansible.builtin.replace :
53
65
path : /etc/fstab
54
- regexp : ' ^(exclude=.*)noexec,\*\s*'
55
- replace : ' \1'
66
+ regexp : ' noexec,'
56
67
57
68
- name : Reboot builder to apply kernel update
58
69
ansible.builtin.reboot :
You can’t perform that action at this time.
0 commit comments