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