Fix support for ansible 2.7.9 (#4375)
parent
ec08303f82
commit
b7fd462944
|
@ -9,7 +9,7 @@
|
||||||
delegate_to: "{{ item[0] }}"
|
delegate_to: "{{ item[0] }}"
|
||||||
with_nested:
|
with_nested:
|
||||||
- "{{ groups['k8s-cluster'] }}"
|
- "{{ groups['k8s-cluster'] }}"
|
||||||
- "{{ local_volume_provisioner_storage_classes.keys() }}"
|
- "{{ local_volume_provisioner_storage_classes.keys() | list}}"
|
||||||
|
|
||||||
- name: Local Volume Provisioner | Create addon dir
|
- name: Local Volume Provisioner | Create addon dir
|
||||||
file:
|
file:
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: 0700
|
mode: 0700
|
||||||
with_items: "{{ local_volume_provisioner_storage_classes.keys() }}"
|
with_items: "{{ local_volume_provisioner_storage_classes.keys() | list }}"
|
||||||
when:
|
when:
|
||||||
- inventory_hostname in groups['k8s-cluster']
|
- inventory_hostname in groups['k8s-cluster']
|
||||||
- local_volume_provisioner_enabled
|
- local_volume_provisioner_enabled
|
||||||
|
|
Loading…
Reference in New Issue