Thanks for the reply.
Yes I am aware but I am used to INI format and the example is in YAML
format. Is it possible to convert the same to INI format.
Below is the example of my inventory which is static
[centos]
<IP>

[ubuntu]
<IP>

& so on...

If I have to execute in ansible, the command I use is --- >*ansible centos
-m ping *---- & so on
Can you guide me how to do it for nmap ? Please advise!

Manish

On Mon, Nov 14, 2022 at 9:12 PM Brian Coca <[email protected]> wrote:

> The plugin itself has an example config, you might just need to change
> the IP ranges involved.
>
>
> https://docs.ansible.com/ansible/latest/collections/community/general/nmap_inventory.html#examples
>
>
> --
> ----------
> Brian Coca
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Ansible Project" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/ansible-project/xsRuo7AdEbI/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/CACVha7fVK0ntDY%2BxfSyt4U5hp%2BVOG8mDx8u4%2BRhpXTJxzC38hQ%40mail.gmail.com
> .
>

-- 
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/CA%2BFrMwnHOWMwR8gy4X5fbFWQtAsAC_rCpsy14u8O3PK7kE%3DYkg%40mail.gmail.com.

Reply via email to