DCD-367: Use notest tag rather than checking the vendor as it can sometimes be undefined.

This commit is contained in:
Steve Smith
2019-05-23 14:53:25 +10:00
parent cea0f6eb23
commit 405358eceb

View File

@@ -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: