1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/changelogs/fragments
patchback[bot] 1f4a98c8cc
Module listen ports facts extend output (#4953) (#5041)
* Initial Rework of netstat and ss to include additional information.
State, foreign address, process.

* Fixed sanity tests. Python 2 compatible code. pylint errors resolved.

* Sanity tests. ss_parse fix minor error I created before.

* Rename variable for clarity

* Python2 rsplit takes no keyword argument. -> remove keyword argument

* Generic improvments for split_pid_name. Added changelog

* Sanity Test (no type hints for python2.7)

* add include_non_listening param. Add param to test. Add documentation. Only return state and foreign_address when include_non_listening

* Update changelogs/fragments/4953-listen-ports-facts-extend-output.yaml

Co-authored-by: Felix Fontein <felix@fontein.de>

* Add info to changelog fragment. Clarify documentation.

* The case where we have multiple entries in pids for udp eg: users:(("rpcbind",pid=733,fd=5),("systemd",pid=1,fd=30)) is not in the tests. So roll back to previous approach where this is covered. Fix wrong if condition for include_non_listening.

* Rewrite documentation and formatting.

* Last small documentation adjustments.

* Update parameters to match description.

* added test cases to check if include_non_listening is set to no by default. And test if ports and foreign_address exists if set to yes

* undo rename from address to local_address -> breaking change

* Replace choice with bool, as it is the correct fit here

* nestat distinguishes between tcp6 and tcp output should always be tcp

* Minor adjustments in the docs (no -> false, is set to yes -> true)

Co-authored-by: Paul-Kehnel <paul.kehnel@ocean.ibm.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit c273498a03)

Co-authored-by: PKehnel <ga65coy@mytum.de>
2022-07-31 22:55:13 +02:00
..
.keep Rename changelogs/fragments/.empty -> changelogs/fragments/.keep 2020-08-07 08:17:57 +02:00
4812-expose-unredirected-headers.yml Expose unredirected_headers on maven_artifact (#4812) (#4994) 2022-07-24 12:29:11 +02:00
4945-fix-get_vm-int-parse-handling.yaml proxmox module_utils: fix get_vm int parse handling (#4945) (#4967) 2022-07-21 08:14:42 +02:00
4953-listen-ports-facts-extend-output.yaml Module listen ports facts extend output (#4953) (#5041) 2022-07-31 22:55:13 +02:00
4955-fix-path-detection-for-gopass.yaml Fix changelog fragment. 2022-07-29 12:10:40 +02:00
4959-pacman-fix-url-packages-name.yaml Pacman: Fix name of URL packages (#4959) (#4971) 2022-07-21 20:16:28 +02:00
4964-fix-keyring-info.yml Fix keyring_info when using keyring library (#4964) (#4991) 2022-07-24 13:18:29 +02:00
4973-introduce-dig-lookup-argument.yaml Introduce dig lookup argument fail_on_error (#4973) (#4992) 2022-07-24 13:18:38 +02:00
4975-xfconf-use-do-raise.yaml xfconf and xfconf_info: use do_raise (#4975) (#4993) 2022-07-24 13:19:59 +02:00
4976-apk-add-support-for-a-custom-world-file.yaml Apk: add support for a custom world file (#4976) (#5005) 2022-07-26 12:26:38 +02:00
4996-consul-session-ttl.yml consul: add support for session TTL (#4996) (#5038) 2022-07-31 22:12:13 +02:00
4999-xfconf-bool.yml xfconf: fix setting of boolean values (#5007) (#5013) 2022-07-27 08:37:43 +02:00
5027-fix-returnall-for-gopass.yaml Fix returnall for gopass (#5027) (#5029) 2022-07-29 14:33:45 +02:00
5035-mh-base-verbosity.yaml mh base: add verbosity() property (#5035) (#5036) 2022-07-31 11:39:33 +02:00