Преглед на файлове

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

Daein преди 6 години
родител
ревизия
4e86c4f88e
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      roles/container_runtime/tasks/common/setup_docker_symlink.yml

+ 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