-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Yml file format error #5526
Comments
@LinuxGit PTAL |
@xiaoqiang2209 Hi. It seems that there's no |
@LinuxGit |
Hi, what's your ansible version? You can install it by following commands and try again.
|
@LinuxGit hi, |
@xiaoqiang2209 You need install Ansible 2.4.2 or later to your platform. See https://github.com/pingcap/docs/blob/master/op-guide/ansible-deployment.md#install-ansible-in-the-control-machine. Please uninstall your ansible package and install ansible from epel repo again. |
[root@cpdb01 tidb-ansible-master]# ansible-playbook local_prepare.yml
ERROR: file could not read: /root/tidb-ansible-master/roles/local/tasks/{{ deployment_method }}_deployment.yml
[root@cpdb01 tidb-ansible-master]# uname -a
Linux cpdb01.hfa.mysql 3.10.0-514.el7.x86_64 #1 SMP Tue Nov 22 16:42:41 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
[root@cpdb01 tidb-ansible-master]# cat /etc/redhat-release
CentOS Linux release 7.3.1611 (Core)
[root@cpdb01 tidb-ansible-master]# cat inventory.ini |grep deployment_method
deployment_method = binary
[root@cpdb01 tidb-ansible-master]# ll /root/tidb-ansible-master/roles/local/tasks/binary_deployment.yml
-rw-r--r--. 1 root root 1403 Dec 22 12:02 /root/tidb-ansible-master/roles/local/tasks/binary_deployment.yml
The text was updated successfully, but these errors were encountered: