Fix support for ansible 2.7.9 (#4375)

pull/4379/head
Matthew Mosesohn 2019-03-20 11:29:42 -07:00 committed by Kubernetes Prow Robot
parent ec08303f82
commit b7fd462944
2 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@
delegate_to: "{{ item[0] }}"
with_nested:
- "{{ groups['k8s-cluster'] }}"
- "{{ local_volume_provisioner_storage_classes.keys() }}"
- "{{ local_volume_provisioner_storage_classes.keys() | list}}"
- name: Local Volume Provisioner | Create addon dir
file:
@ -59,4 +59,4 @@
with_items: "{{ local_volume_provisioner_manifests.results }}"
when: inventory_hostname == groups['kube-master'][0]
loop_control:
label: "{{ item.item.file }}"
label: "{{ item.item.file }}"

View File

@ -52,7 +52,7 @@
owner: root
group: root
mode: 0700
with_items: "{{ local_volume_provisioner_storage_classes.keys() }}"
with_items: "{{ local_volume_provisioner_storage_classes.keys() | list }}"
when:
- inventory_hostname in groups['k8s-cluster']
- local_volume_provisioner_enabled