It is (mostly) safe, depending on your organization.
IP addresses are not technically meant to be hidden. Security through obscurity is hammered into any security-minded individual as the one true evil. Technically, any IP address on your network can be discovered fairly easily by anyone determined enough to find it.
From a security standpoint, assume that every server on your network is known. Though try convincing your company's security team that is a different story. Ergo, your company policies may be a completely different matter.
The one thing I can see being a problem is revealing your network structure to potential outside attacks. Let's say you worked at Valve on this brand new game called Half-Life 2. You posted a question about access issues with your source code repository, and forgot to obfuscate it. Then someone doing a targeted attack against Valve may be able to access this repository from a compromised system. If you're unlucky, there's no authentication required to access the full source code.
Of course any attacker capable of compromising the system in the first place can very well figure out the repo on his own. In most situations, attackers will be able to figure this stuff out by the time they have any sort of intranet access to your network.