mirror of
https://github.com/trailofbits/algo.git
synced 2025-08-02 19:03:04 +02:00
yaml syntax fix
This commit is contained in:
parent
b891686d2c
commit
0f3788b97b
1 changed files with 3 additions and 3 deletions
|
@ -15,7 +15,7 @@
|
||||||
name: "ubuntu/images/hvm-ssd/{{ cloud_providers.ec2.image.name }}-amd64-server-*"
|
name: "ubuntu/images/hvm-ssd/{{ cloud_providers.ec2.image.name }}-amd64-server-*"
|
||||||
register: ami_search
|
register: ami_search
|
||||||
|
|
||||||
- name: Set the ami id as a fact
|
- name: Set the ami id as a fact
|
||||||
set_fact:
|
set_fact:
|
||||||
ami_image: "{{ (ami_search.images | sort(attribute='creation_date') | last)['image_id'] }}"
|
ami_image: "{{ (ami_search.images | sort(attribute='creation_date') | last)['image_id'] }}"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue