'Updates a single setting in the specified ansible.cfg'

def execute_update(self):

    raise AnsibleError('Option    not    implemented    yet')
    if (self.options.setting is None):
        raise AnsibleOptionsError('update    option    requries    a    setting    to    update')
    (entry, value) = self.options.setting.split('=')
    if ('.' in entry):
        (section, option) = entry.split('.')
    else:
        section = 'defaults'
        option = entry
    subprocess.call(['ansible', '-m', 'ini_file', 'localhost', '-c', 'local', '-a', ('"dest=%s    section=%s    option=%s    value=%s    backup=yes"' % (self.config_file, section, option, value))])
