I am getting the same error: "failed=True msg='boto required for this 
module"

My inventory file is as follows:

[localhost]
localhost ansible_python_interpreter=PATH

[test]
IP

And my playbook:

---

  - hosts: test

    pre_tasks:

      - name: Read host

        connection: local

        route53:

          command: get 

          zone: ZONE

          record: RECORD

          type: A

        register: host_record


    roles:

      - test


Running route53 or ec2 locally using host: localhost works as expected. 
What am I missing?

On Friday, June 5, 2015 at 7:32:09 PM UTC-4, Brian Coca wrote:
>
> --- 
>
>   - hosts: remote_hosts 
>     sudo: True 
>     gather_facts: True 
>     pre_tasks: 
>
>     - name: Read current host 
>       connection: local 
>       sudo: False 
>       route53: 
>         command: get 
>         zone: zone 
>         record: record 
>         type: A 
>       register: host_record 
>
>     roles: 
>       - my_role 
>
>
> -- 
> Brian Coca 
>

-- 
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-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/9946c71f-696c-42e2-8b54-fd6cc84741c5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to