diff --git a/tasks/configure.yml b/tasks/configure.yml index bd291d1..d7ac52b 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -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 @@ -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 }}"