diff options
author | Wesley Hearn <whearn@redhat.com> | 2015-07-20 16:20:12 -0400 |
---|---|---|
committer | Wesley Hearn <whearn@redhat.com> | 2015-07-23 11:30:48 -0400 |
commit | c4cca1d7184ae859706b5854a04f18095c12f1d6 (patch) | |
tree | d0637086194fcc303226ff7d3f98684c8d427a44 /playbooks/common/openshift-node | |
parent | 0cbeae4df062af3e2c1a4cb08ef3b4e742394ed6 (diff) | |
download | openshift-c4cca1d7184ae859706b5854a04f18095c12f1d6.tar.gz openshift-c4cca1d7184ae859706b5854a04f18095c12f1d6.tar.bz2 openshift-c4cca1d7184ae859706b5854a04f18095c12f1d6.tar.xz openshift-c4cca1d7184ae859706b5854a04f18095c12f1d6.zip |
Infra node support
Diffstat (limited to 'playbooks/common/openshift-node')
-rw-r--r-- | playbooks/common/openshift-node/config.yml | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/playbooks/common/openshift-node/config.yml b/playbooks/common/openshift-node/config.yml index bd35008b8..6ef375bbb 100644 --- a/playbooks/common/openshift-node/config.yml +++ b/playbooks/common/openshift-node/config.yml @@ -129,16 +129,14 @@ openshift_nodes: "{{ hostvars | oo_select_keys(groups['oo_nodes_to_config']) | oo_collect('openshift.common.hostname') }}" - openshift_unscheduleable_nodes: "{{ hostvars - | oo_select_keys(groups['oo_nodes_to_config'] - | default([])) - | oo_collect('openshift.common.hostname', {'openshift_scheduleable': False}) }}" + openshift_unscheduleable_nodes: "{{ hostvars | oo_select_keys(groups['oo_nodes_to_config'] | default([])) + | oo_collect('openshift.common.hostname', {'openshift_scheduleable': False}) }}" pre_tasks: - set_fact: openshift_scheduleable_nodes: "{{ hostvars - | oo_select_keys(groups['oo_nodes_to_config'] - | default([])) + | oo_select_keys(groups['oo_nodes_to_config'] | default([])) | oo_collect('openshift.common.hostname') | difference(openshift_unscheduleable_nodes) }}" + roles: - openshift_manage_node |