mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-05 17:30:30 +00:00
fix: Ansible could not initialize the preferred locale
This commit is contained in:
@@ -18,6 +18,8 @@ class BaseRunner(WorkPostRunCleaner):
|
||||
os.environ.setdefault('ANSIBLE_FORCE_COLOR', 'True')
|
||||
os.environ.setdefault('ANSIBLE_CONFIG', ansible_config_path)
|
||||
os.environ.setdefault('ANSIBLE_LIBRARY', ansible_modules_path)
|
||||
os.environ.setdefault('LC_ALL', 'C.UTF-8')
|
||||
os.environ.setdefault('LANG', 'C.UTF-8')
|
||||
|
||||
@classmethod
|
||||
def kill_precess(cls, pid):
|
||||
|
Reference in New Issue
Block a user