Debian Codegraph @

ansible_collections/microsoft/ad/plugins/doc_fragments/action_reboot.py

raw
1 # -*- coding: utf-8 -*-
2
3 # Copyright (c) 2024 Ansible Project
4 # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
5
6
7 class ModuleDocFragment:
8
9 # Common options for ansible_collections.microsoft.ad.plugins.plugin_utils._module_with_reboot
10 DOCUMENTATION = r"""
11 options:
12 reboot:
13 description:
14 - If C(true), this will reboot the host if a reboot was required by the
15 module.
16 - If C(false), this will not reboot the host if a reboot was required and
17 instead sets the I(reboot_required) return value to C(true).
18 - This cannot be used with async mode.
19 type: bool
20 default: false
21 reboot_timeout:
22 description:
23 - Maximum seconds to wait for machine to re-appear after a reboot and respond to a test command.
24 - This timeout is evaluated separately for both the reboot verification and test command success so
25 the total timeout can be twice this value.
26 default: 600
27 type: int
28 version_added: 1.7.0
29 """