From e7f0cd82b2d9d987640af85f05a36144eafb9482 Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Fri, 5 Sep 2014 11:10:21 +0100 Subject: Enable the lorry-controller-remove-ghost-jobs service / timer --- .../roles/trove-setup/tasks/lorry-controller-setup.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/ansible/roles/trove-setup/tasks/lorry-controller-setup.yml b/ansible/roles/trove-setup/tasks/lorry-controller-setup.yml index 06fab96..fd00ea3 100644 --- a/ansible/roles/trove-setup/tasks/lorry-controller-setup.yml +++ b/ansible/roles/trove-setup/tasks/lorry-controller-setup.yml @@ -70,6 +70,13 @@ service: name=lorry-controller-ls-troves.service state=restarted when: lorry_controller_ls_troves_service|changed +- name: Enable lorry-controller-remove-ghost-jobs service + service: name=lorry-controller-remove-ghost-jobs.service enabled=yes + register: lorry_controller_remove_ghost_jobs_service +- name: Start lorry-controller-remove-ghost-jobs service + service: name=lorry-controller-remove-ghost-jobs.service state=restarted + when: lorry_controller_remove_ghost_jobs_service|changed + - name: Enable lorry-controller-status timer service: name=lorry-controller-status.timer enabled=yes register: lorry_controller_status_timer @@ -90,3 +97,11 @@ - name: Start lorry-controller-ls-troves timer service: name=lorry-controller-ls-troves.timer state=restarted when: lorry_controller_ls_troves_timer|changed + +- name: Enable lorry-controller-remove-ghost-jobs timer + service: name=lorry-controller-remove-ghost-jobs.timer enabled=yes + register: lorry_controller_remove_ghost_jobs_timer +- name: Start lorry-controller-remove-ghost-jobs timer + service: name=lorry-controller-remove-ghost-jobs.timer state=restarted + when: lorry_controller_remove_ghost_jobs_timer|changed + -- cgit v1.2.1