From 2fc02ed456cf4201e40e0351e1db19c372c2b4ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=B0=AD=E5=86=9B?= <2799194073@qq.com> Date: Wed, 25 Sep 2019 19:04:00 +0800 Subject: [PATCH] fix-typo (#5199) --- .../glusterfs/roles/glusterfs/server/tasks/main.yml | 2 +- inventory/sample/group_vars/k8s-cluster/k8s-cluster.yml | 2 +- roles/kubernetes-apps/helm/templates/helm-make-ssl.sh.j2 | 2 +- roles/kubernetes/preinstall/tasks/0020-verify-settings.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/contrib/network-storage/glusterfs/roles/glusterfs/server/tasks/main.yml b/contrib/network-storage/glusterfs/roles/glusterfs/server/tasks/main.yml index 76116257c..03d290832 100644 --- a/contrib/network-storage/glusterfs/roles/glusterfs/server/tasks/main.yml +++ b/contrib/network-storage/glusterfs/roles/glusterfs/server/tasks/main.yml @@ -3,7 +3,7 @@ - name: Include OS-specific variables. include_vars: "{{ ansible_os_family }}.yml" -# Instal xfs package +# Install xfs package - name: install xfs Debian apt: name=xfsprogs state=present when: ansible_os_family == "Debian" diff --git a/inventory/sample/group_vars/k8s-cluster/k8s-cluster.yml b/inventory/sample/group_vars/k8s-cluster/k8s-cluster.yml index dae87c12c..a7aa43873 100644 --- a/inventory/sample/group_vars/k8s-cluster/k8s-cluster.yml +++ b/inventory/sample/group_vars/k8s-cluster/k8s-cluster.yml @@ -221,7 +221,7 @@ persistent_volumes_enabled: false # nvidia_accelerator_enabled: true ## Nvidia GPU driver install. Install will by done by a (init) pod running as a daemonset. ## Important: if you use Ubuntu then you should set in all.yml 'docker_storage_options: -s overlay2' -## Array with nvida_gpu_nodes, leave empty or comment if you dont't want to install drivers. +## Array with nvida_gpu_nodes, leave empty or comment if you don't want to install drivers. ## Labels and taints won't be set to nodes if they are not in the array. # nvidia_gpu_nodes: # - kube-gpu-001 diff --git a/roles/kubernetes-apps/helm/templates/helm-make-ssl.sh.j2 b/roles/kubernetes-apps/helm/templates/helm-make-ssl.sh.j2 index 69bc68217..f82d51c9c 100644 --- a/roles/kubernetes-apps/helm/templates/helm-make-ssl.sh.j2 +++ b/roles/kubernetes-apps/helm/templates/helm-make-ssl.sh.j2 @@ -61,7 +61,7 @@ if ! [ -e "$SSLDIR/tiller.pem" ]; then gen_key_and_cert "tiller" "/CN=tiller-server" fi -#Generate cert and key for Helm client if they dont exist +#Generate cert and key for Helm client if they don't exist if ! [ -e "$SSLDIR/helm.pem" ]; then gen_key_and_cert "helm" "/CN=helm-client" fi diff --git a/roles/kubernetes/preinstall/tasks/0020-verify-settings.yml b/roles/kubernetes/preinstall/tasks/0020-verify-settings.yml index c52d0fa21..829061602 100644 --- a/roles/kubernetes/preinstall/tasks/0020-verify-settings.yml +++ b/roles/kubernetes/preinstall/tasks/0020-verify-settings.yml @@ -35,7 +35,7 @@ - name: Stop if unsupported version of Kubernetes assert: that: kube_version is version(kube_version_min_required, '>=') - msg: "The current release of Kubespray only support newer vesion of Kubernetes than {{ kube_version_min_required }} - You are trying to apply {{ kube_version }}" + msg: "The current release of Kubespray only support newer version of Kubernetes than {{ kube_version_min_required }} - You are trying to apply {{ kube_version }}" ignore_errors: "{{ ignore_assert_errors }}" # simplify this items-list when https://github.com/ansible/ansible/issues/15753 is resolved