Files
community.general/plugins/modules
patchback[bot] 1a77ca9b8c [PR #8029/23396e62 backport][stable-8] Fix check mode in iptables_state for incomplete iptables-save files along with integration tests (#8137)
Fix check mode in iptables_state for incomplete iptables-save files along with integration tests (#8029)

* Implement integration test to reproduce #7463

* Make new iptables_state checks async

* Add missing commit to iptable_state integration test

* Remove async when using checkmode in iptables_state integration tests

* Do per table comparison in check mode for iptables_state

* Calculate changes of iptables state per table based on result

* Output target iptables state in checkmode

* Refactor calculation of invidual table states in iptables_state

* Add missing return for table calculation

* Add missing arg to regex check

* Remove leftover debug output for target iptable state

* Parse per table state from raw state string

* Join restored state for extration of table specific rules

* Switch arguments for joining restored iptable state

* Output final ip table state

* Compare content of tables

* Complete iptables partial tables test cases

* Correct order of test iptables data

* Update docu for iptables tables_after

* Add changelog fragment

* Appease the linting gods for iptables_state

* Adjust spelling and remove tables_after from return values

(cherry picked from commit 23396e62dc)

Co-authored-by: Maxopoly <max@dermax.org>
2024-03-24 18:26:15 +01:00
..
2023-10-25 23:01:32 +02:00
2023-06-20 08:14:02 +02:00
2023-06-20 08:14:02 +02:00
2023-07-11 18:28:34 +12:00
2023-06-20 08:14:02 +02:00
2023-06-20 08:14:02 +02:00
2023-10-25 23:01:32 +02:00
2023-07-14 07:03:34 +02:00
2023-10-25 23:01:32 +02:00
2023-10-25 23:01:32 +02:00
2023-10-25 23:01:32 +02:00
2023-06-20 08:14:02 +02:00
2023-09-20 19:29:05 +02:00
2023-06-20 08:14:02 +02:00
2023-06-20 08:14:02 +02:00
2023-10-29 18:04:44 +01:00
2023-10-25 23:01:32 +02:00
2023-10-25 23:01:32 +02:00
2023-10-25 23:01:32 +02:00
2023-06-20 08:14:02 +02:00
2023-10-29 18:04:44 +01:00
2023-07-14 07:03:34 +02:00
2023-06-20 08:14:02 +02:00
2023-10-25 23:01:32 +02:00
2023-10-25 23:01:32 +02:00
2023-07-15 12:54:53 +02:00
2023-10-29 18:04:44 +01:00
2023-10-25 23:01:32 +02:00
2023-10-04 19:48:54 +02:00
2023-09-06 19:11:43 +02:00
2023-06-20 08:14:02 +02:00
2023-06-20 08:14:02 +02:00
2023-08-12 09:57:49 +02:00
2023-06-20 08:14:02 +02:00
2023-06-20 08:14:02 +02:00
2023-10-25 23:01:32 +02:00
2023-07-07 07:15:17 +12:00
2023-10-25 23:01:32 +02:00
2023-10-25 23:01:32 +02:00
2023-07-08 10:14:22 +02:00
2023-10-25 23:01:32 +02:00
2023-10-25 23:01:32 +02:00
2023-10-25 23:01:32 +02:00
2023-06-20 08:14:02 +02:00
2023-02-04 17:05:08 +01:00
2023-10-25 22:05:37 +02:00
2023-06-20 08:14:02 +02:00
2023-06-20 08:14:02 +02:00
2023-10-25 23:01:32 +02:00
2023-06-20 08:14:02 +02:00
2023-10-25 23:01:32 +02:00
2023-06-20 08:14:02 +02:00
2023-10-25 23:01:32 +02:00
2023-10-25 23:01:32 +02:00
2023-06-20 08:14:02 +02:00
2023-06-20 08:14:02 +02:00
2023-06-20 08:14:02 +02:00
2023-10-29 18:04:44 +01:00
2023-10-25 23:01:32 +02:00
2023-06-20 08:14:02 +02:00
2023-06-20 08:14:02 +02:00
2023-06-20 08:14:02 +02:00
2023-10-29 18:04:44 +01:00
2023-06-20 08:14:02 +02:00
2023-06-10 09:28:40 +02:00
2023-10-25 23:01:32 +02:00
2023-06-20 08:14:02 +02:00
2023-06-20 08:14:02 +02:00
2023-10-25 23:01:32 +02:00
2023-10-25 23:01:32 +02:00
2023-06-20 08:14:02 +02:00
2023-06-20 08:14:02 +02:00
2023-10-25 22:05:37 +02:00