add a way to oc rollout latest

Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
This commit is contained in:
Rick Elrod 2017-07-25 19:45:41 +00:00
parent f962b2ede0
commit 9153bf1ae3
2 changed files with 4 additions and 0 deletions

View file

@ -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 }

View file

@ -0,0 +1,3 @@
- name: Run `oc rollout latest`
shell: oc -n {{app}} rollout latest {{name}}
run_once: true