-
Notifications
You must be signed in to change notification settings - Fork 43
Multiple errors on EC2 launch #9
Copy link
Copy link
Open
Description
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?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels