This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: Find ubuntu ami_id | |
ec2_ami_search: | |
distro: ubuntu | |
release: trusty | |
region: "{{ aws_region }}" | |
store: ebs-ssd | |
virt: hvm | |
register: ubuntu | |
when: not aws_ami_id is defined |