We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a2743b commit 6809fafCopy full SHA for 6809faf
roles/operator/tasks/dm.yaml
@@ -8,11 +8,19 @@
8
9
# Check the Data Manager Namespace and Service Account exists...
10
11
-- name: Deploy DataManager RBAC objects
+- name: Deploy DataManager RBAC objects (kubeconfig)
12
+ when: jo_kubeconfig != 'SetMe'
13
module_defaults:
14
group/k8s:
15
kubeconfig: "{{ jo_kubeconfig }}"
16
block:
17
- - name: Patch the Data Manager ({{ jo_dmapi_namespace }})
18
+ - name: Patch the Data Manager ({{ jo_dmapi_namespace }}) (kubeconfig)
19
+ ansible.builtin.include_tasks: dm-patch.yaml
20
+
21
+- name: Deploy DataManager RBAC objects (k8s API)
22
+ when: jo_kubeconfig == 'SetMe'
23
+ block:
24
25
+ - name: Patch the Data Manager ({{ jo_dmapi_namespace }}) (k8s API)
26
ansible.builtin.include_tasks: dm-patch.yaml
0 commit comments