Merge "Simplify cloud-init check and use command"

This commit is contained in:
Zuul 2022-10-19 18:10:05 +00:00 committed by Gerrit Code Review
commit bce1dd73c7
1 changed files with 1 additions and 1 deletions

View File

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