Ansible를 찾을 수 없습니다. 그러나, 가능한 스크립트 파일에서 실행되지 않습니다.Ansible 스크립트 내부 명령은
오류 :
fatal: [webserver]: FAILED! => {"changed": true, "failed": true, "msg": "non-zero return code", "rc": 1, "stderr": "Shared connection to xx.xx.xx.xx closed.\r\n", "stdout": "/home/ronak/.ansible/tmp/ansible-tmp-1510939424.06-225768915266978/pm2.sh: line 11: pm2: command not found\r\n127\r\n", "stdout_lines": ["/home/ronak/.ansible/tmp/ansible-tmp-1510939424.06-225768915266978/pm2.sh: line 11: pm2: command not found", "127"]}
다음을 확인하십시오. http://www.shellcheck.net/ – Cyrus