mirror of
https://github.com/k3s-io/k3s-ansible.git
synced 2025-12-26 00:22:36 +01:00
Merge pull request #8 from geerlingguy/5-reboot-module
Fixes #5: Use Ansible's reboot module instead of reboot command.
This commit is contained in:
@@ -17,8 +17,7 @@
|
|||||||
register: boot_cmdline
|
register: boot_cmdline
|
||||||
|
|
||||||
- name: Rebooting on Raspbian
|
- name: Rebooting on Raspbian
|
||||||
shell: reboot now
|
reboot:
|
||||||
ignore_errors: true
|
|
||||||
when: ( boot_cmdline is changed )
|
when: ( boot_cmdline is changed )
|
||||||
and
|
and
|
||||||
( ansible_facts.architecture is search("arm") )
|
( ansible_facts.architecture is search("arm") )
|
||||||
|
|||||||
Reference in New Issue
Block a user