Hosts file and security issues

Hi all,

I have a public github repository for my ansible project. The hosts file has the private IP addresses (192.168…) of the production machines. Do you think this could be risky and it would be better to put the project in a private github repository?

Thanks, Marco

It depends what you plan on doing.
There are circumstances where having a publicly available repository
makes sense.
For instance if you run a conference and want to offer collaboration.
With a public repo participants can create pull requests and help fix things.

https://github.com/wandsdn/nznog-ansible

Most people however will have private repositories to store their
infrastructure code.

Offtopic: private repos in GitHub aren't for free anymore...

Dick