summaryrefslogtreecommitdiffstats
path: root/roles/openshift_docker
diff options
context:
space:
mode:
authorJason DeTiberus <detiber@gmail.com>2016-05-17 13:12:17 -0400
committerJason DeTiberus <detiber@gmail.com>2016-05-17 13:12:17 -0400
commit1a62bb86815ac43782321cfb39eb13169b8e1a5e (patch)
treebf853bd208e3351b4295c365f505e98362c87f6a /roles/openshift_docker
parent18ea4c3e71a14770f656a3057a358b74e72a779e (diff)
parent79d58eeb6e130e4bfa37f194632c29f9e4ad9156 (diff)
downloadopenshift-1a62bb86815ac43782321cfb39eb13169b8e1a5e.tar.gz
openshift-1a62bb86815ac43782321cfb39eb13169b8e1a5e.tar.bz2
openshift-1a62bb86815ac43782321cfb39eb13169b8e1a5e.tar.xz
openshift-1a62bb86815ac43782321cfb39eb13169b8e1a5e.zip
Merge pull request #1899 from abutcher/v2-recursive-loop
Fix 'recursive loop detected in template string' for upgrading variable.
Diffstat (limited to 'roles/openshift_docker')
-rw-r--r--roles/openshift_docker/defaults/main.yml2
-rw-r--r--roles/openshift_docker/tasks/main.yml5
2 files changed, 2 insertions, 5 deletions
diff --git a/roles/openshift_docker/defaults/main.yml b/roles/openshift_docker/defaults/main.yml
new file mode 100644
index 000000000..aebef75d6
--- /dev/null
+++ b/roles/openshift_docker/defaults/main.yml
@@ -0,0 +1,2 @@
+---
+upgrading: False
diff --git a/roles/openshift_docker/tasks/main.yml b/roles/openshift_docker/tasks/main.yml
index 5d5174ec9..9c5887f76 100644
--- a/roles/openshift_docker/tasks/main.yml
+++ b/roles/openshift_docker/tasks/main.yml
@@ -2,11 +2,6 @@
# 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:
- upgrading: False
- when: upgrading is not defined
-
- 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