docsbuilding: add the possibility to delete the cronjob from ansible
Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
parent
e2767ee22e
commit
45682d6589
1 changed files with 13 additions and 0 deletions
|
@ -32,7 +32,20 @@
|
||||||
app: docsbuilding
|
app: docsbuilding
|
||||||
template: cron.yml
|
template: cron.yml
|
||||||
objectname: cron.yml
|
objectname: cron.yml
|
||||||
|
tags:
|
||||||
|
- deploy-cronjob
|
||||||
- role: openshift/object
|
- role: openshift/object
|
||||||
app: docsbuilding
|
app: docsbuilding
|
||||||
file: pvc.yml
|
file: pvc.yml
|
||||||
objectname: pvc.yml
|
objectname: pvc.yml
|
||||||
|
|
||||||
|
|
||||||
|
###############################################
|
||||||
|
# actions to delete the project from OpenShift
|
||||||
|
###############################################
|
||||||
|
# to run: sudo rbac-playbook -l os_masters_stg[0] -t delete openshift-apps/docsbuilding.yml
|
||||||
|
- role: openshift/object-delete
|
||||||
|
app: docsbuilding
|
||||||
|
objecttype: cronjob
|
||||||
|
objectname: build
|
||||||
|
tags: [ never, delete ]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue