Skip to content
Snippets Groups Projects
  • Rafael Guterres Jeffman's avatar
    76aad719
    environment: Fix os.environ language setting. · 76aad719
    Rafael Guterres Jeffman authored
    A combination of ansible-freeipa modifications and a newer version of
    IPA has brought a regression regarding different OS localization.
    
    For properly setting environment to use "C" language, as required by
    ansible-freeipa, the setting must be executed before importing the
    module 'ipaserver.dcerpc', so setting environment language was moved
    closer to the 'import os' statement, so that it is always set, as soon
    as possible.
    
    Note that 'import os' should always be imported before any FreeIPA
    module.
    76aad719
    History
    environment: Fix os.environ language setting.
    Rafael Guterres Jeffman authored
    A combination of ansible-freeipa modifications and a newer version of
    IPA has brought a regression regarding different OS localization.
    
    For properly setting environment to use "C" language, as required by
    ansible-freeipa, the setting must be executed before importing the
    module 'ipaserver.dcerpc', so setting environment language was moved
    closer to the 'import os' statement, so that it is always set, as soon
    as possible.
    
    Note that 'import os' should always be imported before any FreeIPA
    module.