Browse Source

Merge pull request #9089 from bysnupy/master

Suppress unexpected errors caused by non-English locale during CRI-O installation
OpenShift Merge Robot 6 years ago
parent
commit
afacf023bc
1 changed files with 2 additions and 0 deletions
  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