This commit is contained in:
parent
1440de4eea
commit
32dbc7da08
1 changed files with 9 additions and 3 deletions
|
|
@ -1,8 +1,9 @@
|
|||
- name: Include vars
|
||||
include_vars: "calico-files.yaml"
|
||||
|
||||
---
|
||||
- name: calico setup
|
||||
block:
|
||||
- name: Include vars
|
||||
include_vars: "calico-files.yaml"
|
||||
|
||||
- name: calico install
|
||||
k8s:
|
||||
state: present
|
||||
|
|
@ -11,3 +12,8 @@
|
|||
resource_definition: "{{ lookup('file', item) | from_yaml }}"
|
||||
with_items:
|
||||
- "{{ calico_files }}"
|
||||
when:
|
||||
- kubernetes_network == "calico"
|
||||
tags:
|
||||
- calico
|
||||
- k8s-network
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue