diff --git a/roles/deploy/handlers/main.yml b/roles/deploy/handlers/main.yml index 6dc1e5337..12d461f59 100644 --- a/roles/deploy/handlers/main.yml +++ b/roles/deploy/handlers/main.yml @@ -6,9 +6,3 @@ state: restarted become: yes become_user: root - -- name: update whenever - command: bash -lc "bundle exec whenever -i ofn --set 'environment={{ rails_env }}&path={{ current_path }}' --update-crontab" - changed_when: True - args: - chdir: "{{ current_path }}" diff --git a/roles/deploy/tasks/deploy.yml b/roles/deploy/tasks/deploy.yml index 7164280f0..56c1f178a 100644 --- a/roles/deploy/tasks/deploy.yml +++ b/roles/deploy/tasks/deploy.yml @@ -156,4 +156,3 @@ notify: - restart puma - restart sidekiq - - update whenever