Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F1841675
grub.yml
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
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, Aug 25, 3:37 PM (1 d, 19 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
203651
Default Alt Text
grub.yml (723 B)
Attached To
Mode
R2 kolab
Attached
Detach File
Event Timeline
Log In to Comment