Skip to content
Snippets Groups Projects
  • Rafael Guterres Jeffman's avatar
    e4d2a7b3
    api_connect: Allow configuration of IPA API connection. · e4d2a7b3
    Rafael Guterres Jeffman authored
    This change adds a keyword parameter to api_connect() which can be
    used to configure IPA API connection, for example, controlling the
    use of LDAP cache, by passing 'ldap_cache' as an argument.
    
    Also, IPAAnsibleModule is modified to automatically filter all
    parameters of the module starting with 'ipaapi_' to be used as
    arguments to configure api_connect(). The argument name will have
    the same name as the module parameter with 'ipaapi_' stripped off.
    e4d2a7b3
    History
    api_connect: Allow configuration of IPA API connection.
    Rafael Guterres Jeffman authored
    This change adds a keyword parameter to api_connect() which can be
    used to configure IPA API connection, for example, controlling the
    use of LDAP cache, by passing 'ldap_cache' as an argument.
    
    Also, IPAAnsibleModule is modified to automatically filter all
    parameters of the module starting with 'ipaapi_' to be used as
    arguments to configure api_connect(). The argument name will have
    the same name as the module parameter with 'ipaapi_' stripped off.