Skip to content

Commit

Permalink
removed role_path variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Nils Koenig committed Jan 29, 2024
1 parent 4e0d5aa commit 12d669c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
sap_hypervisor_node_preconfigure_install_operators: true
sap_hypervisor_node_preconfigure_install_hpp: true
sap_hypervisor_node_preconfigure_install_trident: false
sap_hypervisor_node_preconfigure_setup_worker_nodes: true

sap_hypervisor_node_preconfigure_cluster_config:

# URL under which the OCP cluster is reachable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,22 +61,22 @@
when: __sap_hypervisor_node_preconfigure_register_worker_memory_gib | int >= 512

- name: Include prepare
ansible.builtin.include_tasks: "{{ role_path }}/tasks/platform/{{ sap_hypervisor_node_platform }}/prepare.yml"
ansible.builtin.include_tasks: "platform/{{ sap_hypervisor_node_platform }}/prepare.yml"
- name: Include tuned virtual host
ansible.builtin.include_tasks: "{{ role_path }}/tasks/platform/{{ sap_hypervisor_node_platform }}/tuned-virtual-host.yml"
ansible.builtin.include_tasks: "platform/{{ sap_hypervisor_node_platform }}/tuned-virtual-host.yml"
- name: Include install CNV operator
ansible.builtin.include_tasks: "{{ role_path }}/tasks/platform/{{ sap_hypervisor_node_platform }}/install-cnv-operator.yml"
ansible.builtin.include_tasks: "platform/{{ sap_hypervisor_node_platform }}/install-cnv-operator.yml"
when: sap_hypervisor_node_preconfigure_install_operators
- name: Include install sriov operator
ansible.builtin.include_tasks: "{{ role_path }}/tasks/platform/{{ sap_hypervisor_node_platform }}/install-sriov-operator.yml"
ansible.builtin.include_tasks: "platform/{{ sap_hypervisor_node_platform }}/install-sriov-operator.yml"
when: sap_hypervisor_node_preconfigure_install_operators
- name: Include install nmstate operator
ansible.builtin.include_tasks: "{{ role_path }}/tasks/platform/{{ sap_hypervisor_node_platform }}/install-nmstate-operator.yml"
ansible.builtin.include_tasks: "platform/{{ sap_hypervisor_node_platform }}/install-nmstate-operator.yml"
when: sap_hypervisor_node_preconfigure_install_operators
- name: Include install virtctl
ansible.builtin.include_tasks: "{{ role_path }}/tasks/platform/{{ sap_hypervisor_node_platform }}/install-virtctl.yml"
ansible.builtin.include_tasks: "platform/{{ sap_hypervisor_node_platform }}/install-virtctl.yml"
- name: Include setup worker nodes
ansible.builtin.include_tasks: "{{ role_path }}/tasks/platform/{{ sap_hypervisor_node_platform }}/setup-worker-nodes.yml"
ansible.builtin.include_tasks: "platform/{{ sap_hypervisor_node_platform }}/setup-worker-nodes.yml"
when: sap_hypervisor_node_preconfigure_setup_workers

# How to wait for node to be scheduleable? (NodeSchedulable)
Expand All @@ -90,9 +90,9 @@
var: __sap_hypervisor_node_preconfigure_register_nodes_ready.stdout_lines

- name: Include Trident installation
ansible.builtin.include_tasks: "{{ role_path }}/tasks/platform/{{ sap_hypervisor_node_platform }}/install-trident.yml"
ansible.builtin.include_tasks: "platform/{{ sap_hypervisor_node_platform }}/install-trident.yml"
when: sap_hypervisor_node_preconfigure_install_trident

- name: Include local storage creation (HPP)
ansible.builtin.include_tasks: "{{ role_path }}/tasks/platform/{{ sap_hypervisor_node_platform }}/install-hpp.yml"
ansible.builtin.include_tasks: "platform/{{ sap_hypervisor_node_platform }}/install-hpp.yml"
when: sap_hypervisor_node_preconfigure_install_hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
- name: Include configure worker
ansible.builtin.include_tasks: "{{ role_path }}/tasks/platform/{{ sap_hypervisor_node_platform }}/configure-worker-node.yml"
ansible.builtin.include_tasks: "platform/{{ sap_hypervisor_node_platform }}/configure-worker-node.yml"
with_items: "{{ sap_hypervisor_node_preconfigure_cluster_config.workers }}"
loop_control:
loop_var: __sap_hypervisor_node_preconfigure_register_worker
Expand Down

0 comments on commit 12d669c

Please sign in to comment.