Thanks. As mentioned in my email, ethtool is not returning anything on my 
machine except as below.
ethtool eth0
Settings for eth0:
        Link detected: yes

Only above info is listed. So when I try to run your command, I get blank


On Thursday, April 7, 2016 at 12:19:13 AM UTC+5:30, Mark Phillips wrote:
>
> 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/d04121cb-fa9a-45bf-8426-496728408273%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to