Ansible RDS module "boto required for this module" (but other AWS modules can find boto)
257 views
Skip to first unread message
Edd Grant
unread,
Sep 5, 2016, 6:40:29 AM9/5/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
Hi all,
I'm using Ansible 2.1.1.0 in a virtualenv. I have been using the 'ec2' and 'cloudformation' modules in a Playbook with success. I am now trying to do some RDS stuff but I get the error "boto required for this module" when trying to run the following: - name: Get RDS instance facts rds: command: facts instance_name: "fabric-export-{{ item.db_name }}" aws_access_key: <redacted> aws_secret_key: <redacted> with_items: "{{ rds_postgres_instances }}" register: "rds_instance_{{ item.db_name }}_facts" tags: ['rds']
Where rds_postgres_instances is a hash variable that looks like this:
Looking at the code of the rds module this would happen if boto.rds couldn't be imported. I have tried installing the boto package in the following places:
1: In the virtualenv (activate the virtualenv followed by pip install boto) 2: In the pyenv python that the virtualenv uses 3: In my system python installation (sudo apt-get install python-boto)
In each of the above cases I continue to get the "boto required for this module" error.
Grateful for any ideas as I'm tearing my hair out a bit over this one.