Re: [ansible-project] need assistance to gather access list rules associated with public ip's only using ansible

2021-08-18 Thread Melvin Satheesan
Globally acceptable internal IP pool will be 172*, 10* and 192*. So all other ips will be public. Now list all the ips in all acl, append it to a template file, filter it based on desired port, use regular expression (^)as said below and get it concatenated to same file. On Wed, 18 Aug, 2021, 8:58

[ansible-project] New releases: ansible-core 2.11.4, ansible-base 2.10.13, ansible 2.9.25

2021-08-18 Thread Rick Elrod
Hi all- we're happy to announce that the general release of ansible-core 2.11.4, ansible-base 2.10.13, and ansible 2.9.25 are now available. How to get it - $ pip install ansible-core==2.11.4 --user or $ pip install ansible-base==2.10.13 --user or $ pip install ansible==2.9.25 --user

Re: [ansible-project] need assistance to gather access list rules associated with public ip's only using ansible

2021-08-18 Thread Rajthecomputerguy
You have to use regex patterns to match the desired ACL's On Wed, Aug 18, 2021 at 7:54 PM Vikram S wrote: > i need to gather firewall rules (ACL) in which source ip is a public ip or > public subnet and destination is an internal server and port is tcp/3389. I > am wondering how to write a scrip

[ansible-project] need assistance to gather access list rules associated with public ip's only using ansible

2021-08-18 Thread Vikram S
i need to gather firewall rules (ACL) in which source ip is a public ip or public subnet and destination is an internal server and port is tcp/3389. I am wondering how to write a script that will excluded all ACL in which source ip is internal (starting with 10.xx.xx.xx) and gather only ACL in

[ansible-project] need assistance to gather access list rules associated with public ip's only using ansible

2021-08-18 Thread Vikram S
i need to gather firewall rules (ACL) in which source ip is a public ip or public subnet and destination is an internal server and port is tcp/3389. I am wondering how to write a script that will excluded all ACL in which source ip is internal (starting with 10.xx.xx.xx) and gather only ACL in