docstranslation: remove project if run with delete tag

Signed-off-by: Francois Andrieu <darknao@fedoraproject.org>
This commit is contained in:
Francois Andrieu 2020-12-17 00:30:39 +01:00 committed by kevin
parent a8c07ed5da
commit 62d6ef8712

View file

@ -74,12 +74,12 @@
# actions to delete the project from OpenShift
###############################################
# to run: sudo rbac-playbook -l os_masters_stg[0] -t delete openshift-apps/docstranslation.yml
- name: Delete cron jobs
- name: Delete project
include_role:
name: openshift/object-delete
vars:
objecttype: cronjob
objectname: cron
objecttype: project
objectname: docstranslation
tags:
- never
- delete