ansible-role-k8s-calico/tasks/main.yml
2020-03-21 02:35:04 +01:00

10 lines
268 B
YAML

- include_vars: "calico-files.yaml"
- name: calico setup
block:
- name: calico install
k8s:
state: present
context: "{{ my_context }}"
resource_definition: "{{ lookup('file', item) | from_yaml }}"
with_items:
- "{{ calico_files }}"