summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Gugino <mgugino@redhat.com>2018-01-17 12:49:00 -0500
committerMichael Gugino <mgugino@redhat.com>2018-01-17 12:49:00 -0500
commit8b868a95ba46dc5779e686b5e9d50d5dc01022ad (patch)
tree682b9c43dbc37c40335ee346bec8408726d2e191
parent2e1a1328457315c0d434d5a0fe1660e07512f6bd (diff)
downloadopenshift-8b868a95ba46dc5779e686b5e9d50d5dc01022ad.tar.gz
openshift-8b868a95ba46dc5779e686b5e9d50d5dc01022ad.tar.bz2
openshift-8b868a95ba46dc5779e686b5e9d50d5dc01022ad.tar.xz
openshift-8b868a95ba46dc5779e686b5e9d50d5dc01022ad.zip
Add init/main.yml to etc-upgrade
Currently, etcd upgrade playbook only calls evaluate_groups to limit the number of tasks that are run against nodes during initialization. Recently, changes have been added to allow skipping of most node tasks via providing variablized host groups during initialization code. This commit allows etcd upgrades to use common init code to ensure necessary facts are defined and proper variables are sanity checked. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1527771
-rw-r--r--playbooks/openshift-etcd/upgrade.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/playbooks/openshift-etcd/upgrade.yml b/playbooks/openshift-etcd/upgrade.yml
index ccc797527..71606e7e4 100644
--- a/playbooks/openshift-etcd/upgrade.yml
+++ b/playbooks/openshift-etcd/upgrade.yml
@@ -1,4 +1,7 @@
---
-- import_playbook: ../init/evaluate_groups.yml
+- import_playbook: ../init/main.yml
+ vars:
+ skip_verison: True
+ l_upgrade_non_node_hosts: "oo_masters_to_config:oo_etcd_to_config:oo_lb_to_config"
- import_playbook: private/upgrade_main.yml