-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into main-dev-merge
- Loading branch information
Showing
151 changed files
with
2,923 additions
and
385 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
requires_ansible: '>=2.9.10' | ||
requires_ansible: '>=2.12.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
# List of playbooks | ||
|
||
- prepare-for-hana | ||
- prepare-for-netweaver | ||
- install-sap-hana | ||
- install-sap-hana-cluster | ||
- install-sap-hana-s4 |
11 changes: 11 additions & 0 deletions
11
playbooks/sample-sap-hypervisor-redhat_ocp_virt-preconfigure.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
- hosts: all | ||
gather_facts: true | ||
serial: 1 | ||
vars: | ||
sap_hypervisor_node_platform: redhat_ocp_virt | ||
|
||
tasks: | ||
- name: Include Role | ||
ansible.builtin.include_role: | ||
name: sap_hypervisor_node_preconfigure |
92 changes: 92 additions & 0 deletions
92
playbooks/vars/sample-variables-sap-hypervisor-node-preconfigure-rh_ocp_virt.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
sap_hypervisor_node_preconfigure_cluster_config: | ||
|
||
# URL under which the OCP cluster is reachable | ||
cluster_url: ocpcluster.domain.org | ||
|
||
# namespace under which the VMs are created, note this has to be | ||
# openshift-sriov-network-operator in case of using SRIOV network | ||
# devices | ||
vm_namespace: sap | ||
|
||
# Optional, configuration for trident driver for Netapp NFS filer | ||
trident: | ||
management: management.domain.org | ||
data: datalif.netapp.domain.org | ||
svm: sap_svm | ||
backend: nas_backend | ||
aggregate: aggregate_Name | ||
username: admin | ||
password: xxxxx | ||
storage_driver: ontap-nas | ||
storage_prefix: ocpv_sap_ | ||
|
||
# CPU cores which will be reserved for kubernetes | ||
worker_kubernetes_reserved_cpus: "0,1" | ||
|
||
# Storage device used for host path provisioner as local storage. | ||
worker_localstorage_device: /dev/vdb | ||
|
||
# detailed configuration for every worker that should be configured | ||
# | ||
workers: | ||
- name: worker-0 # name must match the node name | ||
networks: # Example network config | ||
- name: sapbridge # using a bridge | ||
description: SAP bridge | ||
state: up | ||
type: linux-bridge | ||
ipv4: | ||
enabled: false | ||
auto-gateway: false | ||
auto-dns: false | ||
bridge: | ||
options: | ||
stp: | ||
enabled: false | ||
port: | ||
- name: ens1f0 # network IF name | ||
- name: storage # an SRIOV device | ||
interface: ens2f0 # network IF name | ||
type: sriov | ||
|
||
- bridge: # another bridge | ||
options: | ||
stp: | ||
enabled: false | ||
port: | ||
- name: ens2f0 # network IF name | ||
description: storage | ||
mtu: 9000 | ||
ipv4: | ||
address: | ||
- ip: 192.168.1.51 # IP config | ||
prefix-length: 24 | ||
auto-dns: false | ||
auto-gateway: false | ||
enabled: true | ||
name: storagebridge | ||
state: up | ||
type: linux-bridge | ||
- name: multi # another SRIOV device | ||
interface: ens2f1 # network IF name | ||
type: sriov | ||
|
||
- name: worker-1 # second worker configuration | ||
networks: # Example network config | ||
- name: sapbridge # using a bridge | ||
description: SAP bridge | ||
state: up | ||
type: linux-bridge | ||
ipv4: | ||
enabled: false | ||
auto-gateway: false | ||
auto-dns: false | ||
bridge: | ||
options: | ||
stp: | ||
enabled: false | ||
port: | ||
- name: ens1f0 # network IF name | ||
- name: storage # an SRIOV device | ||
interface: ens2f0 # network IF name | ||
type: sriov |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
--- | ||
requires_ansible: '>=2.12.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
--- | ||
exclude_paths: | ||
- tests/ | ||
enable_list: | ||
- yaml | ||
skip_list: | ||
- meta-runtime[unsupported-version] # We don't want to enforce new Ansible versions for Galaxy | ||
- ignore-errors # We use ignore_errors for all the assert tasks, which should be acceptable | ||
- schema # We want to allow single digit version numbers in a role's meta/main.yml file. This is allowed as per https://galaxy.ansible.com/docs/contributing/creating_role.html and https://galaxy.ansible.com/api/v1/platforms/?page=6. | ||
- name[template] # Allow templating inside name. During dev and qa, it should be possible to identify cases where it doesn't work |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
requires_ansible: '>=2.9.10' | ||
requires_ansible: '>=2.12.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
requires_ansible: '>=2.9.10' | ||
requires_ansible: '>=2.12.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,3 +24,4 @@ | |
EOF | ||
ignore_errors: true | ||
when: sap_ha_install_hana_hsr_log_mode.rc != '0' | ||
changed_when: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.