Take a look at https://docs.ansible.com/ansible/latest/plugins/inventory/nmap.html
On Mon, 20 Apr 2020 at 11:56, Michal Šiman <[email protected]> wrote: > > Hello to everybody. I would like run ansible playbook on all RPi (raspberry) > in our network (at this moment we have around 300 pieces). All RPi have a IP > dynamic from DHCP server. My idea is scann complete network found all live > IP, get MAC of IP, filter only MAC with RPi vendor and from this IP create a > list, dynamic host file. I have ansible on Linux for shure. What you recomend > for quick solution? Nmap? Ping by sh from python? I all ready tried some > solution but is too slow and non comfortable ... maybe somebody solving > similar problem in history. Thx > > -- > 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/3bcd8201-71db-4d15-be49-1aa97a700a4d%40googlegroups.com. -- Dick Visser Trust & Identity Service Operations Manager GÉANT -- 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/CAL8fbwP_8UFm3gvgk5kAL5ihEDWGJm-zeVXLg_V7mNMpn%3DAWkQ%40mail.gmail.com.
