Skip to content

Commit d6545c2

Browse files
authored
Merge pull request #16 from syndr/feat/v210
Version 2.1.0
2 parents f1f54f2 + 36f0041 commit d6545c2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

galaxy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace: syndr
88
name: molecule
99

1010
# The version of the collection. Must be compatible with semantic versioning
11-
version: 2.0.1
11+
version: 2.1.0
1212

1313
# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
1414
readme: README.md

molecule/ec2_platform/molecule.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ platforms:
1717
ssh_user: molecule_runner
1818
hostvars:
1919
test_hostvar: test
20-
- name: ec2-unbuntu2204
20+
- name: ec2-ubuntu2204
2121
type: ec2
2222
image: ami-0cb91c7de36eed2cb
2323
region: us-east-2

roles/ec2_platform/tasks/present.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
vars:
124124
__ec2_platform_security_groups: "{{ __ec2_platform.security_groups or [__ec2_platform.security_group_name] }}"
125125
__ec2_platform_generated_image_id: "{{ (ami_info.results[0].images | sort(attribute='creation_date', reverse=True))[0].image_id }}"
126-
__ec2_platform_image_id: "{{ __ec2_platform.image or __ec2_platform_generated_image_id }}"
126+
__ec2_platform_image_id: "{{ __ec2_platform.image if __ec2_platform.image is truthy else __ec2_platform_generated_image_id }}"
127127
__ec2_platform_ssh_pubkey: "{{ (__ec2_platform_local_keypairs.results | selectattr('__ec2_platform.name', 'equalto', __ec2_platform.name) | first).public_key }}"
128128
__ec2_platform_generated_cloud_config:
129129
users:

0 commit comments

Comments
 (0)