From 405358eceb485c54e49e0c606f2222c2934d492e Mon Sep 17 00:00:00 2001 From: Steve Smith Date: Thu, 23 May 2019 14:53:25 +1000 Subject: [PATCH] DCD-367: Use notest tag rather than checking the vendor as it can sometimes be undefined. --- roles/aws_common/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/aws_common/tasks/main.yml b/roles/aws_common/tasks/main.yml index 75815a8..240a173 100644 --- a/roles/aws_common/tasks/main.yml +++ b/roles/aws_common/tasks/main.yml @@ -5,8 +5,8 @@ - name: Fetch local EC2 metadata ec2_metadata_facts: - # Guard is mostly for testing - when: ansible_system_vendor == "Amazon EC2" + tags: + - notest - name: Use EC2 instance ID for cluster node ID set_fact: