From 42eb6067223a4c9c8026a1c9b3cd1c7eced00e07 Mon Sep 17 00:00:00 2001 From: Clement Verna Date: Thu, 25 Apr 2019 11:34:15 +0200 Subject: [PATCH] mdapi: revert delete old cronjob commit Signed-off-by: Clement Verna --- playbooks/openshift-apps/mdapi.yml | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/playbooks/openshift-apps/mdapi.yml b/playbooks/openshift-apps/mdapi.yml index ac3f3f3f50..850c8d161c 100644 --- a/playbooks/openshift-apps/mdapi.yml +++ b/playbooks/openshift-apps/mdapi.yml @@ -1,22 +1,3 @@ -- name: delete the old cronjob - hosts: os-masters-stg[0] - user: root - gather_facts: False - - vars_files: - - /srv/web/infra/ansible/vars/global.yml - - "/srv/private/ansible/vars.yml" - - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml - - tasks: - - name: first delete the job - command: "oc -n mdapi delete job mdapi-1548256800" - - - name: then delete the cronjob - command: "oc -n mdapi delete cronjob mdapi" - tags: - - delete-cron - - name: make the app be real hosts: os-masters-stg[0] user: root