mirror of
https://github.com/k3s-io/k3s-ansible.git
synced 2026-08-08 18:43:17 +02:00
fix(raspberrypi): run detection commands in check mode (#542)
Signed-off-by: Artem Muterko <artem@sopho.tech>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user