Anybody has an idea about this error :
root@ip-172-16-20-180:/var/lib/jenkins/jobs/build-cs-utils/workspace/playbooks# ansible-playbook -i inventory/prod deploy_system_status.yml
Enter the version you want to deploy:
PLAY [Deploy to status servers] ***********************************************
GATHERING FACTS ***************************************************************
ok: [prodstatus0]
TASK: [nodejs_app | Put upstart script in place] ******************************
ok: [prodstatus0]
TASK: [nodejs_app | Create config directory] **********************************
ok: [prodstatus0]
TASK: [nodejs_app | Put config file in place] *********************************
ok: [prodstatus0]
TASK: [nodejs_app | Create code folder to store artifact] *********************
ok: [prodstatus0]
TASK: [nodejs_app | Pull down code] *******************************************
ok: [prodstatus0]
TASK: [nodejs_app | Explode source artifact] **********************************
failed: [prodstatus0] => {“changed”: true, “cmd”: [“tar”, “-xvzf”, “cs-system-status-.tar.gz”], “delta”: “0:00:00.011398”, “end”: “2015-10-16 16:42:59.648071”, “rc”: 2, “start”: “2015-10-16 16:42:59.636673”, “warnings”: [“Consider using unarchive module rather than running tar”]}
stderr:
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
FATAL: all hosts have already failed – aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/root/deploy_system_status.retry
prodstatus0 : ok=6 changed=0 unreachable=0 failed=1