You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TASK [设置集群参数] *********************************************************************************************************************************************************************************
fatal: [192.168.0.184]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'CLUSTER_NAME' is undefined\n\nThe error appears to have been in '/etc/ansible/roles/deploy/create-read-kubeconfig.yml': line 26, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n # 设置集群参数,指定CA证书和apiserver地址\n - name: 设置集群参数\n ^ here\n\nexception type: <class 'ansible.errors.AnsibleUndefinedVariable'>\nexception: 'CLUSTER_NAME' is undefined"}
应该是没有识别到ansible定义的变量,现在手工处理,把其中的变量给替换掉。
The text was updated successfully, but these errors were encountered:
最新master分支,创建只读账号报错,报错信息如下:
TASK [设置集群参数] *********************************************************************************************************************************************************************************
fatal: [192.168.0.184]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'CLUSTER_NAME' is undefined\n\nThe error appears to have been in '/etc/ansible/roles/deploy/create-read-kubeconfig.yml': line 26, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n # 设置集群参数,指定CA证书和apiserver地址\n - name: 设置集群参数\n ^ here\n\nexception type: <class 'ansible.errors.AnsibleUndefinedVariable'>\nexception: 'CLUSTER_NAME' is undefined"}
应该是没有识别到ansible定义的变量,现在手工处理,把其中的变量给替换掉。
The text was updated successfully, but these errors were encountered: