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.

19 lines
763 B

  1. ---
  2. - name: Multus | Copy manifest files
  3. copy:
  4. src: "{{ item.file }}"
  5. dest: "{{ kube_config_dir }}"
  6. with_items:
  7. - {name: multus-crd, file: multus-crd.yml, type: customresourcedefinition}
  8. - {name: multus-serviceaccount, file: multus-serviceaccount.yml, type: serviceaccount}
  9. - {name: multus-clusterrole, file: multus-clusterrole.yml, type: clusterrole}
  10. - {name: multus-clusterrolebinding, file: multus-clusterrolebinding.yml, type: clusterrolebinding}
  11. register: multus_manifest_1
  12. - name: Multus | Copy manifest templates
  13. template:
  14. src: "{{ item.file }}.j2"
  15. dest: "{{ kube_config_dir }}/{{ item.file }}"
  16. with_items:
  17. - {name: multus-daemonset, file: multus-daemonset.yml, type: daemonset}
  18. register: multus_manifest_2