Update reboot module to include message option (#81374)

pull/81395/head
Aditya Putta 1 year ago committed by GitHub
parent 2e4a501549
commit b8db05f13e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -121,6 +121,10 @@ EXAMPLES = r'''
reboot_command: launchctl reboot userspace reboot_command: launchctl reboot userspace
boot_time_command: uptime | cut -d ' ' -f 5 boot_time_command: uptime | cut -d ' ' -f 5
- name: Reboot machine and send a message
ansible.builtin.reboot:
msg: "Rebooting machine in 5 seconds"
''' '''
RETURN = r''' RETURN = r'''

Loading…
Cancel
Save