LOGS
amazon-ebs output will be in this color.
==> amazon-ebs: Prevalidating AMI Name...
amazon-ebs: Found Image ID: ami-10bb2373
==> amazon-ebs: Creating temporary keypair:
packer_59ddc18b-e38a-b6c5-a0f5-1c57755439ee
==> amazon-ebs: Launching a source AWS instance...
amazon-ebs: Instance ID: i-0dd39cfd346ea053f
==> amazon-ebs: Waiting for instance (i-0dd39cfd346ea053f) to become
ready...
==> amazon-ebs: Waiting for SSH to become available...
==> amazon-ebs: Connected to SSH!
==> amazon-ebs: Provisioning with shell script: /tmp/packer-shell547732734
==> amazon-ebs: Provisioning with Ansible...
amazon-ebs: Using /etc/ansible/ansible.cfg as config file
amazon-ebs: Loaded callback default of type stdout, v2.0
amazon-ebs: 1 plays in /tmp/packertest/ansible/site.yml
amazon-ebs:
amazon-ebs: PLAY
***************************************************************************
amazon-ebs:
amazon-ebs: TASK [setup]
*******************************************************************
amazon-ebs: ESTABLISH LOCAL CONNECTION FOR USER: ricky
amazon-ebs: 127.0.0.1 EXEC ( umask 22 && mkdir -p "$( echo
$HOME/.ansible/tmp/ansible-tmp-1507705298.16-248053420755603 )" && echo "$(
echo $HOME/.ansible/tmp/ansible-tmp-1507705298.16-248053420755603 )" )
amazon-ebs: 127.0.0.1 PUT /tmp/tmp_fuAmB TO
/home/ricky/.ansible/tmp/ansible-tmp-1507705298.16-248053420755603/setup
amazon-ebs: 127.0.0.1 EXEC /bin/sh -c 'sudo -H -S -n -u root /bin/sh -c
'"'"'echo BECyasOME-SUCCESS-gyhhqcipomahfdamglgevccqwzrfdvno; LANG=en_IN
LC_ALL=en_IN LC_MESSAGES=en_IN /usr/bin/python
/home/ricky/.ansible/tmp/ansible-tmp-1507705298.16-248053420755603/setup;
rm -rf
"/home/ricky/.ansible/tmp/ansible-tmp-1507705298.16-248053420755603/" >
/dev/null 2>&1'"'"''
amazon-ebs: fatal: [localhost]: FAILED! => {"changed": false, "failed":
true, "invocation": {"module_name": "setup"}, "module_stderr": "sudo: a
password is required\n", "module_stdout": "", "msg": "MODULE FAILURE",
"parsed": false}
amazon-ebs:
amazon-ebs: NO MORE HOSTS LEFT
*************************************************************
amazon-ebs:
amazon-ebs: PLAY RECAP
*********************************************************************
amazon-ebs: localhost : ok=0 changed=0
unreachable=0 failed=1
amazon-ebs:
==> amazon-ebs: Terminating the source AWS instance...
==> amazon-ebs: Cleaning up any extra volumes...
==> amazon-ebs: No volumes to clean up, skipping
==> amazon-ebs: Deleting temporary keypair...
Build 'amazon-ebs' errored: Error executing Ansible: Non-zero exit status:
exit status 2
==> Some builds didn't complete successfully and had errors:
--> amazon-ebs: Error executing Ansible: Non-zero exit status: exit status 2
==> Builds finished but no artifacts were created.
--
This mailing list is governed under the HashiCorp Community Guidelines -
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of
those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/packer-tool/c4c7f8ca-f68f-47ef-aa7f-33ab0a3de070%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.