Skip to content

Commit

Permalink
style: Fix some lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Christie committed Dec 20, 2024
1 parent cfe368b commit 9976a05
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions roles/operator/tasks/dm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,23 @@

# Check the Data Manager Namespace and Service Account exists...

- name: Display namespace
ansible.builtin.debug:
var: jo_dmapi_namespace

- name: Deploy DataManager RBAC objects (kubeconfig)
when: jo_kubeconfig != 'SetMe'
module_defaults:
group/k8s:
kubeconfig: "{{ jo_kubeconfig }}"
block:

- name: Patch the Data Manager ({{ jo_dmapi_namespace }}) (kubeconfig)
- name: Patch the Data Manager (kubeconfig)
ansible.builtin.include_tasks: dm-patch.yaml

- name: Deploy DataManager RBAC objects (k8s API)
when: jo_kubeconfig == 'SetMe'
block:

- name: Patch the Data Manager ({{ jo_dmapi_namespace }}) (k8s API)
- name: Patch the Data Manager (k8s API)
ansible.builtin.include_tasks: dm-patch.yaml

0 comments on commit 9976a05

Please sign in to comment.