Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17788

How to run nmap scan tool test with Ansible inventory?

$
0
0

Hi,

today I've found a bug in one of our public servers. A mongodb port was open and with no auth enabled. So was open,free,...nightmare.

So I was hoping how could I make a test to every single machine in my list. As you know in Ansible Inventory you have all your machines divided in groups, etc

I know with Ad-Hoc command you can run commands but inside the machine. But my idea will be run nmap since my laptop to every machine on my inventory but...I don't how can do it.

Any ideas are welcome!

Thanks

submitted by rubenorus
[link][13 comments]

Viewing all articles
Browse latest Browse all 17788

Trending Articles