mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
6ce7448ca4
* Implemented dconf module for manipulating and reading the dconf database. * Fixed remote execution for the dconf module when state=present by wrapping the invocation with dbus-launch (dconf requires a running DBus user session). Updated documentation to mention external module dependencies. * Fixed remote execution for the dconf module when state=absent by wrapping the invocation with dbus-launch (dconf requires a running DBus user session). * Updated dconf module implementation to make it more robust: - Detect running D-Bus session, and reuse that one if possible. - If detection fails, try launching process via dbus-run-session to avoid left-over D-Bus processes. - As last resort run dbus-launch, and clean-up after the changes have been made. - Updated documentation to mention new dependencies and to be more explicit about module limitations. * Fixed PEP8 errors reported by ansibot in dconf module. * Updated dconf module implementation: - Fail early if psutil library is not available on the system. - Go through all of user's processes to locate a running D-Bus daemon. - Test potential D-Bus session bus address before deciding to (re)use it. - Added a couple of debug statements. - Updated documentation to include dbus-send as requirement. * Updated dconf module implementation: - Simplified module, removing all code for handling dbus-daemon, as discussed in a community meeting. - Module user must ensure that D-Bus user session is available and specified either via module parameter or environment variable. - Updated documentation for the change. * Updated dconf module implementation: - Add back ability to detect running D-Bus user session. - Fail-back to using dbus-run-session if running session could not be detected. * PEP8 fix for dconf module. * Updated dconf module implementation: - Introduce correct examples for Gnome DE. - Rename existing examples to mark them as Cinnamon-specific. - Use self.module.get_bin_path instead of custom check for dbus-run-session. - Fixed typo in method documentation for DconfPreference.reset(). |
||
---|---|---|
.. | ||
ansible |