Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple errors on EC2 launch #9

Open
drfloob opened this issue Mar 29, 2017 · 0 comments
Open

Multiple errors on EC2 launch #9

drfloob opened this issue Mar 29, 2017 · 0 comments

Comments

@drfloob
Copy link
Collaborator

drfloob commented Mar 29, 2017

I think the primary need here is to update the README.

florp:ansible-playbook me$ ansible-playbook ./ec2.yml --extra-vars "vars_file=./example_ec2_vars.yml" --tags launch
[WARNING]: log file at /var/log/ansible.log is not writeable and we cannot create it, aborting

ERROR! Attempted to execute "/etc/ansible/hosts/ec2.py" as inventory script: Inventory script (/etc/ansible/hosts/ec2.py) had an execution error: b'Traceback (most recent call last):\n  File "/etc/ansible/hosts/ec2.py", line 128, in <module>\n    import boto\nImportError: No module named boto\n'

It seems ansible needs to be run as root in this configuration, is that right? I see I can change the /var/log/ansible.log entry in the ansible.cfg file, but does ansible need to run as root otherwise?

I installed ansible via pip3 (MacOS 10.12.3), but boto needed to be installed for python2.7. Is python2 explicitly required?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant