summaryrefslogtreecommitdiffstats
path: root/playbooks/openshift-hosted/private
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-12-05 13:26:55 -0500
committerGitHub <noreply@github.com>2017-12-05 13:26:55 -0500
commit03f5d8249478ca5e62eb3d5db7aa1b7a43de96eb (patch)
tree4f832c169d00cd8962333c29096753cb6e322b19 /playbooks/openshift-hosted/private
parente64cc7d416e8121dcda25be05da9ec3c5b6899eb (diff)
parent0de559c8f2fd310fe36047ae000574229b7858c9 (diff)
downloadopenshift-03f5d8249478ca5e62eb3d5db7aa1b7a43de96eb.tar.gz
openshift-03f5d8249478ca5e62eb3d5db7aa1b7a43de96eb.tar.bz2
openshift-03f5d8249478ca5e62eb3d5db7aa1b7a43de96eb.tar.xz
openshift-03f5d8249478ca5e62eb3d5db7aa1b7a43de96eb.zip
Merge pull request #6306 from mgugino-upstream-stage/fix-hosted-vars
Fix hosted vars
Diffstat (limited to 'playbooks/openshift-hosted/private')
-rw-r--r--playbooks/openshift-hosted/private/create_persistent_volumes.yml4
1 files changed, 0 insertions, 4 deletions
diff --git a/playbooks/openshift-hosted/private/create_persistent_volumes.yml b/playbooks/openshift-hosted/private/create_persistent_volumes.yml
index 8a60a30b8..41ae2eb69 100644
--- a/playbooks/openshift-hosted/private/create_persistent_volumes.yml
+++ b/playbooks/openshift-hosted/private/create_persistent_volumes.yml
@@ -1,9 +1,5 @@
---
- name: Create Hosted Resources - persistent volumes
hosts: oo_first_master
- vars:
- persistent_volumes: "{{ hostvars[groups.oo_first_master.0] | oo_persistent_volumes(groups) }}"
- persistent_volume_claims: "{{ hostvars[groups.oo_first_master.0] | oo_persistent_volume_claims }}"
roles:
- role: openshift_persistent_volumes
- when: persistent_volumes | length > 0 or persistent_volume_claims | length > 0