perf: update ansible warning

This commit is contained in:
ibuler
2026-04-27 08:52:14 +08:00
parent d625aad4f8
commit 3888cbb3df

View File

@@ -16,6 +16,7 @@ class CeleryBaseService(BaseService):
os.environ.setdefault('LC_ALL', 'C.UTF-8')
os.environ.setdefault('LANG', 'C.UTF-8')
os.environ.setdefault('PYTHONOPTIMIZE', '1')
os.environ.setdefault('ANSIBLE_DEPRECATION_WARNINGS', 'False')
if os.getuid() == 0:
os.environ.setdefault('C_FORCE_ROOT', '1')