ansible-playbook playbook.yml不起作用

时间:2019-06-28 19:57:03

标签: ansible

ansible-playbook playbook.yml给出:

PLAY [My Playbook] **************************************************************************************************

TASK [Gathering Facts] ***************************************************************************************************************
fatal: [playbook.yml]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: Could not resolve hostname playbook.yml: nodename nor servname provided, or not known", "unreachable": true}

PLAY RECAP ***************************************************************************************************************************
playbook.yml               : ok=0    changed=0    unreachable=1    failed=0    skipped=0    rescued=0    ignored=0

0 个答案:

没有答案