Debian Codegraph @

ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_reboot_module.rst

raw
1 .. _cisco.nxos.nxos_reboot_module:
2
3
4 **********************
5 cisco.nxos.nxos_reboot
6 **********************
7
8 **Reboot a network device.**
9
10
11 Version added: 1.0.0
12
13 .. contents::
14 :local:
15 :depth: 1
16
17
18 Synopsis
19 --------
20 - Reboot a network device.
21
22
23
24
25 Parameters
26 ----------
27
28 .. raw:: html
29
30 <table border=0 cellpadding=0 class="documentation-table">
31 <tr>
32 <th colspan="1">Parameter</th>
33 <th>Choices/<font color="blue">Defaults</font></th>
34 <th width="100%">Comments</th>
35 </tr>
36 <tr>
37 <td colspan="1">
38 <div class="ansibleOptionAnchor" id="parameter-"></div>
39 <b>confirm</b>
40 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
41 <div style="font-size: small">
42 <span style="color: purple">boolean</span>
43 </div>
44 </td>
45 <td>
46 <ul style="margin: 0; padding: 0"><b>Choices:</b>
47 <li><div style="color: blue"><b>no</b>&nbsp;&larr;</div></li>
48 <li>yes</li>
49 </ul>
50 </td>
51 <td>
52 <div>Safeguard boolean. Set to true if you&#x27;re sure you want to reboot.</div>
53 </td>
54 </tr>
55 </table>
56 <br/>
57
58
59 Notes
60 -----
61
62 .. note::
63 - Tested against NXOSv 7.3.(0)D1(1) on VIRL
64 - Tested against Cisco MDS NX-OS 9.2(1)
65 - The module will fail due to timeout issues, but the reboot will be performed anyway.
66 - For information on using CLI and NX-API see the :ref:`NXOS Platform Options guide <nxos_platform_options>`
67 - For more information on using Ansible to manage network devices see the :ref:`Ansible Network Guide <network_guide>`
68 - For more information on using Ansible to manage Cisco devices see the `Cisco integration page <https://www.ansible.com/integrations/networks/cisco>`_.
69
70
71
72 Examples
73 --------
74
75 .. code-block:: yaml
76
77 - cisco.nxos.nxos_reboot:
78 confirm: true
79
80
81
82 Return Values
83 -------------
84 Common return values are documented `here <https://docs.ansible.com/ansible/latest/reference_appendices/common_return_values.html#common-return-values>`_, the following are the fields unique to this module:
85
86 .. raw:: html
87
88 <table border=0 cellpadding=0 class="documentation-table">
89 <tr>
90 <th colspan="1">Key</th>
91 <th>Returned</th>
92 <th width="100%">Description</th>
93 </tr>
94 <tr>
95 <td colspan="1">
96 <div class="ansibleOptionAnchor" id="return-"></div>
97 <b>rebooted</b>
98 <a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a>
99 <div style="font-size: small">
100 <span style="color: purple">boolean</span>
101 </div>
102 </td>
103 <td>success</td>
104 <td>
105 <div>Whether the device was instructed to reboot.</div>
106 <br/>
107 <div style="font-size: smaller"><b>Sample:</b></div>
108 <div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">True</div>
109 </td>
110 </tr>
111 </table>
112 <br/><br/>
113
114
115 Status
116 ------
117
118
119 Authors
120 ~~~~~~~
121
122 - Jason Edelman (@jedelman8)
123 - Gabriele Gerbino (@GGabriele)