Not what you're after, I suspect, but...
shell: "ethtool {{ ansible_default_ipv4.interface }} | awk '/Duplex|Speed/
{ print $1, $2 }'"
On Wednesday, 6 April 2016 08:13:59 UTC+1, Deepa Yr wrote:
>
> Hi
>
> I want to check machine is provisioned with proper specifications
> or not. As part of that I need to check the speed and bandwidth. Setup does
> not give any info on this.,
> ethtool eth0
> Settings for eth0:
> Link detected: yes
>
> The ethtool command gives only this much info. Other properties are not
> listed on the provisioned machines (RHEL 7.2) . Is there a way to get the
> speed and bandwidth details ?
>
> Thanks
>
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/d83f6bb9-8c45-41ed-aab1-7fb9af18e061%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.