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/plugins
Vladimir Botka 1d61541951
Feature filter replace_keys (#8446)
* Add filter replace_keys.

* Update examples and integration tests.

* Fix examples and copyright.

* Update documentation, examples and integration tests.

* Implement #8445. Add filter replace_keys

* Fix documentation formatting.

* Fix documentation.

* Fix type(target). Formatting improved.

* Instead of a dictionary, _keys_filter_target_dict returns a list

* No target testing in _keys_filter_params
* Interface changed _keys_filter_params(data, matching_parameter)
* If there are items with equal C(before) the B(first) one will be used.

* Update remove_keys. Interface changed _keys_filter_params(data, matching_parameter)

* The target can't be empty also in _keys_filter_target_dict

* Update plugins/filter/replace_keys.py

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

* Update plugins/filter/replace_keys.py

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

* Update plugins/filter/replace_keys.py

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

* Test attributes before and after are strings in the iteration of target.

* Update plugins/filter/replace_keys.py

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

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
2024-06-14 21:54:58 +02:00
..
action Fix more typos (#7439) 2023-10-29 18:04:44 +01:00
become lint and fix polkit examples (#8381) 2024-05-19 20:50:41 +02:00
cache Fix more typos (#7439) 2023-10-29 18:04:44 +01:00
callback fix(opentelemetry): remove request from the logs (#8430) 2024-06-03 06:50:55 +02:00
connection Refer to LXD containers/VMs as instances (#7873) 2024-01-24 13:35:17 +01:00
doc_fragments #8440 Allow for API Port to be specified when using proxmox_kvm (#8441) 2024-06-08 14:04:59 +02:00
filter Feature filter replace_keys (#8446) 2024-06-14 21:54:58 +02:00
inventory inventory plugins: make wrapping variables as unsafe smarter to avoid triggering an AWX bug (#8225) 2024-04-20 09:39:42 +02:00
lookup bug(lookup/merge_variables): Fix rendering foreign variables (#8303) 2024-05-11 16:51:51 +02:00
module_utils cmd_runner mod util: improvements (#8479) 2024-06-14 07:46:56 +02:00
modules feat: proxmox_vm_info - add network information for guests (#8471) 2024-06-14 07:47:28 +02:00
plugin_utils Feature filter replace_keys (#8446) 2024-06-14 21:54:58 +02:00
test Add test fqdn_valid (#7533) 2023-11-22 09:12:00 +01:00