Skip to content

Multiple errors on EC2 launch #9

@drfloob

Description

@drfloob

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions