Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117883181
grub.yml
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
723 B
Referenced Files
None
Subscribers
None
grub.yml
View Options
---
-
name
:
Check if cgroupv1 is configured
shell
:
grep -c 'systemd.unified_cgroup_hierarchy=0' /proc/cmdline
register
:
cgroup_status
ignore_errors
:
true
-
name
:
Install grubby
package
:
name=grubby state=installed
when
:
cgroup_status.stdout == "0"
-
name
:
Disable cgroupv2
shell
:
grubby --update-kernel=ALL --args=\"systemd.unified_cgroup_hierarchy=0\"
when
:
cgroup_status.stdout == "0"
-
name
:
reboot
shell
:
sleep 2 && shutdown -r now "Ansible updates triggered"
async
:
1
poll
:
0
ignore_errors
:
true
when
:
cgroup_status.stdout == "0"
-
name
:
waiting for server to come back
local_action
:
wait_for host={{ansible_fqdn}} state=started timeout=600 delay=15
when
:
cgroup_status.stdout == "0"
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 6, 12:57 AM (5 d, 13 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
70/7a/21d7c280504e54a863c90eecd475
Default Alt Text
grub.yml (723 B)
Attached To
Mode
rK kolab
Attached
Detach File
Event Timeline