Files
dc-deployments-automation/roles/aws_common/handlers/main.yml
2019-09-11 13:22:52 +10:00

16 lines
322 B
YAML

---
- name: Enable CloudWatch Agent
systemd:
name: "amazon-cloudwatch-agent.service"
daemon_reload: true
enabled: true
when: atl_aws_agent_restart
- name: Restart CloudWatch Agent
systemd:
name: "amazon-cloudwatch-agent.service"
enabled: true
state: restarted
when: atl_aws_agent_restart