diff options
author | Brenton Leanhardt <bleanhar@redhat.com> | 2016-04-08 17:13:48 -0400 |
---|---|---|
committer | Brenton Leanhardt <bleanhar@redhat.com> | 2016-04-08 17:13:48 -0400 |
commit | 64c81e42bbd859977c059c4b2a154d59382a7c27 (patch) | |
tree | a88635dc132fac16c713f393feecf58cce31f19b /roles/openshift_common | |
parent | d6d9cba774291c821c9531aa05049a6e3e22d7ff (diff) | |
parent | 8591af8679e13374d9f13d8867679adee45a7d0d (diff) | |
download | openshift-64c81e42bbd859977c059c4b2a154d59382a7c27.tar.gz openshift-64c81e42bbd859977c059c4b2a154d59382a7c27.tar.bz2 openshift-64c81e42bbd859977c059c4b2a154d59382a7c27.tar.xz openshift-64c81e42bbd859977c059c4b2a154d59382a7c27.zip |
Merge pull request #1733 from abutcher/hosted-facts
Fix hosted facts
Diffstat (limited to 'roles/openshift_common')
-rw-r--r-- | roles/openshift_common/tasks/main.yml | 6 |
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. |