Skip to content
Snippets Groups Projects
Commit 9c10be59 authored by nimrod's avatar nimrod
Browse files

Validate assertion that the init is systemd.

The debian_server role has some systemd specific parts, validate the
assertion that indeed systemd is being used.
parent 6e9c3ccb
No related branches found
No related tags found
No related merge requests found
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
that: that:
- ansible_distribution == "Debian" - ansible_distribution == "Debian"
- ansible_distribution_major_version|int >= 10 - ansible_distribution_major_version|int >= 10
- ansible_service_mgr == "systemd"
- name: Disable cgroup2 for Docker - name: Disable cgroup2 for Docker
lineinfile: lineinfile:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment