All of these already had a comment about how to delete the projects. Now we added a comment about how to deploy the project too, which is nice for copy/pasting. Also fixed up some of the other comments throughout.
32 lines
897 B
YAML
32 lines
897 B
YAML
---
|
|
- hosts: os_control:os_control_stg
|
|
user: root
|
|
gather_facts: false
|
|
|
|
############################################
|
|
# actions to create the project in OpenShift
|
|
############################################
|
|
# to run: sudo rbac-playbook -l os_control_stg openshift-apps/coreos-ci.yml
|
|
roles:
|
|
- role: openshift-apps/coreos-ci
|
|
project_name: coreos-ci
|
|
project_description: CoreOS CI Infrastructure
|
|
appowners:
|
|
- bgilbert
|
|
- dustymabe
|
|
- jlebon
|
|
- kevin
|
|
- lucab
|
|
- miabbott
|
|
- ravanelli
|
|
- walters
|
|
|
|
###############################################
|
|
# actions to delete the project from OpenShift
|
|
###############################################
|
|
# to run: sudo rbac-playbook -l os_control_stg -t delete openshift-apps/coreos-ci.yml
|
|
- role: openshift/object-delete
|
|
app: coreos-ci
|
|
objecttype: project
|
|
objectname: coreos-ci
|
|
tags: [ never, delete ]
|