cisco.nxos.nxos_reboot (7.0.0) — module

Reboot a network device.

| "added in version" 1.0.0 of cisco.nxos"

Authors: Jason Edelman (@jedelman8), Gabriele Gerbino (@GGabriele)

Install collection

Install with ansible-galaxy collection install cisco.nxos:==7.0.0


Add to requirements.yml

  collections:
    - name: cisco.nxos
      version: 7.0.0

Description

Reboot a network device.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- cisco.nxos.nxos_reboot:
    confirm: true

Inputs

    
confirm:
    default: false
    description:
    - Safeguard boolean. Set to true if you're sure you want to reboot.
    required: false
    type: bool

Outputs

rebooted:
  description: Whether the device was instructed to reboot.
  returned: success
  sample: true
  type: bool