ansible-development-environ.../roles/reboot/vars/main.yml

8 lines
210 B
YAML

---
# vars file for reboot
_reboot_command:
default: shutdown -r now {{ reboot_message }}
Alpine: reboot
reboot_command: "{{ _reboot_command[ansible_distribution] | default(_reboot_command['default']) }}"