add a way to oc rollout latest
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
This commit is contained in:
parent
f962b2ede0
commit
9153bf1ae3
2 changed files with 4 additions and 0 deletions
|
@ -17,3 +17,4 @@
|
|||
- { role: openshift/object, app: modernpaste, file: service.yml }
|
||||
- { role: openshift/object, app: modernpaste, file: route.yml }
|
||||
- { role: openshift/object, app: modernpaste, file: deploymentconfig.yml }
|
||||
- { role: openshift/rollout, app: modernpaste, name: modernpaste-web }
|
||||
|
|
3
roles/openshift/rollout/tasks/main.yml
Normal file
3
roles/openshift/rollout/tasks/main.yml
Normal file
|
@ -0,0 +1,3 @@
|
|||
- name: Run `oc rollout latest`
|
||||
shell: oc -n {{app}} rollout latest {{name}}
|
||||
run_once: true
|
Loading…
Add table
Add a link
Reference in a new issue