Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to import module using ansible 1.9 #3

Open
vishalud opened this issue Aug 11, 2015 · 0 comments
Open

Failed to import module using ansible 1.9 #3

vishalud opened this issue Aug 11, 2015 · 0 comments

Comments

@vishalud
Copy link

I'm running ansible 1.9 and after importing the module to the library/ i get the below error http://pastie.org/10343625
My playbook looks like

  • name: Get latest ami based on date
    local_action:
    module: ec2_ami_find
    region: "{{ region }}"
    name: "ansible-created-{{ timestamp.stdout }}"
    owner: "{{ owner }}"
    sort: name
    sort_order: descending
    sort_end: 1
    register: existing_ami

Some folks on the ansible irc channel suggested that the modules of v1 would not work with v2 and use aws sdk calls or make the module v2 compatbile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant