'Retrieves current value associated with the dconf key.
If an error occurs, a call will be made to AnsibleModule.fail_json.
:returns: string -- Value assigned to the provided key. If the value is not set for specified key, returns None.'

def read(self, key):

    command = ['dconf', 'read', key]
    (rc, out, err) = self.module.run_command(command)
    if (rc != 0):
        self.module.fail_json(msg=('dconf    failed    while    reading    the    value    with    error:    %s' % err))
    if (out == ''):
        value = None
    else:
        value = out.rstrip('\n')
    return value
