k8s-sig-cluster-lifecycleawskubesprayhigh-availabilityansiblekubernetes-clustergcekubernetesbare-metal
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
466 B
18 lines
466 B
---
|
|
- name: Copy OCI RBAC Manifest
|
|
copy:
|
|
src: "oci-rbac.yml"
|
|
dest: "{{ kube_config_dir }}/oci-rbac.yml"
|
|
when:
|
|
- cloud_provider is defined
|
|
- cloud_provider == 'oci'
|
|
- inventory_hostname == groups['kube-master'][0]
|
|
|
|
- name: Apply OCI RBAC
|
|
kube:
|
|
kubectl: "{{bin_dir}}/kubectl"
|
|
filename: "{{ kube_config_dir }}/oci-rbac.yml"
|
|
when:
|
|
- cloud_provider is defined
|
|
- cloud_provider == 'oci'
|
|
- inventory_hostname == groups['kube-master'][0]
|