Hello there,

I am working with Ansible Tower 3.8.4, RHEL 8.4 and I can't run ping via 
shell command.

fatal: [localhost]: FAILED! => {"changed": true, "cmd": "ping google.com -c 
5", "delta": "0:00:00.005199", "end": "2022-03-24 09:59:23.286631", "msg": 
"non-zero return code", "rc": 2, "start": "2022-03-24 09:59:23.281432", 
"stderr": "ping: socket: Operation not permitted", "stderr_lines": ["ping: 
socket: Operation not permitted"], "stdout": "", "stdout_lines": []}

ls -lartZ /usr/bin/ping
-rwxr-xr-x. 1 root root system_u:object_r:ping_exec_t:s0 67680 Feb 22  2021 
/usr/bin/ping

getcap /usr/bin/ping
/usr/bin/ping = cap_net_admin,cap_net_raw+p

sysctl -a | grep ping
net.ipv4.ping_group_range = 1   0

Is it possible that I am missing something? Is this intentional for some 
reason in Ansible Tower?

Thanks in advance,

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/88da291f-e28d-4a30-9beb-551c936b9037n%40googlegroups.com.

Reply via email to