summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades
diff options
context:
space:
mode:
authorDevan Goodwin <dgoodwin@redhat.com>2016-09-14 14:51:47 -0300
committerDevan Goodwin <dgoodwin@redhat.com>2016-09-29 10:26:01 -0300
commit67fbf22ec96d07b8646de701b60e2718a4d6bef3 (patch)
treebc96b8fb451b536afc3fa6b64d5a7ec7279cf3d7 /playbooks/common/openshift-cluster/upgrades
parent9dcc8fc7123e1f13e945a658ffe7331730b0105f (diff)
downloadopenshift-67fbf22ec96d07b8646de701b60e2718a4d6bef3.tar.gz
openshift-67fbf22ec96d07b8646de701b60e2718a4d6bef3.tar.bz2
openshift-67fbf22ec96d07b8646de701b60e2718a4d6bef3.tar.xz
openshift-67fbf22ec96d07b8646de701b60e2718a4d6bef3.zip
Allow customizing node upgrade serial value.
Diffstat (limited to 'playbooks/common/openshift-cluster/upgrades')
-rw-r--r--playbooks/common/openshift-cluster/upgrades/upgrade_nodes.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/upgrade_nodes.yml b/playbooks/common/openshift-cluster/upgrades/upgrade_nodes.yml
index 0ab8ba23c..5190ab4d8 100644
--- a/playbooks/common/openshift-cluster/upgrades/upgrade_nodes.yml
+++ b/playbooks/common/openshift-cluster/upgrades/upgrade_nodes.yml
@@ -1,7 +1,9 @@
---
- name: Evacuate and upgrade nodes
hosts: oo_nodes_to_config
- serial: 1
+ # This var must be set with -e on invocation, as it is not a per-host inventory var
+ # and is evaluated early. Values such as "20%" can also be used.
+ serial: "{{ openshift_upgrade_nodes_serial | default(1) }}"
any_errors_fatal: true
roles:
- openshift_facts