Skip to content
Snippets Groups Projects
Commit 60573875 authored by Chris Mildebrandt's avatar Chris Mildebrandt
Browse files

Fix systemd version detection

Change "command" to "shell" in order for the pipe to work correctly
parent 569613f2
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@
when: http_proxy is defined or https_proxy is defined
- name: get systemd version
command: systemctl --version | head -n 1 | cut -d " " -f 2
shell: systemctl --version | head -n 1 | cut -d " " -f 2
register: systemd_version
when: not is_atomic
changed_when: false
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment