ansible-auto-scaling-tutorial
ansible-auto-scaling-tutorial copied to clipboard
Failed to import module using ansible 1.9
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