mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-26 13:25:04 -02:30
Fix E306 in other roles (#6517)
This commit is contained in:
@@ -11,9 +11,11 @@
|
||||
notify: restart docker
|
||||
when: http_proxy is defined or https_proxy is defined
|
||||
|
||||
- name: get systemd version # noqa 306
|
||||
- name: get systemd version
|
||||
# noqa 303 - systemctl is called intentionally here
|
||||
shell: systemctl --version | head -n 1 | cut -d " " -f 2
|
||||
shell: set -o pipefail && systemctl --version | head -n 1 | cut -d " " -f 2
|
||||
args:
|
||||
executable: /bin/bash
|
||||
register: systemd_version
|
||||
when: not is_ostree
|
||||
changed_when: false
|
||||
|
||||
Reference in New Issue
Block a user