You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
382 B

  1. ---
  2. - name: Canal | Start Resources
  3. kube:
  4. name: "{{item.item.name}}"
  5. namespace: "{{ system_namespace }}"
  6. kubectl: "{{bin_dir}}/kubectl"
  7. resource: "{{item.item.type}}"
  8. filename: "{{kube_config_dir}}/{{item.item.file}}"
  9. state: "latest"
  10. with_items: "{{ canal_manifests.results }}"
  11. when: inventory_hostname == groups['kube-master'][0] and not item|skipped