[0;32m amazon-ebs: fatal: [default]: FAILED! => {"changed": false, "msg": "You need to be root to perform this command.\n", "rc": 1, "results": ["Loaded plugins: priorities, update-motd, upgrade-helper\n"]} [0m{
"type": "ansible",
"ansible_env_vars": [ "ANSIBLE_NOCOLOR=True","become_user=root","become=true" ],
"playbook_file": "./Ansible/playbook.yml"
}
---
- name: Provision Python
hosts: all
gather_facts: no
tasks:
- name: install git
package:
name: git
state: present
--
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 packer-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/5f8f6b8e-8943-458a-b6d2-6fd050224a95%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
amazon-ebs: fatal: [127.0.0.1]: FAILED! => {"changed": false, "module_stderr": "sudo: a password is required\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1} [0mTo view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/737b87da-8e8c-4e15-898a-aa4dd5d6ce24%40googlegroups.com.