mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-26 03:23:08 +08:00
add a way to oc rollout latest
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user