Skip to content

Commit 49b79f6

Browse files
abikouomandar242
authored andcommitted
Fix integration on devel branch (data tagging) (ansible-collections#2285)
SUMMARY The data tagging feature has been merged into the main branch; we need to fix the integration tests to be compatible with the new changes. Reviewed-by: Alina Buzachis This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections/community.aws@4579add
1 parent e52f283 commit 49b79f6

File tree

1 file changed

+2
-2
lines changed
  • tests/integration/targets/setup_connection_aws_ssm/tasks

1 file changed

+2
-2
lines changed

tests/integration/targets/setup_connection_aws_ssm/tasks/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@
4040
name: '{{ ami_configuration.name }}'
4141
register: ec2_amis
4242
when:
43-
- ami_configuration.name | default(False)
43+
- ami_configuration.name is defined
4444

4545
- name: AMI Lookup (SSM Parameter)
4646
when:
47-
- ami_configuration.ssm_parameter | default(False)
47+
- ami_configuration.ssm_parameter is defined
4848
block:
4949
- ansible.builtin.set_fact:
5050
ssm_amis: "{{ lookup('amazon.aws.ssm_parameter', ami_configuration.ssm_parameter, **connection_args) }}"

0 commit comments

Comments
 (0)