를 설치하는 동안 나는이 작전이 : 때때로치명적인 오류 파이썬
---
- hosts: all
become: yes
become_user: root
gather_facts: no
pre_tasks:
- name: 'install python2'
raw: sudo apt-get -y install python-simplejson
roles:
- git
...
을 완벽하게 잘 작동하고 때로는 나에게이 오류 제공 :
==> default: Running provisioner: ansible...
default: Running ansible-playbook...
PYTHONUNBUFFERED=1 ANSIBLE_FORCE_COLOR=true ANSIBLE_HOST_KEY_CHECKING=false ANSIBLE_SSH_ARGS='-o UserKnownHostsFile=/dev/null -o IdentitiesOnly=yes -i '/var/www/test/.vagrant/machines/default/virtualbox/private_key' -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s' ansible-playbook --connection=ssh --timeout=30 --extra-vars="ansible_ssh_user='ubuntu'" --limit="all" --inventory-file=ansible/hosts/hosts_linux.txt -v ansible/site.yml
Using /etc/ansible/ansible.cfg as config file
PLAY ***************************************************************************
TASK [install python2] *********************************************************
fatal: [10.0.11.44]: FAILED! => {"changed": false, "failed": true, "rc": 255, "stderr": "", "stdout": "", "stdout_lines": []}
PLAY RECAP *********************************************************************
10.0.11.44 : ok=0 changed=0 unreachable=0 failed=1
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
궁금하고 왜 내가 어떻게해야합니까를 이 오류는 무엇을 의미합니까? 오류가 출력되지 않으며 여러 번 시도 할 경우 정확히 동일한 코드가 작동합니다. 그것은 말도 안돼. 파이썬을 설치할 수없는 이유는 무엇입니까?
해당 버전이 무엇입니까? 더 많은 디버그 정보를 얻으려면 -vvvv 옵션으로 플래쉬를 실행하려고 했습니까? – gile
다음과 같이 묻습니다. '10 .0.11.44 (10.0.11.44) '호스트의 신빙성을 입증 할 수 없습니다. ECDSA 키 지문은 SHA256 : OdyB21PWYP5NqgU6MfaV5Gr82tWsZxCg + juGVGub62M입니다. 연결을 계속 하시겠습니까? (예/아니오)? 예 –
그 후에 나는 개인 키 시도로 끝나는 많은 오류가 발생한다 : /home/calinpristavu/.ssh/id_ed25519\r\ndebug3 : 그런 신원이 없다 : /home/calinpristavu/.ssh/id_ed25519 : 그런 파일이나 디렉토리가 없다 \ r \ ndebug2 : 패킷을 보내지 않았습니다. \ r \ ndebug1 : 시도 할 인증 방법이 없습니다. \ r \ nPermission denied (publickey, password) –