现在我尝试将文件从 复制/Build_Artifacts/build.zip
到/Build_Artifacts/
。权限设置为777
for /Build_Artifacts/
。
运行剧本时报告内存错误!
cat deploy.yml
hosts: "{{host}}" user: soundar tasks:
Run Code Online (Sandbox Code Playgroud)
- name: copying
copy: src=/Build_Artifacts/build.zip dest=/Build_Artifacts/
jenkins@ip-10-0-6-189:~$ sudo ansible-playbook /var/lib/jenkins/deploy.yml --extra-vars "host=Resurgence-Dev"
PLAY [Resurgence-Dev] **********************************************************
TASK [setup] *******************************************************************
ok: [10.0.3.233]
TASK [copying] *****************************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: MemoryError
fatal: [10.0.3.233]: FAILED! => {"failed": true, "msg": "Unexpected failure during module execution.", "stdout": ""}
to retry, use: --limit @/var/lib/jenkins/deploy.retry
PLAY RECAP *********************************************************************
10.0.3.233 : ok=1 changed=0 unreachable=0 failed=1
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
5486 次 |
最近记录: |