Skip to content

Commit

Permalink
Ensure AWS CloudWatch service is restarted upon updating config
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Evgeniev <martin.evgeniev@bbva.com>
  • Loading branch information
panchoh and suizman committed Feb 19, 2019
1 parent c48dae7 commit a8c3953
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions deploy/aws/provision/tasks/common/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@
with_items:
- awslogs.conf
- awscli.conf
register: aws_logs

- name: Restart AWS CloudWatch service
service:
name: awslogs
state: restarted
when: aws_logs.changed

- name: Download Node Exporter
unarchive:
Expand Down

0 comments on commit a8c3953

Please sign in to comment.