diff options
-rw-r--r-- | ansible/roles/trove-setup/tasks/lorry-controller-setup.yml | 15 |
1 files changed, 15 insertions, 0 deletions
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 + |