mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
7713202d9b
* Big revamp in xfconf.py
- added plugin/module_utils/module_helper.py
- scaffold class for writing modules, beyond standard AnsibleModule
- automatic capture of exceptions
- easier dependency testing
- StateMixin to easily handle different behaviours for 'state' param
- CmdMixin to easily run external commands
- adapted test_xfconf.py
- the args for run_command are now lists instead of a string
- value and previous_value were not being tested before (because xfconf wasn't filling results - see below)
- added more tests: setting value to previous_value, getting non-existent property
- rewritten xfconf module, keeping the same results
- original module posted results as ansible_facts, this version still does it for compatibility, but also adds to the module result
* Added suggestions from the PR
* Added russoz as maintainer for the module_utils/module_helper.py file
* Formatting using printf-style requires special treatment
Strings not containing substitution tokens must work as well.
* Tidied up variables in module definition
* Tests with ArgFormat and DependencyCtxMgr
* pytest parameters must be in the same order, it seems
* improved testing for the DependencyCtxMgr
* fixed test for older pythons
* Moved changed property to improve readability
* Added testcase for state: absent and adjusted xfconf after it
* Fixed param name environ_update in run_command()
* added changelog fragment
* fixed tests after run_command param change
(cherry picked from commit
|
||
---|---|---|
.. | ||
.keep | ||
216-fix-lxc-container-container_config-parameter.yaml | ||
229_lvol_percentage_fix.yml | ||
349-pacman_improve_group_expansion_speed.yml | ||
360_syspatch_apply_patches_by_default.yml | ||
409-datadog-monitor-include-tags.yaml | ||
436-infoblox-use-stderr-and-environment-for-config.yaml | ||
713-maven-timestamp-snapshot.yml | ||
805-docker_image-build-output.yml | ||
823-terraform_init_reconfigure.yaml | ||
850-proxmox_kvm-remove_hard_coded_defaults.yml | ||
886-postgresql_query_add_ret_vals.yml | ||
968-gitlab_variables-pagination.yml | ||
993-file-capabilities.yml | ||
1024-vault-skip-verify-support.yml | ||
1028-proxmox-kvm-linked-clone.yml | ||
1036-redis-cache-keyset-name.yaml | ||
1038-fix-homebrew-and-homebrew-cask-package-validation.yaml | ||
1048-postgresql_privs_add_procedure_type.yml | ||
1055-redis-cache-sentinel.yaml | ||
1059-postgresql_privs_fix_failings_when_using_roles_with_hyphen.yml | ||
1078-postgresql_ext_fix_version_selection_when_version_is_latest.yml | ||
1079-redis-use-regexp-to-check-if-the-value-matches-expected-form.yaml | ||
1081-solaris_zone-python3.yml | ||
1091-postgresql_info_add_in_recovery_ret_val.yml | ||
1099-postgresql_ext_fix_failing_when_version_cannot_be_compared.yml | ||
1101-slack-ts-fix.yaml | ||
1105-beadm_bugfix.yaml | ||
1107-monit-fix-status-check.yml | ||
1118-docker_login-config-store.yml | ||
1119-docker_container-device-reqests.yml | ||
1124-pg_hba-dictkey_bugfix.yaml | ||
1126-influxdb-conditional-path-argument.yml | ||
1127-maven_artifact_client_cert.yml | ||
1138-hashi_vault_fix_approle_authentication_without_secret_id.yml | ||
1140-iptables_state-fix-race-condition.yml | ||
1144-consul-add-tcp-check-support.yml | ||
1149-filesystem-fix-355-state-absent.yml | ||
1154-django_manage-docs.yml | ||
1169-getbinpkgonly.yaml | ||
1175-zypper-absent-lang.yml | ||
1179-composer_require_v2_idempotence_fix.yml | ||
1185-proxmox-ignore-qemu-templates.yml | ||
1196-use_description-in-gitlab-group-creation.yml | ||
1206-proxmox-api-token.yml | ||
1213-hashi_vault-jwt-auth-support.yaml | ||
1223-nios-remove-redundant-aliases.yml | ||
1243-pkgng-present-ignoreosver.yaml | ||
1244-renamed-parameter.yaml | ||
1246-flatpak-use-non-interactive-argument.yaml | ||
1258-proxmox_kvm-ignore-pool-on-update.yaml | ||
1270-linode-v4-stackscript-support.yaml | ||
1305-added-xfconf-tests.yaml | ||
1322-module_helper_and_xfconf.yaml | ||
community.docker-31-docker-secret.yml | ||
fix-plugin-imports.yml | ||
nmcli-refactor.yml | ||
odbc.yml | ||
openbsd_pkg.yml | ||
proxmox_template-appliance-download.yml | ||
remove-ansible.posix-dependency.yml |