DCD-436: Install CloudWatch agent on AWS instances.

This commit is contained in:
Steve Smith
2019-09-10 12:31:17 +10:00
parent 2dd332f714
commit cca50a4d9d
4 changed files with 11 additions and 4 deletions

View File

@@ -1,13 +1,13 @@
---
- name: Install distro-specific prerequisites
include_tasks: "{{ ansible_distribution|lower }}.yml"
- name: Fetch local EC2 metadata
ec2_metadata_facts:
tags:
- notest
- name: Install distro-specific prerequisites
include_tasks: "{{ ansible_distribution|lower }}.yml"
- name: Use EC2 instance ID for cluster node ID
set_fact:
atl_cluster_node_id: "{{ ansible_ec2_instance_id }}"