Browse Source

Suppress unexpected error caused by non-English locale during CRI-O installation

Daein 6 năm trước cách đây
mục cha
commit
4e86c4f88e

+ 2 - 0
roles/container_runtime/tasks/common/setup_docker_symlink.yml

@@ -13,6 +13,8 @@
 
     - name: "Set the selinux context on {{ docker_alt_storage_path }}"
       command: "semanage fcontext -a -e {{ docker_default_storage_path }} {{ docker_alt_storage_path }}"
+      environment:
+        LANG: C
       register: results
       failed_when:
         - results.rc == 1