Greetings,

  I am trying to get the nic (eth0) info using ansible .. 

When I am running below ansible command I am getting error
ansible all -m shell -a "/sbin/ethtool eth0"
SSH password:
SUDO password[defaults to SSH password]:
hosts.example.com | FAILED | rc=75 >>
Settings for eth0:
No data availableCannot get device settings: Operation not permitted
Cannot get wake-on-lan settings: Operation not permitted
Cannot get link status: Operation not permitted

but "ansible all -m shell -a "/sbin/ifconfig -a eth0"" completes with no 
issues..

Any help with the syntax.

-- 
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/46a833f8-51b2-4893-878b-afec1210dd38%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to