1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-06-16 04:47:30 +00:00
community.general/tests/integration/targets
patchback[bot] 3bc92d03c4
[PR #12148/5004c9f7 backport][stable-13] xml: preserve DOCTYPE declaration when writing XML files (#12249)
xml: preserve DOCTYPE declaration when writing XML files (#12148)

* fix(xml): preserve DOCTYPE declaration when writing XML files

Pass `doctype=tree.docinfo.doctype` to all `ElementTree.write()` calls
so lxml does not silently drop the DOCTYPE on serialization. Also replace
`etree.tostring()` with BytesIO+write() in the diff and xmlstring paths
for consistency.

Fixes #2762



* test(xml): add integration test for DOCTYPE preservation



* feat(changelog): add fragment for xml DOCTYPE fix (#12148)



---------


(cherry picked from commit 5004c9f70f)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-13 17:33:15 +02:00
..
aix_devices
aix_filesystem
alerta_customer
alternatives
android_sdk
ansible_galaxy_install
apache2_mod_proxy
apache2_module
apk
archive
btrfs_subvolume
callback
callback_default_without_diff
callback_diy
callback_log_plays
callback_print_task
callback_tasks_only
callback_timestamp
cargo
cloud_init_data_facts [PR #12222/53bde7f0 backport][stable-13] Add OpenSuSE Tumbleweed target to CI (#12225) 2026-06-12 07:39:39 +02:00
cmd_runner
connection
connection_chroot
connection_incus
connection_jail
connection_lxc
connection_lxd
connection_posix
connection_wsl
consul
copr
cpanm
cronvar
decompress
deploy_helper
discord
django_command
django_manage
dnf_versionlock
dpkg_divert
ejabberd_user [PR #12222/53bde7f0 backport][stable-13] Add OpenSuSE Tumbleweed target to CI (#12225) 2026-06-12 07:39:39 +02:00
etcd3
file_remove
filesize
filesystem [PR #12218/9c0051e3 backport][stable-13] filesystem module gfs2 support (#12239) 2026-06-13 16:43:29 +02:00
filter_accumulate
filter_counter
filter_dict
filter_dict_kv
filter_from_csv
filter_from_ini
filter_from_toml [PR #12081/8faf8c38 backport][stable-13] Add from_toml filter (#12081) (#12125) 2026-05-30 15:11:41 +02:00
filter_groupby_as_dict
filter_hashids
filter_jc
filter_json_patch
filter_json_query
filter_keep_keys
filter_lists
filter_lists_mergeby
filter_path_join_shim
filter_random_mac
filter_remove_keys
filter_replace_keys
filter_reveal_ansible_type
filter_time
filter_to_ini
filter_to_prettytable
filter_to_toml
filter_to_yaml
filter_unicode_normalize
filter_version_sort
flatpak
flatpak_remote
gandi_livedns
gem [PR #12222/53bde7f0 backport][stable-13] Add OpenSuSE Tumbleweed target to CI (#12225) 2026-06-12 07:39:39 +02:00
git_config
git_config_info
github_issue
github_key
gitlab_branch
gitlab_deploy_key
gitlab_group
gitlab_group_access_token
gitlab_group_members
gitlab_group_variable
gitlab_hook
gitlab_instance_variable
gitlab_issue
gitlab_label
gitlab_merge_request
gitlab_milestone
gitlab_project
gitlab_project_access_token
gitlab_project_approvals [PR #12096/e41e76fd backport][stable-13] new module: gitlab_project_approvals configures GitLab project approval rules (#12133) 2026-05-30 15:12:25 +02:00
gitlab_project_badge
gitlab_project_members
gitlab_project_variable
gitlab_runner
gitlab_user
hg
homebrew
homebrew_cask
homebrew_services
homectl
htpasswd [PR #12222/53bde7f0 backport][stable-13] Add OpenSuSE Tumbleweed target to CI (#12225) 2026-06-12 07:39:39 +02:00
hwc_ecs_instance
hwc_evs_disk
hwc_network_vpc
hwc_smn_topic
hwc_vpc_eip
hwc_vpc_peering_connect
hwc_vpc_port
hwc_vpc_private_ip
hwc_vpc_route
hwc_vpc_security_group
hwc_vpc_security_group_rule
hwc_vpc_subnet
ilo_redfish_command
ilo_redfish_config
ilo_redfish_info
influxdb_user
ini_file
interfaces_file
ipify_facts [PR #12201/877f20f2 backport][stable-13] replace lingering ansible_xxx with ansible_facts.xxx (#12202) 2026-06-06 11:52:58 +02:00
iptables_state [PR #12209/f20f0d9c backport][stable-13] iptables_state integration tests: improve skip conditions (#12212) 2026-06-09 17:48:36 +02:00
ipwcli_dns
iso_create
iso_customize
iso_extract [PR #12162/cdd9c1dd backport][stable-13] test(integration): explicitly add executable to iso_extract on Fedora (#12166) 2026-06-01 06:33:57 +02:00
java_cert
java_keystore
jboss
jenkins_credential
jira
kdeconfig
kea_command
kernel_blacklist
keycloak_authentication
keycloak_authentication_v2
keycloak_authz_authorization_scope
keycloak_authz_custom_policy
keycloak_authz_permission
keycloak_client
keycloak_client_rolescope
keycloak_clientscope_rolemappings [PR #11841/20a07fc9 backport][stable-13] new module: keycloak_clientscope_rolemappings (#12130) 2026-05-30 15:11:54 +02:00
keycloak_clientscope_type
keycloak_clientsecret_info
keycloak_clientsecret_regenerate
keycloak_component_info
keycloak_group
keycloak_group_rolemapping
keycloak_identity_provider
keycloak_modules_authentication
keycloak_realm
keycloak_realm_key
keycloak_realm_users_info [PR #12105/7b8ed586 backport][stable-13] new module: keycloak_realm_users_info (#12229) 2026-06-12 23:45:55 +02:00
keycloak_role
keycloak_user [PR #11749/2d89fb1c backport][stable-13] keycloak_user: fix email_verified is not idempotent (#12129) 2026-05-30 15:11:33 +02:00
keycloak_user_federation
keycloak_user_rolemapping
keycloak_userprofile
keyring
launchd
ldap_inc
ldap_search
listen_ports_facts
locale_gen
logstash_plugin
lookup_binary_file
lookup_cartesian
lookup_collection_version
lookup_dependent
lookup_dig
lookup_etcd3
lookup_filetree [PR #12205/4cc0fbd3 backport][stable-13] Add integration tests for filetree lookup exclude handling (#12231) 2026-06-12 23:45:44 +02:00
lookup_flattened
lookup_github_app_access_token
lookup_lmdb_kv
lookup_merge_variables
lookup_passwordstore [PR #12222/53bde7f0 backport][stable-13] Add OpenSuSE Tumbleweed target to CI (#12225) 2026-06-12 07:39:39 +02:00
lookup_random_pet
lookup_random_string
lookup_random_words
lvg
lvg_rename
lvm_pv
lvm_pv_move_data
lvol
lxd_project
lxd_storage_pool_info
lxd_storage_volume_info
mail
mas
memset_dns_reload
memset_memstore_info
memset_server_info
memset_zone
memset_zone_domain
memset_zone_record
module_helper
monit [PR #12222/53bde7f0 backport][stable-13] Add OpenSuSE Tumbleweed target to CI (#12225) 2026-06-12 07:39:39 +02:00
mqtt
mssql_script
nomad
npm [PR #12201/877f20f2 backport][stable-13] replace lingering ansible_xxx with ansible_facts.xxx (#12202) 2026-06-06 11:52:58 +02:00
odbc
one_host
one_image
one_image_info
one_template
one_vnet
osx_defaults
pacman
pagerduty_user
pam_limits
pamd
parted
pids
pipx
pipx_info
pkgng [PR #12195/10d77d93 backport][stable-13] remove references to FreeBSD versions that are no longer used in CI (#12198) 2026-06-05 13:47:42 +02:00
pkgutil
pnpm
python_requirements_info
python_runner
read_csv
redis_info
rundeck
scaleway_compute
scaleway_container
scaleway_container_info
scaleway_container_namespace
scaleway_container_namespace_info
scaleway_container_registry
scaleway_container_registry_info
scaleway_database_backup
scaleway_function
scaleway_function_info
scaleway_function_namespace
scaleway_function_namespace_info
scaleway_image_info
scaleway_ip
scaleway_ip_info
scaleway_lb
scaleway_organization_info
scaleway_security_group
scaleway_security_group_info
scaleway_security_group_rule
scaleway_server_info
scaleway_snapshot_info
scaleway_sshkey
scaleway_user_data
scaleway_volume
scaleway_volume_info
sefcontext
setup_apache2/tasks [PR #12222/53bde7f0 backport][stable-13] Add OpenSuSE Tumbleweed target to CI (#12225) 2026-06-12 07:39:39 +02:00
setup_cron
setup_docker
setup_epel/tasks
setup_etcd3
setup_flatpak_remote
setup_gnutar
setup_influxdb/tasks
setup_java_keytool
setup_mosquitto
setup_openldap
setup_opennebula
setup_openssl
setup_os_pkg_name/tasks [PR #12201/877f20f2 backport][stable-13] replace lingering ansible_xxx with ansible_facts.xxx (#12202) 2026-06-06 11:52:58 +02:00
setup_paramiko
setup_pip_scripts_path/tasks
setup_pkg_mgr/tasks
setup_postgresql_db
setup_redis_replication [PR #12222/53bde7f0 backport][stable-13] Add OpenSuSE Tumbleweed target to CI (#12225) 2026-06-12 07:39:39 +02:00
setup_remote_constraints
setup_remote_tmp_dir
setup_remote_tmp_dir_outside_tmp
setup_rundeck
setup_snap
setup_tls
setup_wildfly_server
shutdown
snap
snap_alias
snap_connect
spectrum_model_attrs
ssh_config
sudoers [PR #12186/59e4e5f4 backport][stable-13] sudoers: add defaults attribute to allow specifying scoped defaults (#12227) 2026-06-12 23:46:12 +02:00
supervisorctl
sysrc [PR #12195/10d77d93 backport][stable-13] remove references to FreeBSD versions that are no longer used in CI (#12198) 2026-06-05 13:47:42 +02:00
systemd_creds_decrypt
systemd_creds_encrypt
systemd_info
terraform
test_a_module
test_ansible_type
test_fqdn_valid
timezone
ufw
uv_python
wakeonlan
xattr
xfs_quota
xml [PR #12148/5004c9f7 backport][stable-13] xml: preserve DOCTYPE declaration when writing XML files (#12249) 2026-06-13 17:33:15 +02:00
yarn [PR #12201/877f20f2 backport][stable-13] replace lingering ansible_xxx with ansible_facts.xxx (#12202) 2026-06-06 11:52:58 +02:00
yum_versionlock
zpool
zypper [PR #12222/53bde7f0 backport][stable-13] Add OpenSuSE Tumbleweed target to CI (#12225) 2026-06-12 07:39:39 +02:00
zypper_repository [PR #12222/53bde7f0 backport][stable-13] Add OpenSuSE Tumbleweed target to CI (#12225) 2026-06-12 07:39:39 +02:00