---
- name: Contiv | Create Kubernetes resources
kube:
namespace: "kube-system"
kubectl: "{{ bin_dir }}/kubectl"
filename: "{{contiv_manifests_results.results | selectattr('skipped', 'undefined') | map(attribute='item') | map(attribute='file') | map('regex_replace', '^(.*)$', contiv_config_dir+'/\\1') | list }}"
state: "{{ item.changed | ternary('latest','present') }}"
run_once: true
- import_tasks: configure.yml