Re: [ansible-project] Network Scan in Ansible

2021-06-03 Thread Sumit Jaiswal
Hi Dheeraj, You can also checkout the Ansible.utils filter plugin usable_range (ref: https://github.com/ansible-collections/ansible.utils/blob/main/docs/ansible.utils.usable_range_filter.rst#ansibleutilsusable_range). Regards, Sumit Jaiswal (he/him) Github/IRC: justjais > On 26-May-2021, a

[ansible-project] Re: Ansible raw module ASA

2021-05-11 Thread Sumit Jaiswal
Hi, Is there any specific requirement for using Ansible raw modules instead of available Ansible ASA collections modules which are specifically built for Cisco ASA and you can use any of the available ASA modules to configure your Cisco ASA device. For getting the show version to run over your

Re: [ansible-project] Query Regarding REST API integration in Ansible

2019-11-12 Thread Sumit Jaiswal
Hi Rahul, If you just want to convert .json data to .yaml data then you can use the `to_yaml` filter, ref: https://docs.ansible.com/ansible/latest/user_guide/playbooks_filters.html#filters-for-formatting-data *Regards,* Sumit Jaiswal Github/IRC: *justjais* On Tue, Nov 12, 2019 at 6:37 PM Rahul

Re: [ansible-project] Query Regarding REST API integration in Ansible

2019-11-12 Thread Sumit Jaiswal
ible.com/ansible/latest/plugins/connection/httpapi.html>, this will guide you through the use of HTTPAPI plugin and platforms which have already implemented their REST APIs using the plugin. Regards, Sumit Jaiswal Github/IRC: justjais > On 12-Nov-2019, at 4:11 PM, Rahul Kumar wrote: > >

[ansible-project] Re: Error in ios_vlans module

2019-11-06 Thread Sumit Jaiswal
Hi Michael, I have tried the scenario of vlans delete all you've mentioned and for me it's working as expected: *play*: - name: Delete attributes of ALL VLANs ios_vlans: state: deleted *python version tested*: 2.7.15, 3.6.8 and 3.7.2. But if you still face the above issue, you can log th