ansible/lib/ansible
Branko Majic 6ce7448ca4 New module: Add module for manipulating the dconf database (system/dconf) (#23015)
* 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().
2017-06-08 09:12:34 -07:00
..
cli ansible-doc: fix exception for required field 2017-06-03 14:32:05 +02:00
compat ansible/compat/: PEP8 compliancy (#24689) 2017-05-18 08:36:11 +01:00
config
errors ansible/errors: PEP8 compliancy (#24693) 2017-05-18 08:34:57 +01:00
executor When cleaning up the AnsiBallZ tempdir we need to not fail if the tempdir wasn't created 2017-06-07 06:38:42 -07:00
galaxy Transition inventory into plugins (#23001) 2017-05-23 17:16:49 -04:00
inventory minor protection against bad config 2017-06-05 16:46:51 -04:00
module_utils New module: manage Citrix Netscaler service configuration (network/netscaler/netscaler_service) (#25129) 2017-06-08 08:33:32 -06:00
modules New module: Add module for manipulating the dconf database (system/dconf) (#23015) 2017-06-08 09:12:34 -07:00
parsing Imports and includes (#25399) 2017-06-06 16:39:48 -05:00
playbook Imports and includes (#25399) 2017-06-06 16:39:48 -05:00
plugins make sure ini handles children no matter the order 2017-06-08 10:37:19 -04:00
template Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
utils New module: manage Citrix Netscaler service configuration (network/netscaler/netscaler_service) (#25129) 2017-06-08 08:33:32 -06:00
vars Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
__init__.py
constants.py Add support for cliconf and netconf plugin (#25093) 2017-06-06 13:56:25 +05:30
release.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00