Network switch total uptime in minutes

Hi,

i want to get the total uptime of switch in minutes,
i have tried the below command for it but it gives me in days, hours, and minutes but i would need it only in minutes:
i am currently using below module for it

  • name: Check device uptime
    ios_command:
    commands:
  • show ver | i uptime
    register: uptime

please help me on this.

Regards,
Syed Nasir

Hi All,

if i can get any reply on this.

Reagrds,
Nasir

Hello,

please ask support questions in the correct place:
https://groups.google.com/forum/#!topic/ansible-project/

This mailing list is for development discussions.

Thanks,
Felix