Skip to content
Snippets Groups Projects
  • Thomas Woerner's avatar
    d31a132a
    ipa[server,replica,client]: setup_logging wrapper for standard_logging_setup · d31a132a
    Thomas Woerner authored
    The import of ansible_ipa_server, ansible_ipa_replica and ansible_ipa_client
    might result in a permission denied error for the log file. It seems that
    for collections the module utils seem to be loaded before the needed
    permissions are aquired now.
    
    The fix simply adds a wrapper for standard_logging_setup that is called in
    all the modules of the server, replica and client roles to do the loggin
    setup as one of the first steps of the module execution and not before.
    d31a132a
    History
    ipa[server,replica,client]: setup_logging wrapper for standard_logging_setup
    Thomas Woerner authored
    The import of ansible_ipa_server, ansible_ipa_replica and ansible_ipa_client
    might result in a permission denied error for the log file. It seems that
    for collections the module utils seem to be loaded before the needed
    permissions are aquired now.
    
    The fix simply adds a wrapper for standard_logging_setup that is called in
    all the modules of the server, replica and client roles to do the loggin
    setup as one of the first steps of the module execution and not before.