Skip to content

Commit 104fb13

Browse files
authored
Revert "include specific tasks for the operators after all operators are inst…" (#38)
This reverts commit bd62cce.
1 parent 597dbcb commit 104fb13

4 files changed

Lines changed: 8 additions & 12 deletions

File tree

operators/ansible-automation-platform-operator/tasks.yaml

Lines changed: 0 additions & 3 deletions
This file was deleted.

operators/metallb-operator/tasks.yaml

Lines changed: 0 additions & 3 deletions
This file was deleted.

playbooks/tasks/configure_operator.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,3 +105,11 @@
105105
- r_csv.resources[0].status.phase is defined
106106
- r_csv.resources[0].status.phase | length > 0
107107
- r_csv.resources[0].status.phase == "Succeeded"
108+
109+
110+
- name: Include specific tasks for the operator
111+
ansible.builtin.include_tasks: "{{ item }}"
112+
with_first_found:
113+
- files:
114+
- "../../operators/{{ operator.name }}/tasks.yaml"
115+
skip: true

playbooks/tasks/configure_operators.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,5 @@
1313
loop_control:
1414
loop_var: operator
1515

16-
- name: Include specific tasks for the operators
17-
ansible.builtin.include_tasks: "../../operators/{{ operator.name }}/tasks.yaml"
18-
loop: "{{ [storage_operators[blockStorageBackend]] + operators }}"
19-
loop_control:
20-
loop_var: operator
21-
2216
environment:
2317
KUBECONFIG: "{{ workingDir }}/ocp-cluster/auth/kubeconfig"

0 commit comments

Comments
 (0)