Skip to content

Commit

Permalink
Merge pull request #7 from cmosguy/master
Browse files Browse the repository at this point in the history
The editing of the `log_files.yml` should happen first to prevent race condition.
  • Loading branch information
gabops authored Apr 24, 2020
2 parents a42c9e5 + 5b7325d commit 0f01eb2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tasks/configure.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
---
- name: Configure Papertrail service
service:
name: "{{ papertrail_service_name }}"
state: "{{ papertrail_service_state }}"

- name: Configure Papertrail
template:
src: log_files.yml.j2
Expand All @@ -15,3 +10,8 @@
force: true
notify: restart papertrail
when: papertrail_managed_conf_file and papertrail_destination_host | length

- name: Configure Papertrail service
service:
name: "{{ papertrail_service_name }}"
state: "{{ papertrail_service_state }}"

0 comments on commit 0f01eb2

Please sign in to comment.