summaryrefslogtreecommitdiffstats
path: root/roles/openshift_docker/tasks/main.yml
blob: aaa4727273fc34d63a46c8f80152aa287e407723 (plain)
1
2
3
4
5
6
7
8
9
10
---
# It's important that we don't explicitly pull this image here.  Otherwise we
# could result in upgrading a preinstalled environment.  We'll have to set
# openshift_image_tag correctly for upgrades.
- set_fact:
    is_containerized: "{{ openshift.common.is_containerized | default(False) | bool }}"
    # Does the host already have an image tag fact, used to determine if it's a new node
    # in non-upgrade scenarios:
    has_image_tag_fact: "{{ hostvars[inventory_hostname].openshift.docker.openshift_image_tag is defined }}"