diff --git a/common/deploy-steps-tasks-step-0.yaml b/common/deploy-steps-tasks-step-0.yaml index 06ea22d258..2428e3840c 100644 --- a/common/deploy-steps-tasks-step-0.yaml +++ b/common/deploy-steps-tasks-step-0.yaml @@ -13,7 +13,7 @@ become: true register: cloud_init_enabled - name: Check if cloud-init is disabled via kernel args - shell: cat /proc/cmdline | grep -q cloud-init=disabled + command: grep -q cloud-init=disabled /proc/cmdline failed_when: false check_mode: false register: cloud_init_vendor_disabled