Browse Source

Fix systemd version detection

Change "command" to "shell" in order for the pipe to work correctly
pull/2433/head
Chris Mildebrandt 7 years ago
parent
commit
605738757d
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/docker/tasks/systemd.yml

2
roles/docker/tasks/systemd.yml

@ -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

Loading…
Cancel
Save