mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-19 09:57:37 -02:30
Fix systemd version detection
Change "command" to "shell" in order for the pipe to work correctly
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
when: http_proxy is defined or https_proxy is defined
|
when: http_proxy is defined or https_proxy is defined
|
||||||
|
|
||||||
- name: get systemd version
|
- 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
|
register: systemd_version
|
||||||
when: not is_atomic
|
when: not is_atomic
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|||||||
Reference in New Issue
Block a user