fix(raspberrypi): run detection commands in check mode (#542)

Signed-off-by: Artem Muterko <artem@sopho.tech>
This commit is contained in:
Archy authored and GitHub committed 2026-07-06 09:38:25 -07:00
1 parent de30fcd06c
commit 33b0ca9fa0
1 file changed
+2
+2
View File
@@ -4,12 +4,14 @@
register: raspberrypi_grep_cpuinfo
failed_when: false
changed_when: false
check_mode: false
- name: Test for raspberry pi /proc/device-tree/model
ansible.builtin.command: grep -E "Raspberry Pi" /proc/device-tree/model
register: raspberrypi_grep_device_tree_model
failed_when: false
changed_when: false
check_mode: false
- name: Run Raspberry Pi-specific tasks
when: