diff options
author | Scott Dodson <sdodson@redhat.com> | 2017-12-05 13:26:55 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-05 13:26:55 -0500 |
commit | 03f5d8249478ca5e62eb3d5db7aa1b7a43de96eb (patch) | |
tree | 4f832c169d00cd8962333c29096753cb6e322b19 /roles/openshift_persistent_volumes/templates/persistent-volume.yml.j2 | |
parent | e64cc7d416e8121dcda25be05da9ec3c5b6899eb (diff) | |
parent | 0de559c8f2fd310fe36047ae000574229b7858c9 (diff) | |
download | openshift-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 'roles/openshift_persistent_volumes/templates/persistent-volume.yml.j2')
-rw-r--r-- | roles/openshift_persistent_volumes/templates/persistent-volume.yml.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_persistent_volumes/templates/persistent-volume.yml.j2 b/roles/openshift_persistent_volumes/templates/persistent-volume.yml.j2 index ee9dac7cb..9ec14208b 100644 --- a/roles/openshift_persistent_volumes/templates/persistent-volume.yml.j2 +++ b/roles/openshift_persistent_volumes/templates/persistent-volume.yml.j2 @@ -17,5 +17,5 @@ items: capacity: storage: "{{ volume.capacity }}" accessModes: {{ volume.access_modes | to_padded_yaml(2, 2) }} - {{ volume.storage.keys()[0] }}: {{ volume.storage[volume.storage.keys()[0]] | to_padded_yaml(3, 2) }} + {{ (volume.storage.keys() | list)[0] }}: {{ volume.storage[(volume.storage.keys() | list)[0]] | to_padded_yaml(3, 2) }} {% endfor %} |