diff --git a/contrib/ansible/roles/raspbian/tasks/main.yml b/contrib/ansible/roles/raspbian/tasks/main.yml index ba0d2804aa..1bc085fbcc 100644 --- a/contrib/ansible/roles/raspbian/tasks/main.yml +++ b/contrib/ansible/roles/raspbian/tasks/main.yml @@ -19,6 +19,6 @@ - name: Rebooting on Raspbian shell: reboot now ignore_errors: true - when: ( boot_cmdline | changed ) + when: ( boot_cmdline is changed ) and ( ansible_facts.architecture is search("arm") )