module not found in

51 views
Skip to first unread message

Rahul Mehrotra

unread,
Feb 11, 2015, 12:34:09 PM2/11/15
to ansible...@googlegroups.com
Hi everyone,
I was working on rds subnet group , however ansible says it is not able to find the module

 - name: Create Subnet Group for RDS Instances
      local_action:
        module: rds_subnet_group
        state: present
        region: us-east-1
        vpc_id: "{{ dev_vpc }}"
        name: rds_sg
        description: Subnet group for RDS instances
        subnets: 
          - "{{ us_east_1b }}"
          - "{{ us_east_1d }}"


The error I am getting is something like this,


fatal: [localhost -> 127.0.0.1] => module rds_subnet_group not found in configured module paths

FATAL: all hosts have already failed -- aborting

PLAY RECAP ******************************************************************** 
           to retry, use: --limit @/home/rahul/securitygroup.retry

localhost                  : ok=10   changed=5    unreachable=1    failed=0   



Can some-one point out if I am doing something wrong. ??

Thank you

Dick Davies

unread,
Feb 12, 2015, 4:40:28 AM2/12/15
to ansible list
Is this a git build of Ansible? if so, maybe you forget the 'get
submodules' bit.

Also make sure your python install has boto.
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-proje...@googlegroups.com.
> To post to this group, send email to ansible...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/1e12121e-fa43-4355-8c7a-81d0f4b88bab%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Giovanni Tirloni

unread,
Feb 12, 2015, 8:29:09 PM2/12/15
to ansible...@googlegroups.com
On Wed, 11 Feb 2015 09:34 -0800, Rahul Mehrotra <rhlm...@gmail.com>
wrote:
> fatal: [localhost -> 127.0.0.1] => module rds_subnet_group not found in
> configured module paths

Have you redefined the 'library' option in your ansible.cfg?

http://docs.ansible.com/intro_configuration.html#library

Giovanni

Rahul Mehrotra

unread,
Feb 12, 2015, 8:33:01 PM2/12/15
to ansible...@googlegroups.com

I was able to get the module and then it started working. Thanks

--
You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/c9QMtvY8ch4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ansible-proje...@googlegroups.com.

To post to this group, send email to ansible...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages