fatal: [localhost]: FAILED! msg: |- The task includes an option with an undefined variable. The error was: ‘ansible.utils.unsafe_proxy.AnsibleUnsafeText object’ has no attribute ‘url’
The error appears to have been in '/usr/local/services/tidb-ansible/roles/local/tasks/main.yml': line 56, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
# do actual downloading
- name: download tidb binary
^ here
tidb与tikv部署在不同路径下, 怀疑是这个配置错误 配置如下: [tidb_servers] ds-master1 ansible_host=172.19.0.108 deploy_dir=/ssd0/data/deploy ds-master2 ansible_host=172.19.0.109 deploy_dir=/ssd0/data/deploy
[tikv_servers] ds-node1 ansible_host=172.19.0.106 deploy_dir=/ssd1/data/deploy ds-node2 ansible_host=172.19.0.107 deploy_dir=/ssd1/data/deploy ds-node3 ansible_host=172.19.0.110 deploy_dir=/ssd1/data/deploy ds-node4 ansible_host=172.19.0.111 deploy_dir=/ssd1/data/deploy
[pd_servers] ds-master1 ansible_host=172.19.0.108 deploy_dir=/ssd0/data/deploy ds-master2 ansible_host=172.19.0.109 deploy_dir=/ssd0/data/deploy
[pd_servers:vars] location_labels = [“host”]
这样配置是否正确