summaryrefslogtreecommitdiffstats
path: root/roles/openshift_common/tasks
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-04-08 12:36:42 -0400
committerAndrew Butcher <abutcher@redhat.com>2016-04-08 12:36:42 -0400
commitba4debd2aa9c808cd982030d3589443e87bb900e (patch)
tree312fe48ea34d048c33ca2a12a610bedcc2819bde /roles/openshift_common/tasks
parent51e390459d7eda90c44d9ffd7f1199a3590beac1 (diff)
downloadopenshift-ba4debd2aa9c808cd982030d3589443e87bb900e.tar.gz
openshift-ba4debd2aa9c808cd982030d3589443e87bb900e.tar.bz2
openshift-ba4debd2aa9c808cd982030d3589443e87bb900e.tar.xz
openshift-ba4debd2aa9c808cd982030d3589443e87bb900e.zip
Add openshift_hosted_facts role and remove hosted facts from openshift_common.
Diffstat (limited to 'roles/openshift_common/tasks')
-rw-r--r--roles/openshift_common/tasks/main.yml6
1 files changed, 1 insertions, 5 deletions
diff --git a/roles/openshift_common/tasks/main.yml b/roles/openshift_common/tasks/main.yml
index b6074ff64..59ca659b5 100644
--- a/roles/openshift_common/tasks/main.yml
+++ b/roles/openshift_common/tasks/main.yml
@@ -36,12 +36,8 @@
action: "{{ ansible_pkg_mgr }} name={{ openshift.common.service_type }}{{ openshift_version | default('') | oo_image_tag_to_rpm_version }} state=present"
when: not openshift.common.is_containerized | bool
-# This invocation also updates the version facts which are necessary
-# for setting the hostname below.
-- name: openshift_facts
+- name: Set version facts
openshift_facts:
- role: hosted
- openshift_env: "{{ hostvars[inventory_hostname] | oo_openshift_env }}"
# For enterprise versions < 3.1 and origin versions < 1.1 we want to set the
# hostname by default.