Support defining a custom reboot command

This commit is contained in:
Phil Bolduc
2024-03-03 16:52:31 -08:00
parent f175716339
commit 0b94640930
5 changed files with 8 additions and 0 deletions

View File

@@ -2,4 +2,5 @@
- name: Reboot server
become: true
reboot:
reboot_command: "{{ custom_reboot_command | default(omit) }}"
listen: reboot server

View File

@@ -1,4 +1,5 @@
---
- name: Reboot
reboot:
reboot_command: "{{ custom_reboot_command | default(omit) }}"
listen: reboot