From 51570526a902c87ec8cc8eddc77328795d79023b Mon Sep 17 00:00:00 2001 From: Nicolas Quiniou-Briand Date: Fri, 3 Jan 2020 16:04:28 +0100 Subject: [PATCH] add example for 'search_paths' option (#65731) credit to GoneWacko, see #51190 for reference --- lib/ansible/modules/system/reboot.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/ansible/modules/system/reboot.py b/lib/ansible/modules/system/reboot.py index cb901e5cae..ef00874e38 100644 --- a/lib/ansible/modules/system/reboot.py +++ b/lib/ansible/modules/system/reboot.py @@ -79,6 +79,11 @@ EXAMPLES = r''' - name: Reboot a slow machine that might have lots of updates to apply reboot: reboot_timeout: 3600 + +- name: Reboot a machine with shutdown command in unusual place + reboot: + search_paths: + - '/lib/molly-guard' ''' RETURN = r'''