Quellcode durchsuchen

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

Daein vor 6 Jahren
Ursprung
Commit
4e86c4f88e
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  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