Skip to content
Snippets Groups Projects
Commit 9e2e01ac authored by Vladimír Štill's avatar Vladimír Štill
Browse files

ansible: Update pontos

parent e83b2921
No related branches found
No related tags found
No related merge requests found
...@@ -32,7 +32,32 @@ ...@@ -32,7 +32,32 @@
- import_role: - import_role:
name: podman_deb name: podman_deb
when: inventory_hostname == "pontos08.fi.muni.cz" when: inventory_hostname == "pontos08.fi.muni.cz" or inventory_hostname == "pontos05.fi.muni.cz"
- name: "cgroups v1"
lineinfile:
path: /etc/default/grub
insertafter: 'GRUB_CMDLINE_LINUX_DEFAULT='
regex: 'GRUB_CMDLINE_LINUX_DEFAULT="[$]GRUB_CMDLINE_LINUX_DEFAULT systemd[.]unified_cgroup_hierarchy=0"'
line: 'GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT systemd.unified_cgroup_hierarchy=0 systemd.legacy_systemd_cgroup_controller=0"'
register: grub_cgroups
when: inventory_hostname == "pontos06.fi.muni.cz" or inventory_hostname == "pontos07.fi.muni.cz"
- command: update-grub
when: grub_cgroups.changed
- apt:
pkg:
- libbz2-dev
- libreadline-dev
- libsqlite3-dev
- libncursesw5-dev
- xz-utils
- tk-dev
- libxml2-dev
- libxmlsec1-dev
- libffi-dev
- liblzma-dev
- apt: - apt:
pkg: pkg:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment