there are several tarballs that we are downloading and installing on an 
amazon ec2 instance.
The first few tarballs installed without a glitch, but now i'm getting the 
below error. i tried to move what seemed to be the offending tarballs to 
their own play, but they are no longer installing from this point.
ERROR:
TASK: [install-tarball | download the file if the tag is missing or doesn't 
match] ***
<10.226.21.111> ESTABLISH CONNECTION FOR USER: ec2-user on PORT 22 TO 
10.226.21.111
<10.226.21.111> EXEC /bin/sh -c 'mkdir -p 
$HOME/.ansible/tmp/ansible-tmp-1456849573.39-231370096109319 && chmod a+rx 
$HOME/.ansible/tmp/ansible-tmp-1456849573.39-231370096109319 && echo 
$HOME/.ansible/tmp/ansible-tmp-1456849573.39-231370096109319'
<10.226.21.111> PUT /tmp/tmpsaE1Fv TO 
/home/ec2-user/.ansible/tmp/ansible-tmp-1456849573.39-231370096109319/get_url
<10.226.21.111> EXEC /bin/sh -c 'chmod a+rx 
/home/ec2-user/.ansible/tmp/ansible-tmp-1456849573.39-231370096109319/get_url'
<10.226.21.111> PUT /tmp/tmps4DsHO TO 
/home/ec2-user/.ansible/tmp/ansible-tmp-1456849573.39-231370096109319/async_wrapper
<10.226.21.111> PUT /tmp/tmpsjl0kO TO 
/home/ec2-user/.ansible/tmp/ansible-tmp-1456849573.39-231370096109319/arguments
<10.226.21.111> EXEC /bin/sh -c 'sudo -k && sudo -H -S -p "[sudo via 
ansible, key=tefdrjxhzpcminatlvkvtkalebynmqzn] password: " -u root /bin/sh 
-c '"'"'echo BECOME-SUCCESS-tefdrjxhzpcminatlvkvtkalebynmqzn; 
LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python 
/home/ec2-user/.ansible/tmp/ansible-tmp-1456849573.39-231370096109319/async_wrapper
 
696194426746 7200 
/home/ec2-user/.ansible/tmp/ansible-tmp-1456849573.39-231370096109319/get_url 
/home/ec2-user/.ansible/tmp/ansible-tmp-1456849573.39-231370096109319/arguments;
 
rm -rf 
/home/ec2-user/.ansible/tmp/ansible-tmp-1456849573.39-231370096109319/ 
>/dev/null 2>&1'"'"''
<10.226.21.111> ESTABLISH CONNECTION FOR USER: ec2-user on PORT 22 TO 
10.226.21.111
<10.226.21.111> REMOTE_MODULE async_status jid=696194426746.2081
<10.226.21.111> EXEC /bin/sh -c 'mkdir -p 
$HOME/.ansible/tmp/ansible-tmp-1456849585.28-225199428910351 && chmod a+rx 
$HOME/.ansible/tmp/ansible-tmp-1456849585.28-225199428910351 && echo 
$HOME/.ansible/tmp/ansible-tmp-1456849585.28-225199428910351'
<10.226.21.111> PUT /tmp/tmpA80f9U TO 
/home/ec2-user/.ansible/tmp/ansible-tmp-1456849585.28-225199428910351/async_status
<10.226.21.111> EXEC /bin/sh -c 'sudo -k && sudo -H -S -p "[sudo via 
ansible, key=srgiwmeuaeemgyiynzgdpauffcedoucl] password: " -u root /bin/sh 
-c '"'"'echo BECOME-SUCCESS-srgiwmeuaeemgyiynzgdpauffcedoucl; 
LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python 
/home/ec2-user/.ansible/tmp/ansible-tmp-1456849585.28-225199428910351/async_status;
 
rm -rf 
/home/ec2-user/.ansible/tmp/ansible-tmp-1456849585.28-225199428910351/ 
>/dev/null 2>&1'"'"''
failed: [10.226.21.111] => {"ansible_job_id": "696194426746.2081", 
"changed": false, "cmd": 
"/home/ec2-user/.ansible/tmp/ansible-tmp-1456849573.39-231370096109319/get_url 
/home/ec2-user/.ansible/tmp/ansible-tmp-1456849573.39-231370096109319/arguments",
 
"data": "", "failed": 1, "finished": 1}
msg: Traceback (most recent call last):
  File 
"/home/ec2-user/.ansible/tmp/ansible-tmp-1456849573.39-231370096109319/async_wrapper",
 
line 112, in _run_command
    result = json.loads(outdata)
  File "/usr/lib64/python2.7/json/__init__.py", line 338, in loads
    return _default_decoder.decode(s)
  File "/usr/lib64/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib64/python2.7/json/decoder.py", line 384, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

<job 696194426746.2081> FAILED on 10.226.21.111

FATAL: all hosts have already failed -- aborting



-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/4b87ac11-c5b3-4ff5-b252-b85f254599bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to