mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-16 01:43:06 -06:00
26 lines
628 B
YAML
26 lines
628 B
YAML
---
|
|
|
|
- name: Install AWS support packages
|
|
ansible.builtin.dnf:
|
|
name:
|
|
- amazon-efs-utils
|
|
- amazon-ssm-agent
|
|
- awscli
|
|
- git
|
|
- ec2-utils
|
|
|
|
# https://github.com/amazonlinux/amazon-linux-2023/issues/164
|
|
- name: Ensure group "aoc" exists
|
|
ansible.builtin.group:
|
|
name: aoc
|
|
state: present
|
|
when: atl_aws_enable_cloudwatch is defined and atl_aws_enable_cloudwatch | bool
|
|
|
|
- name: Install CloudWatch Agent
|
|
ansible.builtin.dnf:
|
|
name:
|
|
- amazon-cloudwatch-agent
|
|
when: atl_aws_enable_cloudwatch is defined and atl_aws_enable_cloudwatch | bool
|
|
notify:
|
|
- Enable CloudWatch Agent
|