Commit 51407213 authored by Jeff Geerling's avatar Jeff Geerling
Browse files

Fixes #5: Use Ansible's reboot module instead of reboot command.

parent 62914a0c
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -17,8 +17,7 @@
  register: boot_cmdline

- name: Rebooting on Raspbian 
  shell: reboot now
  ignore_errors: true
  reboot:
  when: ( boot_cmdline is changed )
          and
        ( ansible_facts.architecture is search("arm") )