Merge pull request #2433 from octarinesec/eyeofthefrog/systemd_command_fix

Fix systemd version detection
This commit is contained in:
Chad Swenson 2018-03-08 22:28:12 -06:00 committed by GitHub
commit 8a46e050e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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