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.

18 lines
468 B

  1. ---
  2. - name: Copy OCI RBAC Manifest
  3. copy:
  4. src: "oci-rbac.yml"
  5. dest: "{{ kube_config_dir }}/oci-rbac.yml"
  6. when:
  7. - cloud_provider is defined
  8. - cloud_provider == 'oci'
  9. - inventory_hostname == groups['kube-master'][0]
  10. - name: Apply OCI RBAC
  11. kube:
  12. kubectl: "{{ bin_dir }}/kubectl"
  13. filename: "{{ kube_config_dir }}/oci-rbac.yml"
  14. when:
  15. - cloud_provider is defined
  16. - cloud_provider == 'oci'
  17. - inventory_hostname == groups['kube-master'][0]