From 89aa58b16f9c672b55f1775452aa548a356f6e31 Mon Sep 17 00:00:00 2001 From: Kimmo Forss Date: Fri, 20 Dec 2024 17:42:09 +0200 Subject: [PATCH] =?UTF-8?q?Add=20copyright=20notices=20and=20licensing=20i?= =?UTF-8?q?nformation=20to=20scripts=20and=20config=E2=80=A6=20(#676)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add copyright notices and licensing information to scripts and configuration files * Enhance: - Network rules for storage accounts and keyvaults by adding bypass options for Metrics, Logging, and AzureServices - content type for keyvault secrets --------- Co-authored-by: hdamecharla --- README.md | 8 ++ .../SDAF/Controllers/ArmclientController.cs | 3 + .../SDAF/Controllers/EnvironmentController.cs | 3 + Webapp/SDAF/Controllers/FileController.cs | 3 + Webapp/SDAF/Controllers/Helper.cs | 3 + Webapp/SDAF/Controllers/HomeController.cs | 3 + .../SDAF/Controllers/LandscapeController.cs | 3 + Webapp/SDAF/Controllers/RestHelper.cs | 3 + Webapp/SDAF/Controllers/SystemController.cs | 3 + .../SDAF/Controllers/ViewBagActionFilter.cs | 3 + Webapp/SDAF/GlobalSuppressions.cs | 3 + Webapp/SDAF/Models/AppFile.cs | 3 + Webapp/SDAF/Models/AppFileEntity.cs | 3 + Webapp/SDAF/Models/CustomValidators.cs | 3 + Webapp/SDAF/Models/DatabaseSettings.cs | 3 + Webapp/SDAF/Models/EnvironmentModel.cs | 3 + Webapp/SDAF/Models/ErrorViewModel.cs | 3 + Webapp/SDAF/Models/FileUploadModel.cs | 3 + Webapp/SDAF/Models/FormViewModel.cs | 3 + Webapp/SDAF/Models/GitRequestBody.cs | 3 + Webapp/SDAF/Models/GroupingModel.cs | 3 + Webapp/SDAF/Models/ImageDropdown.cs | 3 + Webapp/SDAF/Models/LandscapeEntity.cs | 3 + Webapp/SDAF/Models/LandscapeModel.cs | 3 + Webapp/SDAF/Models/ParameterModel.cs | 3 + Webapp/SDAF/Models/PipelineRequestBody.cs | 3 + Webapp/SDAF/Models/SapObjectIndexModel.cs | 3 + Webapp/SDAF/Models/SystemEntity.cs | 3 + Webapp/SDAF/Models/SystemModel.cs | 3 + Webapp/SDAF/Program.cs | 3 + Webapp/SDAF/Services/AppFileService.cs | 3 + Webapp/SDAF/Services/ITableStorageService.cs | 3 + Webapp/SDAF/Services/LandscapeService.cs | 3 + Webapp/SDAF/Services/SystemService.cs | 3 + Webapp/SDAF/Services/TableStorageService.cs | 3 + Webapp/SDAF/Startup.cs | 3 + Webapp/SDAF/wwwroot/css/prism.css | 4 + Webapp/SDAF/wwwroot/css/site.css | 4 + Webapp/SDAF/wwwroot/js/prism.js | 3 + Webapp/SDAF/wwwroot/js/site.js | 3 + Webapp/SDAF/wwwroot/js/web-components.min.js | 3 + boilerplate/01-deploy-control-plane.yml | 3 + boilerplate/02-sap-workload-zone.yml | 3 + boilerplate/03-sap-system-deployment.yml | 3 + boilerplate/04-sap-software-download.yml | 3 + boilerplate/05-DB-and-SAP-installation.yml | 3 + boilerplate/10-remover-terraform.yml | 3 + boilerplate/11-remover-arm-fallback.yaml | 3 + boilerplate/12-remove-control-plane.yaml | 3 + boilerplate/custom/nightly.yml | 3 + boilerplate/resources.yml | 3 + deploy/ansible/action_plugins/public_api.py | 3 + deploy/ansible/configuration_menu.sh | 3 + deploy/ansible/download_menu.sh | 3 + .../ansible/filter_plugins/custom_filters.py | 3 + .../lookup_plugins/azure_keyvault_secret.py | 3 + deploy/ansible/pb_get-keyvault-secret.yaml | 3 + deploy/ansible/pb_get-sshkey.yaml | 3 + .../playbook_00_validate_parameters.yaml | 3 + .../ansible/playbook_01_os_base_config.yaml | 3 + .../playbook_02_os_sap_specific_config.yaml | 3 + .../ansible/playbook_03_bom_processing.yaml | 3 + .../ansible/playbook_04_00_00_db_install.yaml | 3 + deploy/ansible/playbook_04_00_01_db_ha.yaml | 3 + deploy/ansible/playbook_04_00_02_db_hcmt.yaml | 3 + .../playbook_05_00_00_sap_scs_install.yaml | 3 + deploy/ansible/playbook_05_01_sap_dbload.yaml | 3 + .../playbook_05_02_sap_pas_install.yaml | 3 + .../playbook_05_03_sap_app_install.yaml | 3 + .../playbook_05_04_sap_web_install.yaml | 3 + .../playbook_06_00_acss_registration.yaml | 3 + .../playbook_06_01_ams_monitoring.yaml | 3 + ...ook_06_02_sap_on_azure_quality_checks.yaml | 3 + .../playbook_07_00_00_post_installation.yaml | 3 + ...k_08_00_00_post_configuration_actions.yaml | 3 + deploy/ansible/playbook_bom_downloader.yaml | 3 + .../ansible/playbook_sapcal_integration.yaml | 3 + .../4.0.0-hdb-install/tasks/main.yaml | 3 + .../HANA_2_00_055_v1_install.rsp.xml.j2 | 3 + .../roles-db/4.0.1-hdb-hsr/defaults/main.yml | 3 + .../tasks/4.0.1.0-pre_checks.yml | 3 + .../tasks/4.0.1.1-set_runtime_path_facts.yml | 3 + .../tasks/4.0.1.2-set_trust_relationship.yml | 3 + .../tasks/4.0.1.3-copy_ssfs_keys.yml | 3 + .../tasks/4.0.1.4-create_hana_backup.yml | 3 + .../4.0.1.5-provision_hana_replication.yml | 3 + .../tasks/4.0.1.5.0-set_global_ini_values.yml | 3 + .../tasks/4.0.1.6-post_checks.yml | 3 + .../tasks/4.0.1.7-sap-profile-changes.yml | 3 + .../roles-db/4.0.1-hdb-hsr/tasks/main.yml | 3 + .../roles-db/4.0.1-hdb-hsr/vars/main.yml | 3 + .../roles-db/4.0.2-hdb-hcmt/tasks/main.yaml | 3 + .../defaults/main.yaml | 3 + .../tasks/main.yaml | 3 + .../HANA_2_00_055_v1_install.rsp.xml.j2 | 3 + .../roles-db/4.0.4-hdb-schema/tasks/main.yaml | 3 + .../roles-db/4.0.4-hdb-schema/vars/main.yaml | 3 + .../4.1.0-ora-install/tasks/main.yaml | 3 + .../4.1.1-ora-asm-grid/tasks/main.yaml | 3 + .../4.1.2-ora-asm-db-install/tasks/main.yaml | 3 + .../roles-db/4.1.3-ora-dg/tasks/main.yaml | 3 + .../tasks/ora-dg-observer-setup.yaml | 3 + .../tasks/ora-dg-postprocessing-primary.yaml | 3 + .../ora-dg-postprocessing-secondary.yaml | 3 + .../tasks/ora-dg-preparation.yaml | 3 + .../tasks/ora-dg-secondary-preparation.yaml | 3 + .../tasks/ora-dg-setup-primary.yaml | 3 + .../tasks/ora-dg-setup-secondary.yaml | 3 + .../templates/asmfilesystems-secondary.j2 | 3 + .../templates/dbparametersfordg.j2 | 3 + .../4.1.3-ora-dg/templates/dbtrigger.j2 | 3 + .../4.1.3-ora-dg/templates/dgconfig.j2 | 3 + .../4.1.3-ora-dg/templates/enablefsfo.j2 | 3 + .../templates/listener_primary.j2 | 3 + .../templates/listener_secondary.j2 | 3 + .../templates/rman-restore-asm.j2 | 3 + .../4.1.3-ora-dg/templates/rman-restore.j2 | 3 + .../templates/secondary_log_apply_off.j2 | 3 + .../templates/secondary_log_apply_on.j2 | 3 + .../4.1.3-ora-dg/templates/sqlnet.ora.j2 | 3 + .../4.1.3-ora-dg/templates/standbyredolog.j2 | 3 + .../templates/tnsnames_primary.j2 | 3 + .../templates/tnsnames_secondary.j2 | 3 + .../4.1.3-ora-dg/templates/tnsnamesforsap.j2 | 3 + .../4.1.3-ora-multi-sid/tasks/main.yaml | 3 + .../tasks/4.2.0.0-prechecks.yml | 3 + .../roles-db/4.2.0-db2-install/tasks/main.yml | 3 + .../roles-db/4.2.0-db2-install/vars/main.yml | 3 + .../4.2.1-db2-hainstall/defaults/main.yaml | 3 + .../tasks/4.2.1.0-db2_ha_install_primary.yml | 3 + .../tasks/4.2.1.1-db2_primary_backup.yml | 3 + .../4.2.1.2-db2_ha_install_secondary.yml | 3 + .../tasks/4.2.1.3-db2_restore_secondary.yml | 3 + .../tasks/4.2.1.4-db2_haparameters.yaml | 3 + .../tasks/4.2.1.5-db2_enable_hadr.yaml | 3 + .../4.2.1.6-db2_post_install_checks.yaml | 3 + .../tasks/4.2.1.7-sap-profile-changes.yaml | 3 + .../tasks/4.2.1.8-db2_copy_keystore_files.yml | 3 + .../4.2.1.9-db2_generate_distribute_ssl.yml | 3 + .../4.2.1-db2-hainstall/tasks/main.yml | 3 + .../4.2.1-db2-hainstall/vars/main.yml | 3 + .../4.3.0-ase-install/defaults/main.yaml | 3 + .../tasks/4.3.0.1-check_db_installation.yml | 3 + .../tasks/4.3.0.2-check_sap_users.yml | 3 + .../4.3.0.3-create_install_directories.yml | 3 + .../tasks/4.3.0.4-create_ini_file.yml | 3 + .../tasks/4.3.0.5-install_db_instance.yml | 3 + .../tasks/4.3.0.6-cleanup_ini_file.yml | 3 + .../4.3.0-ase-install/tasks/main.yaml | 3 + .../4.4.0-mssql-install/handlers/main.yaml | 3 + .../tasks/4.4.0.0-mssql-prerequisites.yaml | 3 + .../tasks/4.4.0.1-mssql-main.yaml | 3 + .../tasks/4.4.1-mssql-create-DB.yaml | 3 + .../4.4.1.0-mssql-alwayson-prerequisites.yaml | 3 + .../tasks/4.4.1.1-mssql-alwayson-config.yaml | 3 + .../4.4.0-mssql-install/tasks/main.yaml | 3 + .../templates/MYSQL_v1_DB_Creation.j2 | 3 + .../templates/Set-AzLBHealthProbeSQL.j2 | 3 + .../templates/sql_disks.j2 | 3 + .../roles-misc/0.0-tester/defaults/main.yaml | 3 + .../roles-misc/0.0-tester/tasks/main.yaml | 3 + .../0.0-tester/templates/sql_disks.j2 | 3 + .../tasks/0.1.1-ha_clusterpasswords.yaml | 3 + .../roles-misc/0.1-passwords/tasks/main.yaml | 3 + .../0.1-passwords/tasks/windows.yaml | 3 + .../0.2-kv-secrets/tasks/fencing.yaml | 3 + .../roles-misc/0.2-kv-secrets/tasks/main.yaml | 3 + .../0.2-kv-secrets/tasks/s_user.yaml | 3 + .../tasks/wincluster-witness.yaml | 3 + .../tasks/main.yaml | 3 + .../roles-misc/0.4-helpers/defaults/main.yaml | 3 + .../0.4-helpers/tasks/04.01-start_hana.yml | 3 + .../0.4-helpers/tasks/04.02-stop_hana.yml | 3 + .../roles-misc/0.4-helpers/vars/main.yml | 3 + .../0.5-ACSS-registration/defaults/main.yaml | 3 + .../tasks/0.5.1-set-runtime-parameters.yaml | 3 + .../0.5-ACSS-registration/tasks/main.yaml | 3 + .../0.6-ARM-Deployment/tasks/main.yaml | 3 + .../0.7-VmAgentActions/tasks/main.yaml | 3 + .../0.8-ams-providers/defaults/main.yaml | 3 + .../tasks/0.8.1-set-runtime-parameters.yaml | 3 + .../0.8-ams-providers/tasks/main.yaml | 3 + .../tasks/run_check.yaml | 3 + .../tasks/setup.yaml | 3 + .../vars/main.yaml | 3 + .../roles-os/1.0-sudoers/tasks/main.yaml | 3 + .../roles-os/1.1-swap/defaults/main.yaml | 3 + .../roles-os/1.1-swap/handlers/main.yaml | 3 + .../ansible/roles-os/1.1-swap/tasks/main.yaml | 3 + .../roles-os/1.1-swap/templates/swap.j2 | 3 + .../1.10-networking/defaults/main.yml | 3 + .../roles-os/1.10-networking/tasks/main.yaml | 3 + .../templates/azure_interfaces.j2 | 3 + .../roles-os/1.11-accounts/defaults/main.yml | 3 + .../roles-os/1.11-accounts/tasks/main.yml | 3 + .../tasks/setup_hanausers_sudoers.yml | 3 + .../tasks/setup_user_sudoers.yml | 3 + .../templates/sudoers_admin_no_password.j2 | 3 + .../sudoers_admin_password_required.j2 | 3 + .../sudoers_hanaadmin_no_password.j2 | 3 + .../sudoers_hanaadmin_no_password_SUSE.j2 | 3 + .../1.11-accounts/vars/sudoers_default.yml | 3 + .../roles-os/1.13-MOTD/handlers/main.yaml | 3 + .../roles-os/1.13-MOTD/tasks/main.yaml | 3 + .../roles-os/1.16-services/defaults/main.yaml | 3 + .../roles-os/1.16-services/tasks/main.yaml | 3 + .../1.16-services/vars/os-services.yaml | 3 + .../1.17-generic-pacemaker/defaults/main.yml | 3 + .../tasks/1.17.0-set_runtime_facts.yml | 3 + .../tasks/1.17.1-pre_checks.yml | 3 + .../tasks/1.17.1.1-iSCSI.yml | 3 + .../tasks/1.17.1.2-sbd.yaml | 3 + .../tasks/1.17.1.3-sbd-deviceUpdate.yaml | 3 + .../tasks/1.17.2-provision.yml | 3 + .../tasks/1.17.2.0-cluster-RedHat.yml | 3 + .../tasks/1.17.2.0-cluster-Suse.yml | 3 + .../tasks/1.17.3-post_provision_report.yml | 3 + .../1.17-generic-pacemaker/tasks/main.yml | 3 + .../templates/corosync.conf.j2 | 3 + .../1.17-generic-pacemaker/vars/main.yml | 3 + .../1.18-scaleout-pacemaker/defaults/main.yml | 3 + .../tasks/1.18.0-set_runtime_facts.yml | 3 + .../tasks/1.18.1-pre_checks.yml | 3 + .../tasks/1.18.1.1-iSCSI.yml | 3 + .../tasks/1.18.1.2-sbd.yaml | 3 + .../tasks/1.18.1.3-sbd-deviceUpdate.yaml | 3 + .../tasks/1.18.2-provision.yml | 3 + .../tasks/1.18.2.0-cluster-RedHat.yml | 3 + .../tasks/1.18.2.0-cluster-Suse.yml | 3 + .../tasks/1.18.3-post_provision_report.yml | 3 + .../1.18-scaleout-pacemaker/tasks/main.yml | 3 + .../templates/corosync.conf.j2 | 3 + .../1.18-scaleout-pacemaker/vars/main.yml | 3 + .../roles-os/1.2-hostname/tasks/main.yml | 3 + .../roles-os/1.20-prometheus/tasks/main.yml | 3 + .../1.3-repository/defaults/main.yaml | 3 + .../tasks/1.3.0-preparation-RedHat.yaml | 3 + .../tasks/1.3.0-preparation-Suse.yaml | 3 + .../tasks/1.3.1-repositories-RedHat.yaml | 3 + .../tasks/1.3.1-repositories-Suse.yaml | 3 + .../1.3.2-custom-repositories-RedHat.yaml | 3 + .../tasks/1.3.2-custom-repositories-Suse.yaml | 3 + .../roles-os/1.3-repository/tasks/main.yml | 3 + .../roles-os/1.3-repository/vars/repos.yaml | 3 + .../roles-os/1.4-packages/defaults/main.yaml | 3 + .../tasks/1.4.0-packages-RedHat-prep.yaml | 3 + .../tasks/1.4.0-packages-Suse-prep.yaml | 3 + .../1.4-packages/tasks/1.4.1-packages.yaml | 3 + .../tasks/1.4.2-custom-packages.yaml | 3 + .../tasks/1.4.3-update-packages-RedHat.yaml | 3 + .../tasks/1.4.3-update-packages-Suse.yaml | 3 + .../roles-os/1.4-packages/tasks/main.yaml | 3 + .../1.4-packages/vars/os-packages.yaml | 3 + .../1.5-disk-setup/tasks/1.5-custom-disks.yml | 3 + .../tasks/1.5-expand-volumes.yml | 3 + .../roles-os/1.5-disk-setup/tasks/main.yml | 3 + .../1.5-disk-setup/templates/volume_groups.j2 | 3 + .../1.5.1-disk-setup-asm/tasks/main.yml | 3 + .../templates/volume_groups.j2 | 3 + .../tasks/main copy.yml | 3 + .../1.5.1.1-disk-setup-asm-sap/tasks/main.yml | 3 + .../templates/volume_groups.j2 | 3 + .../tasks/main.yml | 3 + .../templates/logical_volume_group.j2 | 3 + .../templates/scs_logical_volume_group.j2 | 3 + .../templates/volume_groups.j2 | 3 + .../1.5.3-disk-setup-sapcal/tasks/main.yml | 3 + .../roles-os/1.6-timezone/tasks/main.yaml | 3 + .../roles-os/1.7-chrony/defaults/main.yml | 3 + .../roles-os/1.7-chrony/tasks/main.yml | 3 + .../1.9-kernelparameters/defaults/main.yaml | 3 + .../1.9-kernelparameters/tasks/main.yaml | 3 + .../1.9-kernelparameters/vars/parameters.yaml | 3 + .../windows/1.1-swap/handlers/main.yaml | 3 + .../roles-os/windows/1.1-swap/tasks/main.yaml | 3 + .../windows/1.10-firewall/tasks/main.yaml | 3 + .../windows/1.11-domain-join/tasks/main.yaml | 3 + .../1.12-registry-config/tasks/main.yaml | 3 + .../tasks/protocols-config.yaml | 3 + .../defaults/main.yaml | 3 + .../1.17.0-wincluster-prerequisites.yaml | 3 + .../1.17.1-wincluster-createcluster.yaml | 3 + .../tasks/1.17.2-wincluster-postconfig.yaml | 3 + .../1.17-generic-wincluster/tasks/main.yaml | 3 + .../Set-AzLBHealthProbePortForASCS.j2 | 3 + .../windows/1.2-memory-dump/tasks/main.yaml | 3 + .../windows/1.4-packages/handlers/main.yaml | 3 + .../windows/1.4-packages/tasks/main.yaml | 3 + .../windows/1.5-disk-setup/tasks/main.yml | 3 + .../1.5-disk-setup/templates/volume_groups.j2 | 3 + .../2.10-sap-notes/defaults/main.yaml | 3 + .../2.10-sap-notes/handlers/main.yaml | 3 + .../2.10-sap-notes/tasks/2.10.0.yaml | 3 + .../2.10-sap-notes/tasks/2.10.1.yaml | 3 + .../2.10-sap-notes/tasks/2.10.1275776.yaml | 3 + .../2.10-sap-notes/tasks/2.10.2.yaml | 3 + .../2.10-sap-notes/tasks/2.10.3.yaml | 3 + .../2.10-sap-notes/tasks/2.10.3119751.yaml | 3 + .../2.10-sap-notes/tasks/grub_editor.yaml | 3 + .../2.10-sap-notes/tasks/main.yaml | 3 + .../2.11-iscsi-server/tasks/main.yaml | 3 + .../2.2-sapPermissions/tasks/main.yaml | 3 + .../2.3-sap-exports/defaults/main.yaml | 3 + .../tasks/2.3-custom-exports.yaml | 3 + .../2.3-sap-exports/tasks/main.yaml | 3 + .../2.4-hosts-file/tasks/main.yaml | 3 + .../2.4-hosts-file/tasks/pre_checks.yaml | 3 + .../2.4-hosts-file/templates/hosts.j2 | 3 + .../2.5-sap-users/tasks/main.yaml | 3 + .../2.5-sap-users/tasks/user_nw.yaml | 3 + .../2.6-sap-mounts/defaults/main.yaml | 3 + .../tasks/2.6-set_runtime_facts.yaml | 3 + .../tasks/2.6.0-afs-mounts.yaml | 3 + .../tasks/2.6.0.1-afs-mount.yaml | 3 + .../tasks/2.6.1-anf-mounts.yaml | 3 + .../tasks/2.6.1.1-anf-mount.yaml | 3 + .../tasks/2.6.2-oracle-mounts.yaml | 3 + .../tasks/2.6.3-oracle-asm-mounts.yaml | 3 + .../tasks/2.6.3-oracle-asm-prereq.yaml | 3 + .../tasks/2.6.3-oracle-multi-sid.yaml | 3 + .../tasks/2.6.3-oracle-observer.yaml | 3 + .../tasks/2.6.4-db2-mounts.yaml | 3 + .../tasks/2.6.5-oracle-multi-sid.yaml | 3 + .../tasks/2.6.6-oracle-nfs-mounts.yaml | 3 + .../tasks/2.6.6-sybase-mounts.yaml | 3 + .../tasks/2.6.7-afs-mounts-simplemount.yaml | 3 + .../tasks/2.6.8-anf-mounts-simplemount.yaml | 3 + .../tasks/2.6.9-custom-mounts.yaml | 3 + .../2.6-sap-mounts/tasks/main.yaml | 3 + .../2.6-sap-mounts/tasks/oracle.yaml | 3 + .../2.3-sap-exports/defaults/main.yaml | 3 + .../windows/2.3-sap-exports/tasks/main.yaml | 3 + .../windows/2.5-sap-users/handlers/main.yaml | 3 + .../tasks/add_group_members.yaml | 3 + .../2.5-sap-users/tasks/add_local_groups.yaml | 3 + .../2.5-sap-users/tasks/add_permissions.yaml | 3 + .../windows/2.5-sap-users/tasks/main.yaml | 3 + .../windows/2.6-sap-mounts/defaults/main.yaml | 3 + .../windows/2.6-sap-mounts/tasks/main.yaml | 3 + .../tasks/aggregate_bom.yaml | 3 + .../tasks/aggregate_bom_files.yaml | 3 + .../0.1-bom-validator/tasks/bom_download.yaml | 3 + .../tasks/bom_validator.yaml | 3 + .../tasks/dynamic_bom_processing.yaml | 3 + .../0.1-bom-validator/tasks/main.yaml | 3 + .../0.1-bom-validator/tasks/pre_checks.yaml | 3 + .../tasks/sap_sso_authentication.yaml | 3 + .../0.1-bom-validator/templates/bom.j2 | 3 + .../0.1-bom-validator/vars/main.yaml | 3 + .../3.3-bom-processing/defaults/main.yaml | 3 + .../tasks/bom_processor.yaml | 3 + .../3.3-bom-processing/tasks/main.yaml | 3 + .../3.3-bom-processing/tasks/pre_checks.yaml | 3 + .../tasks/process_exe_archives.yaml | 3 + .../3.3.1-bom-utility/defaults/main.yaml | 3 + .../3.3.1-bom-utility/tasks/bom-register.yaml | 3 + .../3.3.1-bom-utility/tasks/bom-template.yaml | 3 + .../5.0.0-scs-install/defaults/main.yml | 3 + .../5.0.0-scs-install/tasks/main.yaml | 3 + .../5.0.1-scs-ha-install/tasks/main.yaml | 3 + .../5.0.2-ers-ha-install/tasks/main.yaml | 3 + .../roles-sap/5.1-dbload/tasks/main.yaml | 3 + .../tasks/oracle-postprocessing.yaml | 3 + .../roles-sap/5.1-dbload/tasks/oracle.yaml | 3 + .../5.1-dbload/templates/listener.j2 | 3 + .../5.1-dbload/templates/tnsnames.j2 | 3 + .../5.2-pas-install/defaults/main.yaml | 3 + .../roles-sap/5.2-pas-install/tasks/main.yaml | 3 + .../5.3-app-install/defaults/main.yaml | 3 + .../roles-sap/5.3-app-install/tasks/main.yaml | 3 + .../roles-sap/5.4-web-install/tasks/main.yaml | 3 + .../5.5-hanadb-pacemaker/defaults/main.yml | 3 + .../tasks/5.5.1-set_runtime_facts.yml | 3 + .../tasks/5.5.2-pre_checks.yml | 3 + .../tasks/5.5.3-SAPHanaSR.yml | 3 + .../tasks/5.5.4-provision.yml | 3 + .../tasks/5.5.4.0-clusterPrep-RedHat.yml | 3 + .../tasks/5.5.4.0-clusterPrep-Suse.yml | 3 + .../tasks/5.5.4.1-cluster-RedHat.yml | 3 + .../tasks/5.5.4.1-cluster-Suse.yml | 3 + .../tasks/5.5.5-post_provision_report.yml | 3 + .../tasks/cluster-Suse-large-instance.yml | 3 + .../5.5-hanadb-pacemaker/tasks/main.yml | 3 + .../templates/20-saphana-rhel.j2 | 3 + .../templates/20-saphana-suse.j2 | 3 + .../templates/corosync.conf.j2 | 3 + .../5.5-hanadb-pacemaker/vars/main.yml | 3 + .../5.6-scsers-pacemaker/defaults/main.yml | 3 + .../tasks/5.6.1-set_runtime_facts.yml | 3 + .../tasks/5.6.2-pre_checks.yml | 3 + .../tasks/5.6.3-prep_steps.yml | 3 + .../tasks/5.6.4-provision.yml | 3 + .../tasks/5.6.4.0-cluster-RedHat.yml | 3 + .../5.6.4.0-cluster-Suse-SimpleMount.yml | 3 + .../tasks/5.6.4.0-cluster-Suse.yml | 3 + .../tasks/5.6.4.1-scsersprofile.yaml | 3 + .../tasks/5.6.4.2-sap-resources-RedHat.yml | 3 + ...5.6.4.2-sap-resources-Suse-SimpleMount.yml | 3 + .../tasks/5.6.4.2-sap-resources-Suse.yml | 3 + .../tasks/5.6.5-post_provision_report.yml | 3 + .../tasks/5.6.6-validate.yml | 3 + .../tasks/5.6.7-config-systemd-sap-start.yml | 3 + .../5.6-scsers-pacemaker/tasks/main.yml | 3 + .../templates/corosync.conf.j2 | 3 + .../5.6-scsers-pacemaker/vars/main.yml | 3 + .../5.7-db2-pacemaker/defaults/main.yml | 3 + .../tasks/5.7.1-set_runtime_facts.yml | 3 + .../tasks/5.7.2-pre_checks.yml | 3 + .../tasks/5.7.3-provision.yml | 3 + .../tasks/5.7.3.0-cluster-RedHat.yml | 3 + .../tasks/5.7.3.0-cluster-Suse.yml | 3 + .../tasks/5.7.4-post_provision_report.yml | 3 + .../5.7-db2-pacemaker/tasks/main.yml | 3 + .../templates/corosync.conf.j2 | 3 + .../roles-sap/5.7-db2-pacemaker/vars/main.yml | 3 + .../defaults/main.yml | 3 + .../tasks/5.8.1-set_runtime_facts.yml | 3 + .../tasks/5.8.2-pre_checks.yml | 3 + .../5.8.3-SAPHanaSRMultiTarget-RedHat.yml | 3 + .../tasks/5.8.3-SAPHanaSRMultiTarget-Suse.yml | 3 + .../tasks/5.8.4-provision-ScaleOut.yml | 3 + .../5.8.4.0-clusterPrep-ScaleOut-RedHat.yml | 3 + .../5.8.4.0-clusterPrep-ScaleOut-Suse.yml | 3 + .../tasks/5.8.4.1-cluster-ScaleOut-RedHat.yml | 3 + .../tasks/5.8.4.1-cluster-ScaleOut-Suse.yml | 3 + .../tasks/5.8.5-post_provision_report.yml | 3 + .../tasks/main.yml | 3 + .../templates/20-saphana-rhel.j2 | 3 + .../templates/20-saphana-suse.j2 | 3 + .../templates/corosync.conf.j2 | 3 + .../vars/main.yml | 3 + .../6.0.0-sapcal-install/defaults/main.yml | 3 + .../6.0.0-sapcal-install/tasks/main.yml | 3 + .../6.0.0-sapcal-install/vars/main.yml | 3 + .../7.0.0-post-install/tasks/main.yaml | 3 + .../3.3-bom-processing/defaults/main.yaml | 3 + .../tasks/bom_processor.yaml | 3 + .../3.3-bom-processing/tasks/main.yaml | 3 + .../3.3-bom-processing/tasks/pre_checks.yaml | 3 + .../tasks/process_exe_archives.yaml | 3 + .../3.3.1-bom-utility/defaults/main.yaml | 3 + .../3.3.1-bom-utility/tasks/bom-register.yaml | 3 + .../3.3.1-bom-utility/tasks/bom-template.yaml | 3 + .../5.0.0-scs-install/defaults/main.yml | 3 + .../windows/5.0.0-scs-install/tasks/main.yaml | 3 + .../templates/app-inifile-param.j2 | 3 + .../templates/dbload-inifile-param.j2 | 3 + .../templates/pas-inifile-param.j2 | 3 + .../templates/scs-inifile-param.j2 | 3 + .../templates/scsha-inifile-param.j2 | 3 + .../windows/5.1-dbload/tasks/main.yaml | 3 + .../windows/5.1-dbload/templates/sql_disks.j2 | 3 + .../5.2-pas-install/defaults/main.yaml | 3 + .../windows/5.2-pas-install/tasks/main.yaml | 3 + .../5.3-app-install/defaults/main.yaml | 3 + .../windows/5.3-app-install/tasks/main.yaml | 3 + .../7.0.0-post-install/tasks/main.yaml | 3 + deploy/ansible/vars/admin-accounts.yml | 3 + deploy/ansible/vars/ansible-input-api.yaml | 3 + deploy/ansible/vars/disks_config.yml | 3 + deploy/ansible/vars/disks_config_asm.yml | 3 + deploy/ansible/vars/disks_config_ora_msid.yml | 3 + deploy/ansible/vars/ha-packages.yaml | 3 + deploy/ansible/vars/sap-disks.yaml | 3 + deploy/pipelines/01-deploy-control-plane.yaml | 3 + deploy/pipelines/02-sap-workload-zone.yaml | 3 + .../pipelines/03-sap-system-deployment.yaml | 3 + .../pipelines/04-sap-software-download.yaml | 3 + .../pipelines/05-DB-and-SAP-installation.yaml | 3 + .../06-post-installation-tooling.yaml | 3 + deploy/pipelines/07-sap-cal-installation.yaml | 3 + deploy/pipelines/10-remover-terraform.yaml | 3 + deploy/pipelines/11-remover-arm-fallback.yaml | 3 + deploy/pipelines/12-remove-control-plane.yaml | 3 + .../pipelines/20-update-ado-repository.yaml | 3 + deploy/pipelines/21-deploy-web-app.yaml | 3 + .../pipelines/22-sample-deployer-config.yaml | 3 + .../pipelines/23-levelup-configuration.yaml | 3 + deploy/pipelines/helper.sh | 3 + .../pipelines/templates/acss-registration.sh | 3 + .../templates/acss-registration.yaml | 3 + .../templates/collect-calapi-file.yaml | 3 + .../templates/collect-log-files.yaml | 3 + deploy/pipelines/templates/download.yaml | 3 + .../pipelines/templates/download_samples.yaml | 3 + deploy/pipelines/templates/run-ansible.yaml | 3 + .../pipelines/templates/upload-summary.yaml | 3 + .../01-deploy-control-plane-variables.yaml | 3 + .../02-sap-workload-zone-variables.yaml | 3 + .../03-sap-system-deployment-variables.yaml | 3 + .../04-sap-software-download-variables.yaml | 3 + .../05-DB-and-SAP-installation-variables.yaml | 3 + .../07-sap-cal-installation-variables.yaml | 3 + .../10-remover-terraform-variables.yaml | 3 + .../11-remover-arm-fallback-variables.yaml | 3 + .../12-remove-control-plane-variables.yaml | 3 + deploy/scripts/.yamllint.yml | 3 + .../scripts/ConfigureRemotingForAnsible.ps1 | 3 + deploy/scripts/New-SDAFDevopsProject.ps1 | 3 + deploy/scripts/New-SDAFDevopsWorkloadZone.ps1 | 3 + deploy/scripts/Test-SDAFReadiness.ps1 | 3 + deploy/scripts/Test-SDAFURLs.ps1 | 3 + deploy/scripts/advanced_state_management.sh | 3 + deploy/scripts/check_bom.sh | 3 + deploy/scripts/check_bom.yml | 3 + deploy/scripts/configure_ansible.ps1 | 3 + deploy/scripts/configure_deployer.sh | 3 + deploy/scripts/create_devops_artifacts.sh | 3 + deploy/scripts/create_fencingagent_role.sh | 3 + deploy/scripts/deploy_controlplane.sh | 3 + deploy/scripts/deploy_utils.sh | 3 + deploy/scripts/generate_bom.sh | 3 + deploy/scripts/helpers/check_workstation.sh | 3 + deploy/scripts/helpers/common_utils.sh | 3 + deploy/scripts/helpers/script_helpers.sh | 3 + deploy/scripts/install_deployer.sh | 3 + deploy/scripts/install_library.sh | 3 + deploy/scripts/install_workloadzone.sh | 3 + deploy/scripts/installer.sh | 3 + deploy/scripts/log_utils.sh | 3 + .../scripts/persist_environment_variables.sh | 3 + .../01-control-plane-deploy.sh | 3 + .../01-control-plane-prepare.sh | 3 + .../pipeline_scripts/02-sap-workload-zone.sh | 3 + .../03-sap-system-deployment.sh | 3 + .../04-sap-software-download-prepare.sh | 3 + .../04-sap-software-download.sh | 3 + .../05-DB-and-SAP-installation-prepare.sh | 3 + .../pipeline_scripts/05-run-ansible.sh | 3 + .../10-remover-terraform-system.sh | 3 + .../10-remover-terraform-workload-zone.sh | 3 + .../11-remover-arm-fallback-control-plane.sh | 3 + .../11-remover-arm-fallback-system.sh | 3 + .../11-remover-arm-fallback-workload-zone.sh | 3 + .../12-remove-control-plane-finalize.sh | 3 + .../12-remove-control-plane.sh | 3 + deploy/scripts/pipeline_scripts/helper.sh | 3 + deploy/scripts/prepare_region.sh | 3 + .../Internal/helper_functions.ps1 | 3 + .../Internal/new_deploymentregion.ps1 | 3 + .../Internal/new_sapdeployer.ps1 | 3 + .../Internal/new_sapdeployment.ps1 | 3 + .../Internal/new_saplibrary.ps1 | 3 + .../Internal/new_sapworkloadzone.ps1 | 3 + .../Internal/read_template.ps1 | 3 + .../Internal/remove_deploymentregion.ps1 | 3 + .../Internal/remove_sapsystem.ps1 | 3 + .../Internal/set_secrets.ps1 | 3 + .../SAPDeploymentUtilities/Internal/types.ps1 | 3 + .../SAPDeploymentUtilities.build.ps1 | 3 + deploy/scripts/remove_controlplane.sh | 3 + deploy/scripts/remove_deployer.sh | 3 + deploy/scripts/remove_region.sh | 3 + deploy/scripts/remover.sh | 3 + deploy/scripts/set_secrets.sh | 3 + deploy/scripts/setup_ado.sh | 3 + deploy/scripts/setup_devops.ps1 | 3 + deploy/scripts/sync_deployer.sh | 3 + deploy/scripts/update_devops_credentials.ps1 | 3 + deploy/scripts/update_sas_token.sh | 3 + deploy/scripts/validate.sh | 3 + deploy/scripts/validate_dict.yml | 3 + .../bootstrap/sap_deployer/backend.tf | 3 + .../bootstrap/sap_deployer/deployer_scp.tmpl | 3 + .../bootstrap/sap_deployer/module.tf | 3 + .../bootstrap/sap_deployer/output.tf | 3 + .../bootstrap/sap_deployer/providers.tf | 3 + .../bootstrap/sap_deployer/tfvar_variables.tf | 3 + .../bootstrap/sap_deployer/transform.tf | 3 + .../sap_deployer/variables_global.tf | 3 + .../bootstrap/sap_deployer/variables_local.tf | 3 + .../bootstrap/sap_library/backend.tf | 3 + .../bootstrap/sap_library/imports.tf | 3 + .../terraform/bootstrap/sap_library/module.tf | 3 + .../terraform/bootstrap/sap_library/output.tf | 3 + .../bootstrap/sap_library/providers.tf | 3 + .../bootstrap/sap_library/tfvar_variables.tf | 3 + .../bootstrap/sap_library/transform.tf | 3 + .../bootstrap/sap_library/variables_global.tf | 3 + .../bootstrap/sap_library/variables_local.tf | 3 + deploy/terraform/run/sap_deployer/backend.tf | 3 + deploy/terraform/run/sap_deployer/imports.tf | 3 + deploy/terraform/run/sap_deployer/module.tf | 3 + deploy/terraform/run/sap_deployer/output.tf | 3 + .../terraform/run/sap_deployer/providers.tf | 3 + .../run/sap_deployer/tfvar_variables.tf | 3 + .../terraform/run/sap_deployer/transform.tf | 3 + .../run/sap_deployer/variables_global.tf | 3 + .../run/sap_deployer/variables_local.tf | 3 + deploy/terraform/run/sap_landscape/backend.tf | 3 + deploy/terraform/run/sap_landscape/imports.tf | 3 + deploy/terraform/run/sap_landscape/module.tf | 3 + deploy/terraform/run/sap_landscape/output.tf | 3 + .../terraform/run/sap_landscape/providers.tf | 3 + .../run/sap_landscape/tfvar_variables.tf | 3 + .../terraform/run/sap_landscape/transform.tf | 3 + .../run/sap_landscape/variables_global.tf | 3 + .../run/sap_landscape/variables_local.tf | 3 + deploy/terraform/run/sap_library/backend.tf | 3 + deploy/terraform/run/sap_library/imports.tf | 3 + deploy/terraform/run/sap_library/module.tf | 3 + deploy/terraform/run/sap_library/output.tf | 3 + deploy/terraform/run/sap_library/providers.tf | 3 + .../run/sap_library/tfvar_variables.tf | 3 + deploy/terraform/run/sap_library/transform.tf | 3 + .../run/sap_library/variables_global.tf | 3 + .../run/sap_library/variables_local.tf | 3 + deploy/terraform/run/sap_system/backend.tf | 3 + deploy/terraform/run/sap_system/imports.tf | 3 + deploy/terraform/run/sap_system/module.tf | 3 + deploy/terraform/run/sap_system/output.tf | 3 + deploy/terraform/run/sap_system/providers.tf | 3 + .../run/sap_system/tfvar_variables.tf | 3 + deploy/terraform/run/sap_system/transform.tf | 3 + .../run/sap_system/variables_global.tf | 3 + .../run/sap_system/variables_local.tf | 3 + .../modules/sap_deployer/app_service.tf | 3 + .../modules/sap_deployer/bastion.tf | 3 + .../sap_deployer/configure-deployer.tf | 3 + .../modules/sap_deployer/firewall.tf | 3 + .../modules/sap_deployer/infrastructure.tf | 4 + .../modules/sap_deployer/key_vault.tf | 59 +++++++------- .../modules/sap_deployer/nsg-mgmt.tf | 3 + .../modules/sap_deployer/output.tf | 3 + .../modules/sap_deployer/providers.tf | 3 + .../modules/sap_deployer/randomid.tf | 3 + .../templates/configure_deployer.sh.tmpl | 3 +- .../modules/sap_deployer/variables_global.tf | 3 + .../modules/sap_deployer/variables_local.tf | 3 + .../modules/sap_deployer/vm-deployer.tf | 3 + .../modules/sap_landscape/ams.tf | 3 + .../modules/sap_landscape/anf.tf | 3 + .../modules/sap_landscape/dns.tf | 3 + .../modules/sap_landscape/infrastructure.tf | 3 + .../modules/sap_landscape/iscsi.tf | 18 +++-- .../sap_landscape/key_vault_sap_landscape.tf | 81 +++++++++---------- .../modules/sap_landscape/nat_gateway.tf | 3 + .../modules/sap_landscape/nsg.tf | 3 + .../modules/sap_landscape/outputs.tf | 3 + .../modules/sap_landscape/providers.tf | 3 + .../modules/sap_landscape/randomid.tf | 3 + .../modules/sap_landscape/storage_accounts.tf | 32 +++++++- .../modules/sap_landscape/subnets.tf | 3 + .../modules/sap_landscape/variables_global.tf | 3 + .../modules/sap_landscape/variables_local.tf | 3 + .../modules/sap_landscape/vm.tf | 3 + .../modules/sap_library/dns.tf | 3 + .../modules/sap_library/infrastructure.tf | 3 + .../modules/sap_library/key_vault.tf | 7 ++ .../modules/sap_library/keyvault_endpoint.tf | 3 + .../modules/sap_library/output.tf | 3 + .../modules/sap_library/providers.tf | 3 + .../modules/sap_library/randomid.tf | 3 + .../modules/sap_library/storage_accounts.tf | 6 +- .../modules/sap_library/variables_global.tf | 3 + .../modules/sap_library/variables_local.tf | 3 + .../modules/sap_namegenerator/keyvault.tf | 3 + .../modules/sap_namegenerator/output.tf | 3 + .../modules/sap_namegenerator/ppg-avset.tf | 3 + .../sap_namegenerator/resourcegroup.tf | 3 + .../sap_namegenerator/variables_global.tf | 3 + .../sap_namegenerator/variables_local.tf | 3 + .../modules/sap_namegenerator/vm.tf | 3 + .../sap_system/anydb_node/infrastructure.tf | 3 + .../modules/sap_system/anydb_node/outputs.tf | 3 + .../sap_system/anydb_node/providers.tf | 3 + .../sap_system/anydb_node/variables_global.tf | 3 + .../sap_system/anydb_node/variables_local.tf | 3 + .../modules/sap_system/anydb_node/vm-anydb.tf | 3 + .../sap_system/anydb_node/vm-observer.tf | 3 + .../modules/sap_system/app_tier/disk_logic.tf | 3 + .../sap_system/app_tier/infrastructure.tf | 3 + .../sap_system/app_tier/nsg-app-subnet.tf | 3 + .../sap_system/app_tier/nsg-webdisp.tf | 3 + .../modules/sap_system/app_tier/outputs.tf | 3 + .../modules/sap_system/app_tier/providers.tf | 3 + .../sap_system/app_tier/variables_global.tf | 3 + .../sap_system/app_tier/variables_local.tf | 3 + .../modules/sap_system/app_tier/vm-app.tf | 3 + .../modules/sap_system/app_tier/vm-scs.tf | 3 + .../modules/sap_system/app_tier/vm-webdisp.tf | 3 + .../sap_system/common_infrastructure/anf.tf | 3 + .../common_infrastructure/infrastructure.tf | 3 + .../key_vault_sap_system.tf | 7 ++ .../sap_system/common_infrastructure/nsgs.tf | 3 + .../common_infrastructure/outputs.tf | 3 + .../common_infrastructure/providers.tf | 3 + .../common_infrastructure/randomid.tf | 3 + .../common_infrastructure/storage_accounts.tf | 23 ++---- .../common_infrastructure/subnets.tf | 3 + .../common_infrastructure/variables_global.tf | 3 + .../common_infrastructure/variables_local.tf | 3 + .../common_infrastructure/vm-anchor.tf | 3 + .../modules/sap_system/hdb_node/anf.tf | 3 + .../modules/sap_system/hdb_node/avg.tf | 3 + .../sap_system/hdb_node/infrastructure.tf | 3 + .../modules/sap_system/hdb_node/outputs.tf | 3 + .../modules/sap_system/hdb_node/providers.tf | 3 + .../sap_system/hdb_node/storage_accounts.tf | 41 ++++------ .../sap_system/hdb_node/variables_global.tf | 3 + .../sap_system/hdb_node/variables_local.tf | 3 + .../modules/sap_system/hdb_node/vm-hdb.tf | 3 + .../sap_system/hdb_node/vm-observer.tf | 3 + .../sap_system/output_files/dns_records.tf | 3 + .../sap_system/output_files/inventory.tf | 3 + .../modules/sap_system/output_files/naming.tf | 3 + .../sap_system/output_files/outputs.tf | 3 + .../sap_system/output_files/providers.tf | 3 + .../output_files/variables_global.tf | 3 + .../output_files/variables_local.tf | 3 + 710 files changed, 2262 insertions(+), 123 deletions(-) diff --git a/README.md b/README.md index 4293ee7693..7ef6dd172d 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ + + + # Project The SAP deployment automation framework on Azure is an open-source orchestration tool for deploying, installing and maintaining SAP environments. You can create infrastructure for SAP landscapes based on SAP HANA and NetWeaver with AnyDB on any of the SAP-supported operating system versions and deploy them into any Azure region. @@ -41,3 +44,8 @@ trademarks or logos is subject to and must follow [Microsoft's Trademark & Brand Guidelines](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general). Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies. + + +> Copyright (c) Microsoft Corporation. +> Licensed under the MIT License. +> See [LICENSE](/LICENSE) for more information. diff --git a/Webapp/SDAF/Controllers/ArmclientController.cs b/Webapp/SDAF/Controllers/ArmclientController.cs index 9796513a4c..d9b31b2b09 100644 --- a/Webapp/SDAF/Controllers/ArmclientController.cs +++ b/Webapp/SDAF/Controllers/ArmclientController.cs @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + using Azure; using Azure.Core; using Azure.ResourceManager; diff --git a/Webapp/SDAF/Controllers/EnvironmentController.cs b/Webapp/SDAF/Controllers/EnvironmentController.cs index 207a389e12..b474980add 100644 --- a/Webapp/SDAF/Controllers/EnvironmentController.cs +++ b/Webapp/SDAF/Controllers/EnvironmentController.cs @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + using SDAFWebApp.Models; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; diff --git a/Webapp/SDAF/Controllers/FileController.cs b/Webapp/SDAF/Controllers/FileController.cs index b457338b81..99ab16ad0a 100644 --- a/Webapp/SDAF/Controllers/FileController.cs +++ b/Webapp/SDAF/Controllers/FileController.cs @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + using SDAFWebApp.Models; using SDAFWebApp.Services; using SDAFWebApp.Controllers; diff --git a/Webapp/SDAF/Controllers/Helper.cs b/Webapp/SDAF/Controllers/Helper.cs index 3fa03c74fa..0546a21c02 100644 --- a/Webapp/SDAF/Controllers/Helper.cs +++ b/Webapp/SDAF/Controllers/Helper.cs @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + using SDAFWebApp.Models; using SDAFWebApp.Services; using Microsoft.AspNetCore.Http; diff --git a/Webapp/SDAF/Controllers/HomeController.cs b/Webapp/SDAF/Controllers/HomeController.cs index 5533f8a5cb..0b37683cf8 100644 --- a/Webapp/SDAF/Controllers/HomeController.cs +++ b/Webapp/SDAF/Controllers/HomeController.cs @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + using SDAFWebApp.Models; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; diff --git a/Webapp/SDAF/Controllers/LandscapeController.cs b/Webapp/SDAF/Controllers/LandscapeController.cs index 950d88075e..d6c59c9035 100644 --- a/Webapp/SDAF/Controllers/LandscapeController.cs +++ b/Webapp/SDAF/Controllers/LandscapeController.cs @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.Extensions.Configuration; diff --git a/Webapp/SDAF/Controllers/RestHelper.cs b/Webapp/SDAF/Controllers/RestHelper.cs index 27a3e82a7e..10315be605 100644 --- a/Webapp/SDAF/Controllers/RestHelper.cs +++ b/Webapp/SDAF/Controllers/RestHelper.cs @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + using Azure.Core; using Azure.Identity; using Microsoft.AspNetCore.Mvc; diff --git a/Webapp/SDAF/Controllers/SystemController.cs b/Webapp/SDAF/Controllers/SystemController.cs index 025aaacceb..361df0172c 100644 --- a/Webapp/SDAF/Controllers/SystemController.cs +++ b/Webapp/SDAF/Controllers/SystemController.cs @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + using SDAFWebApp.Models; using SDAFWebApp.Services; using Microsoft.AspNetCore.Mvc; diff --git a/Webapp/SDAF/Controllers/ViewBagActionFilter.cs b/Webapp/SDAF/Controllers/ViewBagActionFilter.cs index ffc9009f6e..7e72386222 100644 --- a/Webapp/SDAF/Controllers/ViewBagActionFilter.cs +++ b/Webapp/SDAF/Controllers/ViewBagActionFilter.cs @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.Extensions.Configuration; diff --git a/Webapp/SDAF/GlobalSuppressions.cs b/Webapp/SDAF/GlobalSuppressions.cs index 364358acfb..96f032c380 100644 --- a/Webapp/SDAF/GlobalSuppressions.cs +++ b/Webapp/SDAF/GlobalSuppressions.cs @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + // This file is used by Code Analysis to maintain SuppressMessage // attributes that are applied to this project. // Project-level suppressions either have no target or are given diff --git a/Webapp/SDAF/Models/AppFile.cs b/Webapp/SDAF/Models/AppFile.cs index aee30d6a7e..692b513849 100644 --- a/Webapp/SDAF/Models/AppFile.cs +++ b/Webapp/SDAF/Models/AppFile.cs @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + using System; using System.ComponentModel; using System.ComponentModel.DataAnnotations; diff --git a/Webapp/SDAF/Models/AppFileEntity.cs b/Webapp/SDAF/Models/AppFileEntity.cs index e728f58d21..ee48f3b7cd 100644 --- a/Webapp/SDAF/Models/AppFileEntity.cs +++ b/Webapp/SDAF/Models/AppFileEntity.cs @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + using Azure; using Azure.Data.Tables; using System; diff --git a/Webapp/SDAF/Models/CustomValidators.cs b/Webapp/SDAF/Models/CustomValidators.cs index 102a0dc390..faada13744 100644 --- a/Webapp/SDAF/Models/CustomValidators.cs +++ b/Webapp/SDAF/Models/CustomValidators.cs @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + using SDAFWebApp.Controllers; using Azure.ResourceManager.Resources; using Microsoft.Extensions.FileSystemGlobbing.Internal; diff --git a/Webapp/SDAF/Models/DatabaseSettings.cs b/Webapp/SDAF/Models/DatabaseSettings.cs index d5df9e27a7..f71dd8dd1a 100644 --- a/Webapp/SDAF/Models/DatabaseSettings.cs +++ b/Webapp/SDAF/Models/DatabaseSettings.cs @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + namespace SDAFWebApp.Models { public class DatabaseSettings : IDatabaseSettings diff --git a/Webapp/SDAF/Models/EnvironmentModel.cs b/Webapp/SDAF/Models/EnvironmentModel.cs index 996583f1bc..45251d1b50 100644 --- a/Webapp/SDAF/Models/EnvironmentModel.cs +++ b/Webapp/SDAF/Models/EnvironmentModel.cs @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + using Newtonsoft.Json; namespace SDAFWebApp.Models diff --git a/Webapp/SDAF/Models/ErrorViewModel.cs b/Webapp/SDAF/Models/ErrorViewModel.cs index 82c089c77b..390bc62f5a 100644 --- a/Webapp/SDAF/Models/ErrorViewModel.cs +++ b/Webapp/SDAF/Models/ErrorViewModel.cs @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + namespace SDAFWebApp.Models { public class ErrorViewModel diff --git a/Webapp/SDAF/Models/FileUploadModel.cs b/Webapp/SDAF/Models/FileUploadModel.cs index 29b33cc2eb..c646ecc579 100644 --- a/Webapp/SDAF/Models/FileUploadModel.cs +++ b/Webapp/SDAF/Models/FileUploadModel.cs @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + using Microsoft.AspNetCore.Http; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; diff --git a/Webapp/SDAF/Models/FormViewModel.cs b/Webapp/SDAF/Models/FormViewModel.cs index 03dac75927..3238b3d4cc 100644 --- a/Webapp/SDAF/Models/FormViewModel.cs +++ b/Webapp/SDAF/Models/FormViewModel.cs @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + namespace SDAFWebApp.Models { public class FormViewModel diff --git a/Webapp/SDAF/Models/GitRequestBody.cs b/Webapp/SDAF/Models/GitRequestBody.cs index 01125ac437..955ff58a9f 100644 --- a/Webapp/SDAF/Models/GitRequestBody.cs +++ b/Webapp/SDAF/Models/GitRequestBody.cs @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + namespace SDAFWebApp.Models { diff --git a/Webapp/SDAF/Models/GroupingModel.cs b/Webapp/SDAF/Models/GroupingModel.cs index c572e06900..bf3ec6b05b 100644 --- a/Webapp/SDAF/Models/GroupingModel.cs +++ b/Webapp/SDAF/Models/GroupingModel.cs @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + namespace SDAFWebApp.Models { public class Grouping diff --git a/Webapp/SDAF/Models/ImageDropdown.cs b/Webapp/SDAF/Models/ImageDropdown.cs index a36f8ecc64..f4dc0659f9 100644 --- a/Webapp/SDAF/Models/ImageDropdown.cs +++ b/Webapp/SDAF/Models/ImageDropdown.cs @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + namespace SDAFWebApp.Models { public class ImageDropdown diff --git a/Webapp/SDAF/Models/LandscapeEntity.cs b/Webapp/SDAF/Models/LandscapeEntity.cs index 8301227384..39054683cb 100644 --- a/Webapp/SDAF/Models/LandscapeEntity.cs +++ b/Webapp/SDAF/Models/LandscapeEntity.cs @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + using Azure; using Azure.Data.Tables; using System; diff --git a/Webapp/SDAF/Models/LandscapeModel.cs b/Webapp/SDAF/Models/LandscapeModel.cs index c0fd0be105..b8637cabe6 100644 --- a/Webapp/SDAF/Models/LandscapeModel.cs +++ b/Webapp/SDAF/Models/LandscapeModel.cs @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + using System.ComponentModel; using System.ComponentModel.DataAnnotations; using static SDAFWebApp.Models.CustomValidators; diff --git a/Webapp/SDAF/Models/ParameterModel.cs b/Webapp/SDAF/Models/ParameterModel.cs index 6d1e180480..38ffcd23b3 100644 --- a/Webapp/SDAF/Models/ParameterModel.cs +++ b/Webapp/SDAF/Models/ParameterModel.cs @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + using Microsoft.AspNetCore.Mvc.Rendering; using System.Collections.Generic; diff --git a/Webapp/SDAF/Models/PipelineRequestBody.cs b/Webapp/SDAF/Models/PipelineRequestBody.cs index 76df4021ea..23c9ebe0c5 100644 --- a/Webapp/SDAF/Models/PipelineRequestBody.cs +++ b/Webapp/SDAF/Models/PipelineRequestBody.cs @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + namespace SDAFWebApp.Models { diff --git a/Webapp/SDAF/Models/SapObjectIndexModel.cs b/Webapp/SDAF/Models/SapObjectIndexModel.cs index 282afc7a0a..67bf390477 100644 --- a/Webapp/SDAF/Models/SapObjectIndexModel.cs +++ b/Webapp/SDAF/Models/SapObjectIndexModel.cs @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + using System.Collections.Generic; namespace SDAFWebApp.Models diff --git a/Webapp/SDAF/Models/SystemEntity.cs b/Webapp/SDAF/Models/SystemEntity.cs index 72241bdac5..c0c7cc0ae6 100644 --- a/Webapp/SDAF/Models/SystemEntity.cs +++ b/Webapp/SDAF/Models/SystemEntity.cs @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + using Azure; using Azure.Data.Tables; using System; diff --git a/Webapp/SDAF/Models/SystemModel.cs b/Webapp/SDAF/Models/SystemModel.cs index 611f0397ff..0eeb67f805 100644 --- a/Webapp/SDAF/Models/SystemModel.cs +++ b/Webapp/SDAF/Models/SystemModel.cs @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + using System.ComponentModel; using System.ComponentModel.DataAnnotations; using static SDAFWebApp.Models.CustomValidators; diff --git a/Webapp/SDAF/Program.cs b/Webapp/SDAF/Program.cs index e8b429444b..e19f9971b8 100644 --- a/Webapp/SDAF/Program.cs +++ b/Webapp/SDAF/Program.cs @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; diff --git a/Webapp/SDAF/Services/AppFileService.cs b/Webapp/SDAF/Services/AppFileService.cs index 76bdf24326..ae817a32a9 100644 --- a/Webapp/SDAF/Services/AppFileService.cs +++ b/Webapp/SDAF/Services/AppFileService.cs @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + using SDAFWebApp.Models; using Azure.Data.Tables; using Azure.Storage.Blobs; diff --git a/Webapp/SDAF/Services/ITableStorageService.cs b/Webapp/SDAF/Services/ITableStorageService.cs index 3c2372e718..848cce3c77 100644 --- a/Webapp/SDAF/Services/ITableStorageService.cs +++ b/Webapp/SDAF/Services/ITableStorageService.cs @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + using SDAFWebApp.Models; using System.Collections.Generic; using System.Threading.Tasks; diff --git a/Webapp/SDAF/Services/LandscapeService.cs b/Webapp/SDAF/Services/LandscapeService.cs index 0231f09ff9..2561cdc91b 100644 --- a/Webapp/SDAF/Services/LandscapeService.cs +++ b/Webapp/SDAF/Services/LandscapeService.cs @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + using SDAFWebApp.Models; using Azure; using Azure.Data.Tables; diff --git a/Webapp/SDAF/Services/SystemService.cs b/Webapp/SDAF/Services/SystemService.cs index 7c26720b34..61d9d65fd3 100644 --- a/Webapp/SDAF/Services/SystemService.cs +++ b/Webapp/SDAF/Services/SystemService.cs @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + using SDAFWebApp.Models; using Azure; using Azure.Data.Tables; diff --git a/Webapp/SDAF/Services/TableStorageService.cs b/Webapp/SDAF/Services/TableStorageService.cs index 1ffc202ab8..8ee75eb7eb 100644 --- a/Webapp/SDAF/Services/TableStorageService.cs +++ b/Webapp/SDAF/Services/TableStorageService.cs @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + using SDAFWebApp.Models; using Azure.Data.Tables; using Azure.Identity; diff --git a/Webapp/SDAF/Startup.cs b/Webapp/SDAF/Startup.cs index ba0f7646d9..e053e79c19 100644 --- a/Webapp/SDAF/Startup.cs +++ b/Webapp/SDAF/Startup.cs @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + using Azure.Identity; using Azure.ResourceManager; using Microsoft.AspNetCore.Builder; diff --git a/Webapp/SDAF/wwwroot/css/prism.css b/Webapp/SDAF/wwwroot/css/prism.css index 87026c42cf..90d8b383e3 100644 --- a/Webapp/SDAF/wwwroot/css/prism.css +++ b/Webapp/SDAF/wwwroot/css/prism.css @@ -1,3 +1,7 @@ +/* Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + */ + /* PrismJS 1.28.0 https://prismjs.com/download.html#themes=prism-solarizedlight&languages=markup+css+clike+javascript+hcl+json&plugins=line-numbers+toolbar */ code[class*=language-],pre[class*=language-]{color:#657b83;font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}code[class*=language-] ::-moz-selection,code[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection,pre[class*=language-]::-moz-selection{background:#073642}code[class*=language-] ::selection,code[class*=language-]::selection,pre[class*=language-] ::selection,pre[class*=language-]::selection{background:#073642}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto;border-radius:.3em}:not(pre)>code[class*=language-],pre[class*=language-]{background-color:#fdf6e3}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#93a1a1}.token.punctuation{color:#586e75}.token.namespace{opacity:.7}.token.boolean,.token.constant,.token.deleted,.token.number,.token.property,.token.symbol,.token.tag{color:#268bd2}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string,.token.url{color:#2aa198}.token.entity{color:#657b83;background:#eee8d5}.token.atrule,.token.attr-value,.token.keyword{color:#859900}.token.class-name,.token.function{color:#b58900}.token.important,.token.regex,.token.variable{color:#cb4b16}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help} diff --git a/Webapp/SDAF/wwwroot/css/site.css b/Webapp/SDAF/wwwroot/css/site.css index 0039c5533f..b43e5f720e 100644 --- a/Webapp/SDAF/wwwroot/css/site.css +++ b/Webapp/SDAF/wwwroot/css/site.css @@ -1,3 +1,7 @@ +/* Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + */ + /* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification for details on configuring this project to bundle and minify static web assets. */ diff --git a/Webapp/SDAF/wwwroot/js/prism.js b/Webapp/SDAF/wwwroot/js/prism.js index eb977b7036..2b99ef1a96 100644 --- a/Webapp/SDAF/wwwroot/js/prism.js +++ b/Webapp/SDAF/wwwroot/js/prism.js @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + /* PrismJS 1.28.0 https://prismjs.com/download.html#themes=prism-solarizedlight&languages=markup+css+clike+javascript+hcl+json&plugins=line-numbers+toolbar */ var _self="undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{},Prism=function(e){var n=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,r={},a={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(n){return n instanceof i?new i(n.type,e(n.content),n.alias):Array.isArray(n)?n.map(e):n.replace(/&/g,"&").replace(/=g.reach);A+=w.value.length,w=w.next){var E=w.value;if(n.length>e.length)return;if(!(E instanceof i)){var P,L=1;if(y){if(!(P=l(b,A,e,m))||P.index>=e.length)break;var S=P.index,O=P.index+P[0].length,j=A;for(j+=w.value.length;S>=j;)j+=(w=w.next).value.length;if(A=j-=w.value.length,w.value instanceof i)continue;for(var C=w;C!==n.tail&&(jg.reach&&(g.reach=W);var z=w.prev;if(_&&(z=u(n,z,_),A+=_.length),c(n,z,L),w=u(n,z,new i(f,p?a.tokenize(N,p):N,k,N)),M&&u(n,w,M),L>1){var I={cause:f+","+d,reach:W};o(e,n,t,w.prev,A,I),g&&I.reach>g.reach&&(g.reach=I.reach)}}}}}}function s(){var e={value:null,prev:null,next:null},n={value:null,prev:e,next:null};e.next=n,this.head=e,this.tail=n,this.length=0}function u(e,n,t){var r=n.next,a={value:t,prev:n,next:r};return n.next=a,r.prev=a,e.length++,a}function c(e,n,t){for(var r=n.next,a=0;a"+i.content+""},!e.document)return e.addEventListener?(a.disableWorkerMessageHandler||e.addEventListener("message",(function(n){var t=JSON.parse(n.data),r=t.language,i=t.code,l=t.immediateClose;e.postMessage(a.highlight(i,a.languages[r],r)),l&&e.close()}),!1),a):a;var g=a.util.currentScript();function f(){a.manual||a.highlightAll()}if(g&&(a.filename=g.src,g.hasAttribute("data-manual")&&(a.manual=!0)),!a.manual){var h=document.readyState;"loading"===h||"interactive"===h&&g&&g.defer?document.addEventListener("DOMContentLoaded",f):window.requestAnimationFrame?window.requestAnimationFrame(f):window.setTimeout(f,16)}return a}(_self);"undefined"!=typeof module&&module.exports&&(module.exports=Prism),"undefined"!=typeof global&&(global.Prism=Prism); diff --git a/Webapp/SDAF/wwwroot/js/site.js b/Webapp/SDAF/wwwroot/js/site.js index 7abdc13090..1817f375d9 100644 --- a/Webapp/SDAF/wwwroot/js/site.js +++ b/Webapp/SDAF/wwwroot/js/site.js @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + // ================ // VALUE RETAINMENT // ================ diff --git a/Webapp/SDAF/wwwroot/js/web-components.min.js b/Webapp/SDAF/wwwroot/js/web-components.min.js index ee855e8ddc..eb5fc27939 100644 --- a/Webapp/SDAF/wwwroot/js/web-components.min.js +++ b/Webapp/SDAF/wwwroot/js/web-components.min.js @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT License. + const t=function(){if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof global)return global;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;try{return new Function("return this")()}catch(t){return{}}}();void 0===t.trustedTypes&&(t.trustedTypes={createPolicy:(t,e)=>e});const e=Object.freeze([]),i=[],o=t.trustedTypes.createPolicy("fast-html",{createHTML:t=>t});let s=o;const n=[];function r(){if(n.length)throw n.shift()}function a(t){try{t.call()}catch(t){n.push(t),setTimeout(r,0)}}const l="fast-"+Math.random().toString(36).substring(2,8),c=l+"{",h="}"+l,d=Object.freeze({supportsAdoptedStyleSheets:Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype,setHTMLPolicy(t){if(s!==o)throw new Error("The HTML policy can only be set once.");s=t},createHTML:t=>s.createHTML(t),isMarker:t=>t&&8===t.nodeType&&t.data.startsWith(l),extractDirectiveIndexFromMarker:t=>parseInt(t.data.replace(l+":","")),createInterpolationPlaceholder:t=>`${c}${t}${h}`,createCustomAttributePlaceholder(t,e){return`${t}="${this.createInterpolationPlaceholder(e)}"`},createBlockPlaceholder:t=>`\x3c!--${l}:${t}--\x3e`,queueUpdate(t){i.length<1&&window.requestAnimationFrame(d.processUpdates),i.push(t)},processUpdates(){let t=0;for(;t1024){for(let e=0,o=i.length-t;enew Promise(t=>{d.queueUpdate(t)}),setAttribute(t,e,i){null==i?t.removeAttribute(e):t.setAttribute(e,i)},setBooleanAttribute(t,e,i){i?t.setAttribute(e,""):t.removeAttribute(e)},removeChildNodes(t){for(let e=t.firstChild;null!==e;e=t.firstChild)t.removeChild(e)},createTemplateWalker:t=>document.createTreeWalker(t,133,null,!1)});function u(t){const e=this.spillover;-1===e.indexOf(t)&&e.push(t)}function p(t){const e=this.spillover,i=e.indexOf(t);-1!==i&&e.splice(i,1)}function g(t){const e=this.spillover,i=this.source;for(let o=0,s=e.length;o{throw new Error("Must call enableArrayObservation before observing arrays.")};class k{constructor(t){this.name=t,this.field="_"+t,this.callback=t+"Changed"}getValue(t){return void 0!==$&&$.watch(t,this.name),t[this.field]}setValue(t,e){const i=this.field,o=t[i];if(o!==e){t[i]=e;const s=t[this.callback];"function"==typeof s&&s.call(t,o,e),I(t).notify(this.name)}}}const C=Object.freeze({setArrayObserverFactory(t){w=t},getNotifier(t){let e=t.$fastController||y.get(t);return void 0===e&&(Array.isArray(t)?e=w(t):y.set(t,e=new b(t))),e},track(t,e){void 0!==$&&$.watch(t,e)},trackVolatile(){void 0!==$&&($.needsRefresh=!0)},notify(t,e){I(t).notify(e)},defineProperty(t,e){"string"==typeof e&&(e=new k(e)),this.getAccessors(t).push(e),Reflect.defineProperty(t,e.name,{enumerable:!0,get:function(){return e.getValue(this)},set:function(t){e.setValue(this,t)}})},getAccessors(t){let e=x.get(t);if(void 0===e){let i=Reflect.getPrototypeOf(t);for(;void 0===e&&null!==i;)e=x.get(i),i=Reflect.getPrototypeOf(i);e=void 0===e?[]:e.slice(0),x.set(t,e)}return e},binding(t,e,i=this.isVolatileBinding(t)){return new E(t,e,i)},isVolatileBinding:t=>v.test(t.toString())}),I=C.getNotifier;C.trackVolatile;const F=d.queueUpdate;function T(t,e){C.defineProperty(t,e)}let D=null;function V(t){D=t}class R{constructor(){this.index=0,this.length=0,this.parent=null,this.parentContext=null}get event(){return D}get isEven(){return this.index%2==0}get isOdd(){return this.index%2!=0}get isFirst(){return 0===this.index}get isInMiddle(){return!this.isFirst&&!this.isLast}get isLast(){return this.index===this.length-1}}C.defineProperty(R.prototype,"index"),C.defineProperty(R.prototype,"length");const S=Object.seal(new R);class E extends m{constructor(t,e,i=!1){super(t,e),this.binding=t,this.isVolatileBinding=i,this.needsRefresh=!0,this.needsQueue=!0,this.first=this,this.last=null,this.propertySource=void 0,this.propertyName=void 0,this.notifier=void 0,this.next=void 0}observe(t,e){this.needsRefresh&&null!==this.last&&this.disconnect();const i=$;$=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding;const o=this.binding(t,e);return $=i,o}disconnect(){if(null!==this.last){let t=this.first;for(;void 0!==t;)t.notifier.unsubscribe(this,t.propertyName),t=t.next;this.last=null,this.needsRefresh=this.needsQueue=!0}}watch(t,e){const i=this.last,o=I(t),s=null===i?this.first:{};if(s.propertySource=t,s.propertyName=e,s.notifier=o,o.subscribe(this,e),null!==i){if(!this.needsRefresh){let e;$=void 0,e=i.propertySource[i.propertyName],$=this,t===e&&(this.needsRefresh=!0)}i.next=s}this.last=s}handleChange(){this.needsQueue&&(this.needsQueue=!1,F(this))}call(){null!==this.last&&(this.needsQueue=!0,this.notify(this))}records(){let t=this.first;return{next:()=>{const e=t;return void 0===e?{value:void 0,done:!0}:(t=t.next,{value:e,done:!1})},[Symbol.iterator]:function(){return this}}}}class O{constructor(){this.targetIndex=0}}class A extends O{constructor(){super(...arguments),this.createPlaceholder=d.createInterpolationPlaceholder}}class L extends O{constructor(t,e,i){super(),this.name=t,this.behavior=e,this.options=i}createPlaceholder(t){return d.createCustomAttributePlaceholder(this.name,t)}createBehavior(t){return new this.behavior(t,this.options)}}function z(t,e){this.source=t,this.context=e,null===this.bindingObserver&&(this.bindingObserver=C.binding(this.binding,this,this.isBindingVolatile)),this.updateTarget(this.bindingObserver.observe(t,e))}function P(t,e){this.source=t,this.context=e,this.target.addEventListener(this.targetName,this)}function H(){this.bindingObserver.disconnect(),this.source=null,this.context=null}function M(){this.bindingObserver.disconnect(),this.source=null,this.context=null;const t=this.target.$fastView;void 0!==t&&t.isComposed&&(t.unbind(),t.needsBindOnly=!0)}function B(){this.target.removeEventListener(this.targetName,this),this.source=null,this.context=null}function N(t){d.setAttribute(this.target,this.targetName,t)}function j(t){d.setBooleanAttribute(this.target,this.targetName,t)}function U(t){if(null==t&&(t=""),t.create){this.target.textContent="";let e=this.target.$fastView;void 0===e?e=t.create():this.target.$fastTemplate!==t&&(e.isComposed&&(e.remove(),e.unbind()),e=t.create()),e.isComposed?e.needsBindOnly&&(e.needsBindOnly=!1,e.bind(this.source,this.context)):(e.isComposed=!0,e.bind(this.source,this.context),e.insertBefore(this.target),this.target.$fastView=e,this.target.$fastTemplate=t)}else{const e=this.target.$fastView;void 0!==e&&e.isComposed&&(e.isComposed=!1,e.remove(),e.needsBindOnly?e.needsBindOnly=!1:e.unbind()),this.target.textContent=t}}function q(t){this.target[this.targetName]=t}function _(t){const e=this.classVersions||Object.create(null),i=this.target;let o=this.version||0;if(null!=t&&t.length){const s=t.split(/\s+/);for(let t=0,n=s.length;td.createHTML(t(e,i))}break;case"?":this.cleanedTargetName=t.substr(1),this.updateTarget=j;break;case"@":this.cleanedTargetName=t.substr(1),this.bind=P,this.unbind=B;break;default:this.cleanedTargetName=t,"class"===t&&(this.updateTarget=_)}}targetAtContent(){this.updateTarget=U,this.unbind=M}createBehavior(t){return new W(t,this.binding,this.isBindingVolatile,this.bind,this.unbind,this.updateTarget,this.cleanedTargetName)}}class W{constructor(t,e,i,o,s,n,r){this.source=null,this.context=null,this.bindingObserver=null,this.target=t,this.binding=e,this.isBindingVolatile=i,this.bind=o,this.unbind=s,this.updateTarget=n,this.targetName=r}handleChange(){this.updateTarget(this.bindingObserver.observe(this.source,this.context))}handleEvent(t){V(t);const e=this.binding(this.source,this.context);V(null),!0!==e&&t.preventDefault()}}let K=null;class X{addFactory(t){t.targetIndex=this.targetIndex,this.behaviorFactories.push(t)}captureContentBinding(t){t.targetAtContent(),this.addFactory(t)}reset(){this.behaviorFactories=[],this.targetIndex=-1}release(){K=this}static borrow(t){const e=K||new X;return e.directives=t,e.reset(),K=null,e}}function Y(t){if(1===t.length)return t[0];let e;const i=t.length,o=t.map(t=>"string"==typeof t?()=>t:(e=t.targetName||e,t.binding)),s=new G((t,e)=>{let s="";for(let n=0;na),c.targetName=r.name):c=Y(l),null!==c&&(e.removeAttributeNode(r),s--,n--,t.addFactory(c))}}function tt(t,e,i){const o=Z(t,e.textContent);if(null!==o){let s=e;for(let n=0,r=o.length;n0}const e=this.fragment.cloneNode(!0),i=this.viewBehaviorFactories,o=new Array(this.behaviorCount),s=d.createTemplateWalker(e);let n=0,r=this.targetOffset,a=s.nextNode();for(let t=i.length;n=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/;function nt(t,...e){const i=[];let o="";for(let s=0,n=t.length-1;st}if("function"==typeof r&&(r=new G(r)),r instanceof A){const t=st.exec(n);null!==t&&(r.targetName=t[2])}r instanceof O?(o+=r.createPlaceholder(i.length),i.push(r)):o+=r}return o+=t[t.length-1],new ot(o,i)}class rt{constructor(){this.targets=new WeakSet,this.behaviors=null}addStylesTo(t){this.targets.add(t)}removeStylesFrom(t){this.targets.delete(t)}isAttachedTo(t){return this.targets.has(t)}withBehaviors(...t){return this.behaviors=null===this.behaviors?t:this.behaviors.concat(t),this}}function at(t){return t.map(t=>t instanceof rt?at(t.styles):[t]).reduce((t,e)=>t.concat(e),[])}function lt(t){return t.map(t=>t instanceof rt?t.behaviors:null).reduce((t,e)=>null===e?t:(null===t&&(t=[]),t.concat(e)),null)}rt.create=(()=>{if(d.supportsAdoptedStyleSheets){const t=new Map;return e=>new ct(e,t)}return t=>new dt(t)})();class ct extends rt{constructor(t,e){super(),this.styles=t,this.styleSheetCache=e,this._styleSheets=void 0,this.behaviors=lt(t)}get styleSheets(){if(void 0===this._styleSheets){const t=this.styles,e=this.styleSheetCache;this._styleSheets=at(t).map(t=>{if(t instanceof CSSStyleSheet)return t;let i=e.get(t);return void 0===i&&(i=new CSSStyleSheet,i.replaceSync(t),e.set(t,i)),i})}return this._styleSheets}addStylesTo(t){t.adoptedStyleSheets=[...t.adoptedStyleSheets,...this.styleSheets],super.addStylesTo(t)}removeStylesFrom(t){const e=this.styleSheets;t.adoptedStyleSheets=t.adoptedStyleSheets.filter(t=>-1===e.indexOf(t)),super.removeStylesFrom(t)}}let ht=0;class dt extends rt{constructor(t){super(),this.styles=t,this.behaviors=null,this.behaviors=lt(t),this.styleSheets=at(t),this.styleClass="fast-style-class-"+ ++ht}addStylesTo(t){const e=this.styleSheets,i=this.styleClass;t=this.normalizeTarget(t);for(let o=0;ot?"true":"false",fromView:t=>null!=t&&"false"!==t&&!1!==t&&0!==t},pt={toView(t){if(null==t)return null;const e=1*t;return isNaN(e)?null:e.toString()},fromView(t){if(null==t)return null;const e=1*t;return isNaN(e)?null:e}};class gt{constructor(t,e,i=e.toLowerCase(),o="reflect",s){this.guards=new Set,this.Owner=t,this.name=e,this.attribute=i,this.mode=o,this.converter=s,this.fieldName="_"+e,this.callbackName=e+"Changed",this.hasCallback=this.callbackName in t.prototype,"boolean"===o&&void 0===s&&(this.converter=ut)}setValue(t,e){const i=t[this.fieldName],o=this.converter;void 0!==o&&(e=o.fromView(e)),i!==e&&(t[this.fieldName]=e,this.tryReflectToAttribute(t),this.hasCallback&&t[this.callbackName](i,e),t.$fastController.notify(this.name))}getValue(t){return C.track(t,this.name),t[this.fieldName]}onAttributeChangedCallback(t,e){this.guards.has(t)||(this.guards.add(t),this.setValue(t,e),this.guards.delete(t))}tryReflectToAttribute(t){const e=this.mode,i=this.guards;i.has(t)||"fromView"===e||d.queueUpdate(()=>{i.add(t);const o=t[this.fieldName];switch(e){case"reflect":const e=this.converter;d.setAttribute(t,this.attribute,void 0!==e?e.toView(o):o);break;case"boolean":d.setBooleanAttribute(t,this.attribute,o)}i.delete(t)})}static collect(t,...e){const i=[];e.push(t.attributes);for(let o=0,s=e.length;o1&&(i.property=e);const o=t.constructor.attributes||(t.constructor.attributes=[]);o.push(i)}return arguments.length>1?(i={},void o(t,e)):(i=void 0===t?{}:t,o)}const mt={mode:"open"},bt={},vt=new Map;class yt{constructor(t,e=t.definition){"string"==typeof e&&(e={name:e}),this.type=t,this.name=e.name,this.template=e.template;const i=gt.collect(t,e.attributes),o=new Array(i.length),s={},n={};for(let t=0,e=i.length;t0){const e=this.boundObservables=Object.create(null);for(let i=0,s=o.length;iCt(t),define:(t,e)=>new yt(t,e).define().type});class Ft{createCSS(){return""}createBehavior(){}}function Tt(t,e){const i=[];let o="";const s=[];for(let n=0,r=t.length-1;n("string"==typeof e?this.css+=e:t.push(e),t),[]);i.length&&(this.styles=rt.create(i))}createBehavior(){return this}createCSS(){return this.css}bind(t){this.styles&&t.$fastController.addStyles(this.styles),this.behaviors.length&&t.$fastController.addBehaviors(this.behaviors)}unbind(t){this.styles&&t.$fastController.removeStyles(this.styles),this.behaviors.length&&t.$fastController.removeBehaviors(this.behaviors)}}function Rt(t,...e){const{styles:i,behaviors:o}=Tt(t,e);return new Vt(i,o)}function St(t,e,i){return{index:t,removed:e,addedCount:i}}function Et(t,i,o,s,n,r){let a=0,l=0;const c=Math.min(o-i,r-n);if(0===i&&0===n&&(a=function(t,e,i){for(let o=0;o0||i>0;){if(0===e){s.push(2),i--;continue}if(0===i){s.push(3),e--;continue}const n=t[e-1][i-1],r=t[e-1][i],a=t[e][i-1];let l;l=r=0){t.splice(e,1),e--,r-=i.addedCount-i.removed.length,s.addedCount+=i.addedCount-o;const a=s.removed.length+i.removed.length-o;if(s.addedCount||a){let t=i.removed;if(s.indexi.index+i.addedCount){const e=s.removed.slice(i.index+i.addedCount-s.index);Ot.apply(t,e)}s.removed=t,i.indexo?i=o-t.addedCount:i<0&&(i=o+t.removed.length+i-t.addedCount),i<0&&(i=0),t.index=i,t}class Ht extends m{constructor(t){super(t),this.oldCollection=void 0,this.splices=void 0,this.needsQueue=!0,this.call=this.flush,t.$fastController=this}addSplice(t){void 0===this.splices?this.splices=[t]:this.splices.push(t),this.needsQueue&&(this.needsQueue=!1,d.queueUpdate(this))}reset(t){this.oldCollection=t,this.needsQueue&&(this.needsQueue=!1,d.queueUpdate(this))}flush(){const t=this.splices,e=this.oldCollection;if(void 0===t&&void 0===e)return;this.needsQueue=!0,this.splices=void 0,this.oldCollection=void 0;const i=void 0===e?Lt(this.source,t):Et(this.source,0,this.source.length,e,0,e.length);this.notify(i)}}class Mt{constructor(t,e){this.target=t,this.propertyName=e}bind(t){t[this.propertyName]=this.target}unbind(){}}function Bt(t){return new L("fast-ref",Mt,t)}function Nt(t,e){const i="function"==typeof e?e:()=>e;return(e,o)=>t(e,o)?i(e,o):null}function jt(t,e,i,o){t.bind(e[i],o)}function Ut(t,e,i,o){const s=Object.create(o);s.index=i,s.length=e.length,t.bind(e[i],s)}Object.freeze({positioning:!1});class qt{constructor(t,e,i,o,s,n){this.location=t,this.itemsBinding=e,this.templateBinding=o,this.options=n,this.source=null,this.views=[],this.items=null,this.itemsObserver=null,this.originalContext=void 0,this.childContext=void 0,this.bindView=jt,this.itemsBindingObserver=C.binding(e,this,i),this.templateBindingObserver=C.binding(o,this,s),n.positioning&&(this.bindView=Ut)}bind(t,e){this.source=t,this.originalContext=e,this.childContext=Object.create(e),this.childContext.parent=t,this.childContext.parentContext=this.originalContext,this.items=this.itemsBindingObserver.observe(t,this.originalContext),this.template=this.templateBindingObserver.observe(t,this.originalContext),this.observeItems(!0),this.refreshAllViews()}unbind(){this.source=null,this.items=null,null!==this.itemsObserver&&this.itemsObserver.unsubscribe(this),this.unbindAllViews(),this.itemsBindingObserver.disconnect(),this.templateBindingObserver.disconnect()}handleChange(t,e){t===this.itemsBinding?(this.items=this.itemsBindingObserver.observe(this.source,this.originalContext),this.observeItems(),this.refreshAllViews()):t===this.templateBinding?(this.template=this.templateBindingObserver.observe(this.source,this.originalContext),this.refreshAllViews(!0)):this.updateViews(e)}observeItems(t=!1){if(!this.items)return void(this.items=e);const i=this.itemsObserver,o=this.itemsObserver=C.getNotifier(this.items),s=i!==o;s&&null!==i&&i.unsubscribe(this),(s||t)&&o.subscribe(this)}updateViews(t){const e=this.childContext,i=this.views,o=[],s=this.bindView;let n=0;for(let e=0,s=t.length;e0?o.shift():a.create();i.splice(c,0,l),s(l,r,c,e),l.insertBefore(n)}}for(let t=0,e=o.length;tnew Ht(t));const t=Array.prototype,e=t.pop,i=t.push,o=t.reverse,s=t.shift,n=t.sort,r=t.splice,a=t.unshift;t.pop=function(){const t=this.length>0,i=e.apply(this,arguments),o=this.$fastController;return void 0!==o&&t&&o.addSplice(St(this.length,[i],0)),i},t.push=function(){const t=i.apply(this,arguments),e=this.$fastController;return void 0!==e&&e.addSplice(Pt(St(this.length-arguments.length,[],arguments.length),this)),t},t.reverse=function(){let t;const e=this.$fastController;void 0!==e&&(e.flush(),t=this.slice());const i=o.apply(this,arguments);return void 0!==e&&e.reset(t),i},t.shift=function(){const t=this.length>0,e=s.apply(this,arguments),i=this.$fastController;return void 0!==i&&t&&i.addSplice(St(0,[e],0)),e},t.sort=function(){let t;const e=this.$fastController;void 0!==e&&(e.flush(),t=this.slice());const i=n.apply(this,arguments);return void 0!==e&&e.reset(t),i},t.splice=function(){const t=r.apply(this,arguments),e=this.$fastController;return void 0!==e&&e.addSplice(Pt(St(+arguments[0],t,arguments.length>2?arguments.length-2:0),this)),t},t.unshift=function(){const t=a.apply(this,arguments),e=this.$fastController;return void 0!==e&&e.addSplice(Pt(St(0,[],arguments.length),this)),t}}(),this.isItemsBindingVolatile=C.isVolatileBinding(t),this.isTemplateBindingVolatile=C.isVolatileBinding(e)}createBehavior(t){return new qt(t,this.itemsBinding,this.isItemsBindingVolatile,this.templateBinding,this.isTemplateBindingVolatile,this.options)}}function Gt(t){return t?function(e,i,o){return 1===e.nodeType&&e.matches(t)}:function(t,e,i){return 1===t.nodeType}}class Wt{constructor(t,e){this.target=t,this.options=e,this.source=null}bind(t){const e=this.options.property;this.shouldUpdate=C.getAccessors(t).some(t=>t.name===e),this.source=t,this.updateTarget(this.computeNodes()),this.shouldUpdate&&this.observe()}unbind(){this.updateTarget(e),this.source=null,this.shouldUpdate&&this.disconnect()}handleEvent(){this.updateTarget(this.computeNodes())}computeNodes(){let t=this.getNodes();return void 0!==this.options.filter&&(t=t.filter(this.options.filter)),t}updateTarget(t){this.source[this.options.property]=t}}class Kt extends Wt{constructor(t,e){super(t,e)}observe(){this.target.addEventListener("slotchange",this)}disconnect(){this.target.removeEventListener("slotchange",this)}getNodes(){return this.target.assignedNodes(this.options)}}function Xt(t){return"string"==typeof t&&(t={property:t}),new L("fast-slotted",Kt,t)}class Yt extends Wt{constructor(t,e){super(t,e),this.observer=null,e.childList=!0}observe(){null===this.observer&&(this.observer=new MutationObserver(this.handleEvent.bind(this))),this.observer.observe(this.target,this.options)}disconnect(){this.observer.disconnect()}getNodes(){return"subtree"in this.options?Array.from(this.target.querySelectorAll(this.options.selector)):Array.from(this.target.childNodes)}}function Qt(t){return"string"==typeof t&&(t={property:t}),new L("fast-children",Yt,t)}class Zt{handleStartContentChange(){this.startContainer.classList.toggle("start",this.start.assignedNodes().length>0)}handleEndContentChange(){this.endContainer.classList.toggle("end",this.end.assignedNodes().length>0)}}const Jt=(t,e)=>nt`e.end?"end":void 0}>${e.end||""}`,te=(t,e)=>nt`${e.start||""}`;nt``,nt``; /*! ***************************************************************************** Copyright (c) Microsoft Corporation. diff --git a/boilerplate/01-deploy-control-plane.yml b/boilerplate/01-deploy-control-plane.yml index e0230d882b..244b85d822 100644 --- a/boilerplate/01-deploy-control-plane.yml +++ b/boilerplate/01-deploy-control-plane.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + name: Deploying the control plane defined in $(deployerfolder) $(libraryfolder) parameters: diff --git a/boilerplate/02-sap-workload-zone.yml b/boilerplate/02-sap-workload-zone.yml index 0a12b84027..7ffce7bf29 100644 --- a/boilerplate/02-sap-workload-zone.yml +++ b/boilerplate/02-sap-workload-zone.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + name: Deploying the SAP Workload zone defined in $(workload_zone_folder) parameters: diff --git a/boilerplate/03-sap-system-deployment.yml b/boilerplate/03-sap-system-deployment.yml index a43e2216a1..27040e07e2 100644 --- a/boilerplate/03-sap-system-deployment.yml +++ b/boilerplate/03-sap-system-deployment.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + name: SAP Infrastructure Deployment $(sap_system_folder) parameters: diff --git a/boilerplate/04-sap-software-download.yml b/boilerplate/04-sap-software-download.yml index 25a035c42a..e1d75b4258 100644 --- a/boilerplate/04-sap-software-download.yml +++ b/boilerplate/04-sap-software-download.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + name: SAP Software download $(bom) $(environment_code) $(location_code) parameters: diff --git a/boilerplate/05-DB-and-SAP-installation.yml b/boilerplate/05-DB-and-SAP-installation.yml index e7bbd715df..db5cdac6f4 100644 --- a/boilerplate/05-DB-and-SAP-installation.yml +++ b/boilerplate/05-DB-and-SAP-installation.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + name: OS Configuration and SAP Installation $(sap_system_folder) $(bom) parameters: diff --git a/boilerplate/10-remover-terraform.yml b/boilerplate/10-remover-terraform.yml index 135ee98ecf..9ac3535b18 100644 --- a/boilerplate/10-remover-terraform.yml +++ b/boilerplate/10-remover-terraform.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + name: Removal parameters: diff --git a/boilerplate/11-remover-arm-fallback.yaml b/boilerplate/11-remover-arm-fallback.yaml index 2546cd61fc..30eac21039 100644 --- a/boilerplate/11-remover-arm-fallback.yaml +++ b/boilerplate/11-remover-arm-fallback.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/boilerplate/12-remove-control-plane.yaml b/boilerplate/12-remove-control-plane.yaml index 3112441fb0..c188bef25c 100644 --- a/boilerplate/12-remove-control-plane.yaml +++ b/boilerplate/12-remove-control-plane.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/boilerplate/custom/nightly.yml b/boilerplate/custom/nightly.yml index 8540c6a795..77c30db2e1 100644 --- a/boilerplate/custom/nightly.yml +++ b/boilerplate/custom/nightly.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + name: Deploying the control plane defined in $(deployerfolder) $(libraryfolder) variables: diff --git a/boilerplate/resources.yml b/boilerplate/resources.yml index e8a06f9a53..68065aa0ce 100644 --- a/boilerplate/resources.yml +++ b/boilerplate/resources.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + resources: repositories: - repository: sap-automation diff --git a/deploy/ansible/action_plugins/public_api.py b/deploy/ansible/action_plugins/public_api.py index 30d572c8ce..f72255e6ab 100644 --- a/deploy/ansible/action_plugins/public_api.py +++ b/deploy/ansible/action_plugins/public_api.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/usr/bin/env python3.9 from __future__ import absolute_import, division, print_function diff --git a/deploy/ansible/configuration_menu.sh b/deploy/ansible/configuration_menu.sh index 39c68f12c0..951a57fa55 100755 --- a/deploy/ansible/configuration_menu.sh +++ b/deploy/ansible/configuration_menu.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/bin/bash export PATH=/opt/terraform/bin:/opt/ansible/bin:${PATH} diff --git a/deploy/ansible/download_menu.sh b/deploy/ansible/download_menu.sh index fc33bb1c52..83f9c8ffd6 100755 --- a/deploy/ansible/download_menu.sh +++ b/deploy/ansible/download_menu.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/bin/bash export PATH=/opt/terraform/bin:/opt/ansible/bin:${PATH} diff --git a/deploy/ansible/filter_plugins/custom_filters.py b/deploy/ansible/filter_plugins/custom_filters.py index 9cfab3d463..1dd7d4bbb8 100755 --- a/deploy/ansible/filter_plugins/custom_filters.py +++ b/deploy/ansible/filter_plugins/custom_filters.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + import re import traceback diff --git a/deploy/ansible/lookup_plugins/azure_keyvault_secret.py b/deploy/ansible/lookup_plugins/azure_keyvault_secret.py index f37d3fcc80..64bb319feb 100644 --- a/deploy/ansible/lookup_plugins/azure_keyvault_secret.py +++ b/deploy/ansible/lookup_plugins/azure_keyvault_secret.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + from __future__ import (absolute_import, division, print_function) __metaclass__ = type diff --git a/deploy/ansible/pb_get-keyvault-secret.yaml b/deploy/ansible/pb_get-keyvault-secret.yaml index 5d1bc7502d..516fa47453 100644 --- a/deploy/ansible/pb_get-keyvault-secret.yaml +++ b/deploy/ansible/pb_get-keyvault-secret.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Playbook for retrieving the sshkey | diff --git a/deploy/ansible/pb_get-sshkey.yaml b/deploy/ansible/pb_get-sshkey.yaml index 8e298df58d..9b3367ea36 100644 --- a/deploy/ansible/pb_get-sshkey.yaml +++ b/deploy/ansible/pb_get-sshkey.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Playbook for retrieving the sshkey | diff --git a/deploy/ansible/playbook_00_validate_parameters.yaml b/deploy/ansible/playbook_00_validate_parameters.yaml index 3c6f4aadd3..28a29f6f31 100644 --- a/deploy/ansible/playbook_00_validate_parameters.yaml +++ b/deploy/ansible/playbook_00_validate_parameters.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/playbook_01_os_base_config.yaml b/deploy/ansible/playbook_01_os_base_config.yaml index 01f55430cd..4a7078b4ac 100644 --- a/deploy/ansible/playbook_01_os_base_config.yaml +++ b/deploy/ansible/playbook_01_os_base_config.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/playbook_02_os_sap_specific_config.yaml b/deploy/ansible/playbook_02_os_sap_specific_config.yaml index bd0d9c1b1d..e5d0f70772 100644 --- a/deploy/ansible/playbook_02_os_sap_specific_config.yaml +++ b/deploy/ansible/playbook_02_os_sap_specific_config.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*----------------------------------------------------------------------------8 diff --git a/deploy/ansible/playbook_03_bom_processing.yaml b/deploy/ansible/playbook_03_bom_processing.yaml index 8b32db6f75..4b558f3c7f 100644 --- a/deploy/ansible/playbook_03_bom_processing.yaml +++ b/deploy/ansible/playbook_03_bom_processing.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*----------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/playbook_04_00_00_db_install.yaml b/deploy/ansible/playbook_04_00_00_db_install.yaml index 08b2d6390b..fae84bbe34 100644 --- a/deploy/ansible/playbook_04_00_00_db_install.yaml +++ b/deploy/ansible/playbook_04_00_00_db_install.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*----------------------------------------------------------------------------8 diff --git a/deploy/ansible/playbook_04_00_01_db_ha.yaml b/deploy/ansible/playbook_04_00_01_db_ha.yaml index fd92265561..33921a1e2b 100644 --- a/deploy/ansible/playbook_04_00_01_db_ha.yaml +++ b/deploy/ansible/playbook_04_00_01_db_ha.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*----------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/playbook_04_00_02_db_hcmt.yaml b/deploy/ansible/playbook_04_00_02_db_hcmt.yaml index bd8dc9f8bb..da6347f6ae 100644 --- a/deploy/ansible/playbook_04_00_02_db_hcmt.yaml +++ b/deploy/ansible/playbook_04_00_02_db_hcmt.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*----------------------------------------------------------------------------8 # | | # | Playbook for HANA DB HSR | diff --git a/deploy/ansible/playbook_05_00_00_sap_scs_install.yaml b/deploy/ansible/playbook_05_00_00_sap_scs_install.yaml index 2fde739b07..d9b6006fc4 100644 --- a/deploy/ansible/playbook_05_00_00_sap_scs_install.yaml +++ b/deploy/ansible/playbook_05_00_00_sap_scs_install.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------------------------------8 diff --git a/deploy/ansible/playbook_05_01_sap_dbload.yaml b/deploy/ansible/playbook_05_01_sap_dbload.yaml index f08a0e978b..027f73f9c2 100644 --- a/deploy/ansible/playbook_05_01_sap_dbload.yaml +++ b/deploy/ansible/playbook_05_01_sap_dbload.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/playbook_05_02_sap_pas_install.yaml b/deploy/ansible/playbook_05_02_sap_pas_install.yaml index 5b052237f9..aa8393f3af 100644 --- a/deploy/ansible/playbook_05_02_sap_pas_install.yaml +++ b/deploy/ansible/playbook_05_02_sap_pas_install.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 diff --git a/deploy/ansible/playbook_05_03_sap_app_install.yaml b/deploy/ansible/playbook_05_03_sap_app_install.yaml index b0f6cab6a5..53c658372c 100644 --- a/deploy/ansible/playbook_05_03_sap_app_install.yaml +++ b/deploy/ansible/playbook_05_03_sap_app_install.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Prepare for SAP APP Install | diff --git a/deploy/ansible/playbook_05_04_sap_web_install.yaml b/deploy/ansible/playbook_05_04_sap_web_install.yaml index d7c4145681..fa54b38324 100644 --- a/deploy/ansible/playbook_05_04_sap_web_install.yaml +++ b/deploy/ansible/playbook_05_04_sap_web_install.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Playbook for SAP Web Dispatcher Install | diff --git a/deploy/ansible/playbook_06_00_acss_registration.yaml b/deploy/ansible/playbook_06_00_acss_registration.yaml index 9e33abc4a0..06d229c70b 100644 --- a/deploy/ansible/playbook_06_00_acss_registration.yaml +++ b/deploy/ansible/playbook_06_00_acss_registration.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Playbook for SAP Web Dispatcher Install | diff --git a/deploy/ansible/playbook_06_01_ams_monitoring.yaml b/deploy/ansible/playbook_06_01_ams_monitoring.yaml index 97cacf79b6..090c338042 100644 --- a/deploy/ansible/playbook_06_01_ams_monitoring.yaml +++ b/deploy/ansible/playbook_06_01_ams_monitoring.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Playbook for Azure Monitor for SAP Provider Settings | diff --git a/deploy/ansible/playbook_06_02_sap_on_azure_quality_checks.yaml b/deploy/ansible/playbook_06_02_sap_on_azure_quality_checks.yaml index 7c3a21747c..584e204a64 100644 --- a/deploy/ansible/playbook_06_02_sap_on_azure_quality_checks.yaml +++ b/deploy/ansible/playbook_06_02_sap_on_azure_quality_checks.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Playbook for SAP on Azure quality checks | diff --git a/deploy/ansible/playbook_07_00_00_post_installation.yaml b/deploy/ansible/playbook_07_00_00_post_installation.yaml index e7c70e74aa..0fe176ed32 100644 --- a/deploy/ansible/playbook_07_00_00_post_installation.yaml +++ b/deploy/ansible/playbook_07_00_00_post_installation.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Playbook for Post installation activities | diff --git a/deploy/ansible/playbook_08_00_00_post_configuration_actions.yaml b/deploy/ansible/playbook_08_00_00_post_configuration_actions.yaml index 7f95dd1c33..f4b5f41192 100644 --- a/deploy/ansible/playbook_08_00_00_post_configuration_actions.yaml +++ b/deploy/ansible/playbook_08_00_00_post_configuration_actions.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Playbook for Post Configuration | diff --git a/deploy/ansible/playbook_bom_downloader.yaml b/deploy/ansible/playbook_bom_downloader.yaml index 07928cbf8d..b2d4c723d7 100644 --- a/deploy/ansible/playbook_bom_downloader.yaml +++ b/deploy/ansible/playbook_bom_downloader.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*----------------------------------------------------------------------------8 # | | # | PLAYBOOK FOR BOM DOWNLOADER | diff --git a/deploy/ansible/playbook_sapcal_integration.yaml b/deploy/ansible/playbook_sapcal_integration.yaml index 7ff35a53a6..59dddda267 100644 --- a/deploy/ansible/playbook_sapcal_integration.yaml +++ b/deploy/ansible/playbook_sapcal_integration.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- - name: "SAP CAL Integration" diff --git a/deploy/ansible/roles-db/4.0.0-hdb-install/tasks/main.yaml b/deploy/ansible/roles-db/4.0.0-hdb-install/tasks/main.yaml index ae3f261361..861c800d7f 100644 --- a/deploy/ansible/roles-db/4.0.0-hdb-install/tasks/main.yaml +++ b/deploy/ansible/roles-db/4.0.0-hdb-install/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Perform the SAP DB Instance installation | diff --git a/deploy/ansible/roles-db/4.0.0-hdb-install/templates/HANA_2_00_055_v1_install.rsp.xml.j2 b/deploy/ansible/roles-db/4.0.0-hdb-install/templates/HANA_2_00_055_v1_install.rsp.xml.j2 index c07fad2e1c..2bb5d3a17e 100644 --- a/deploy/ansible/roles-db/4.0.0-hdb-install/templates/HANA_2_00_055_v1_install.rsp.xml.j2 +++ b/deploy/ansible/roles-db/4.0.0-hdb-install/templates/HANA_2_00_055_v1_install.rsp.xml.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} diff --git a/deploy/ansible/roles-db/4.0.1-hdb-hsr/defaults/main.yml b/deploy/ansible/roles-db/4.0.1-hdb-hsr/defaults/main.yml index fa7a2fa714..5ffd3147ac 100644 --- a/deploy/ansible/roles-db/4.0.1-hdb-hsr/defaults/main.yml +++ b/deploy/ansible/roles-db/4.0.1-hdb-hsr/defaults/main.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 diff --git a/deploy/ansible/roles-db/4.0.1-hdb-hsr/tasks/4.0.1.0-pre_checks.yml b/deploy/ansible/roles-db/4.0.1-hdb-hsr/tasks/4.0.1.0-pre_checks.yml index 71c3947996..fef5f4d229 100644 --- a/deploy/ansible/roles-db/4.0.1-hdb-hsr/tasks/4.0.1.0-pre_checks.yml +++ b/deploy/ansible/roles-db/4.0.1-hdb-hsr/tasks/4.0.1.0-pre_checks.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # sapcontrol EXITCODES diff --git a/deploy/ansible/roles-db/4.0.1-hdb-hsr/tasks/4.0.1.1-set_runtime_path_facts.yml b/deploy/ansible/roles-db/4.0.1-hdb-hsr/tasks/4.0.1.1-set_runtime_path_facts.yml index ab4a1f007a..457312d319 100644 --- a/deploy/ansible/roles-db/4.0.1-hdb-hsr/tasks/4.0.1.1-set_runtime_path_facts.yml +++ b/deploy/ansible/roles-db/4.0.1-hdb-hsr/tasks/4.0.1.1-set_runtime_path_facts.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/roles-db/4.0.1-hdb-hsr/tasks/4.0.1.2-set_trust_relationship.yml b/deploy/ansible/roles-db/4.0.1-hdb-hsr/tasks/4.0.1.2-set_trust_relationship.yml index 3d8f6c9a46..47d9c6b5cf 100644 --- a/deploy/ansible/roles-db/4.0.1-hdb-hsr/tasks/4.0.1.2-set_trust_relationship.yml +++ b/deploy/ansible/roles-db/4.0.1-hdb-hsr/tasks/4.0.1.2-set_trust_relationship.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 diff --git a/deploy/ansible/roles-db/4.0.1-hdb-hsr/tasks/4.0.1.3-copy_ssfs_keys.yml b/deploy/ansible/roles-db/4.0.1-hdb-hsr/tasks/4.0.1.3-copy_ssfs_keys.yml index e0cc468a75..250ee3da7e 100644 --- a/deploy/ansible/roles-db/4.0.1-hdb-hsr/tasks/4.0.1.3-copy_ssfs_keys.yml +++ b/deploy/ansible/roles-db/4.0.1-hdb-hsr/tasks/4.0.1.3-copy_ssfs_keys.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 diff --git a/deploy/ansible/roles-db/4.0.1-hdb-hsr/tasks/4.0.1.4-create_hana_backup.yml b/deploy/ansible/roles-db/4.0.1-hdb-hsr/tasks/4.0.1.4-create_hana_backup.yml index 5502acbb23..35221ca74d 100644 --- a/deploy/ansible/roles-db/4.0.1-hdb-hsr/tasks/4.0.1.4-create_hana_backup.yml +++ b/deploy/ansible/roles-db/4.0.1-hdb-hsr/tasks/4.0.1.4-create_hana_backup.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 diff --git a/deploy/ansible/roles-db/4.0.1-hdb-hsr/tasks/4.0.1.5-provision_hana_replication.yml b/deploy/ansible/roles-db/4.0.1-hdb-hsr/tasks/4.0.1.5-provision_hana_replication.yml index 5286072741..b282475323 100644 --- a/deploy/ansible/roles-db/4.0.1-hdb-hsr/tasks/4.0.1.5-provision_hana_replication.yml +++ b/deploy/ansible/roles-db/4.0.1-hdb-hsr/tasks/4.0.1.5-provision_hana_replication.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 diff --git a/deploy/ansible/roles-db/4.0.1-hdb-hsr/tasks/4.0.1.5.0-set_global_ini_values.yml b/deploy/ansible/roles-db/4.0.1-hdb-hsr/tasks/4.0.1.5.0-set_global_ini_values.yml index 283ff5b052..726b76bb7d 100644 --- a/deploy/ansible/roles-db/4.0.1-hdb-hsr/tasks/4.0.1.5.0-set_global_ini_values.yml +++ b/deploy/ansible/roles-db/4.0.1-hdb-hsr/tasks/4.0.1.5.0-set_global_ini_values.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # HANA must be restarted after setting values in global.ini # Reference: diff --git a/deploy/ansible/roles-db/4.0.1-hdb-hsr/tasks/4.0.1.6-post_checks.yml b/deploy/ansible/roles-db/4.0.1-hdb-hsr/tasks/4.0.1.6-post_checks.yml index 35b4fd40cc..3e5c80e12f 100644 --- a/deploy/ansible/roles-db/4.0.1-hdb-hsr/tasks/4.0.1.6-post_checks.yml +++ b/deploy/ansible/roles-db/4.0.1-hdb-hsr/tasks/4.0.1.6-post_checks.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- - name: "HANA HSR: - Ensure replication status is active" diff --git a/deploy/ansible/roles-db/4.0.1-hdb-hsr/tasks/4.0.1.7-sap-profile-changes.yml b/deploy/ansible/roles-db/4.0.1-hdb-hsr/tasks/4.0.1.7-sap-profile-changes.yml index 4d54ce5cbc..9d15fc89ab 100644 --- a/deploy/ansible/roles-db/4.0.1-hdb-hsr/tasks/4.0.1.7-sap-profile-changes.yml +++ b/deploy/ansible/roles-db/4.0.1-hdb-hsr/tasks/4.0.1.7-sap-profile-changes.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- ############################################################################################################## diff --git a/deploy/ansible/roles-db/4.0.1-hdb-hsr/tasks/main.yml b/deploy/ansible/roles-db/4.0.1-hdb-hsr/tasks/main.yml index 9e5b193365..93212b2d07 100644 --- a/deploy/ansible/roles-db/4.0.1-hdb-hsr/tasks/main.yml +++ b/deploy/ansible/roles-db/4.0.1-hdb-hsr/tasks/main.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # +------------------------------------4--------------------------------------*/ # + */ diff --git a/deploy/ansible/roles-db/4.0.1-hdb-hsr/vars/main.yml b/deploy/ansible/roles-db/4.0.1-hdb-hsr/vars/main.yml index 4226a0d725..4d96ecbaee 100644 --- a/deploy/ansible/roles-db/4.0.1-hdb-hsr/vars/main.yml +++ b/deploy/ansible/roles-db/4.0.1-hdb-hsr/vars/main.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # Variables in this file are required by the role, but are computed from default variables (e.g. sid), diff --git a/deploy/ansible/roles-db/4.0.2-hdb-hcmt/tasks/main.yaml b/deploy/ansible/roles-db/4.0.2-hdb-hcmt/tasks/main.yaml index ac2223b013..09220a0ae3 100644 --- a/deploy/ansible/roles-db/4.0.2-hdb-hcmt/tasks/main.yaml +++ b/deploy/ansible/roles-db/4.0.2-hdb-hcmt/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Perform the HANA Cloud Meansurement Tool | diff --git a/deploy/ansible/roles-db/4.0.3-hdb-install-scaleout/defaults/main.yaml b/deploy/ansible/roles-db/4.0.3-hdb-install-scaleout/defaults/main.yaml index fae27bd53a..4f4e34e95f 100644 --- a/deploy/ansible/roles-db/4.0.3-hdb-install-scaleout/defaults/main.yaml +++ b/deploy/ansible/roles-db/4.0.3-hdb-install-scaleout/defaults/main.yaml @@ -1 +1,4 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + _rsp_basepath_shared: "no" diff --git a/deploy/ansible/roles-db/4.0.3-hdb-install-scaleout/tasks/main.yaml b/deploy/ansible/roles-db/4.0.3-hdb-install-scaleout/tasks/main.yaml index 4be0977976..7c83ad97d1 100644 --- a/deploy/ansible/roles-db/4.0.3-hdb-install-scaleout/tasks/main.yaml +++ b/deploy/ansible/roles-db/4.0.3-hdb-install-scaleout/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Perform the SAP DB Instance installation for scale out | diff --git a/deploy/ansible/roles-db/4.0.3-hdb-install-scaleout/templates/HANA_2_00_055_v1_install.rsp.xml.j2 b/deploy/ansible/roles-db/4.0.3-hdb-install-scaleout/templates/HANA_2_00_055_v1_install.rsp.xml.j2 index c07fad2e1c..2bb5d3a17e 100644 --- a/deploy/ansible/roles-db/4.0.3-hdb-install-scaleout/templates/HANA_2_00_055_v1_install.rsp.xml.j2 +++ b/deploy/ansible/roles-db/4.0.3-hdb-install-scaleout/templates/HANA_2_00_055_v1_install.rsp.xml.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} diff --git a/deploy/ansible/roles-db/4.0.4-hdb-schema/tasks/main.yaml b/deploy/ansible/roles-db/4.0.4-hdb-schema/tasks/main.yaml index 0d14ba62fa..eb8d5c138f 100644 --- a/deploy/ansible/roles-db/4.0.4-hdb-schema/tasks/main.yaml +++ b/deploy/ansible/roles-db/4.0.4-hdb-schema/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/roles-db/4.0.4-hdb-schema/vars/main.yaml b/deploy/ansible/roles-db/4.0.4-hdb-schema/vars/main.yaml index 30ea3d1819..48c1380768 100644 --- a/deploy/ansible/roles-db/4.0.4-hdb-schema/vars/main.yaml +++ b/deploy/ansible/roles-db/4.0.4-hdb-schema/vars/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + hdb_schema_property_names: - "dbs/hdb/schema" # ABAP schema - "j2ee/dbschema" # JAVA schema diff --git a/deploy/ansible/roles-db/4.1.0-ora-install/tasks/main.yaml b/deploy/ansible/roles-db/4.1.0-ora-install/tasks/main.yaml index cb577f3f5a..1959b4c39c 100644 --- a/deploy/ansible/roles-db/4.1.0-ora-install/tasks/main.yaml +++ b/deploy/ansible/roles-db/4.1.0-ora-install/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Perform the Oracle Instance installation | diff --git a/deploy/ansible/roles-db/4.1.1-ora-asm-grid/tasks/main.yaml b/deploy/ansible/roles-db/4.1.1-ora-asm-grid/tasks/main.yaml index 660b1102e2..ede39b87e1 100644 --- a/deploy/ansible/roles-db/4.1.1-ora-asm-grid/tasks/main.yaml +++ b/deploy/ansible/roles-db/4.1.1-ora-asm-grid/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Perform the Oracle Instance ASM installation | diff --git a/deploy/ansible/roles-db/4.1.2-ora-asm-db-install/tasks/main.yaml b/deploy/ansible/roles-db/4.1.2-ora-asm-db-install/tasks/main.yaml index 81a1ca0093..f00eecadd6 100644 --- a/deploy/ansible/roles-db/4.1.2-ora-asm-db-install/tasks/main.yaml +++ b/deploy/ansible/roles-db/4.1.2-ora-asm-db-install/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Perform the Oracle Instance installation | diff --git a/deploy/ansible/roles-db/4.1.3-ora-dg/tasks/main.yaml b/deploy/ansible/roles-db/4.1.3-ora-dg/tasks/main.yaml index 69f285cd10..bc554b9a90 100644 --- a/deploy/ansible/roles-db/4.1.3-ora-dg/tasks/main.yaml +++ b/deploy/ansible/roles-db/4.1.3-ora-dg/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 diff --git a/deploy/ansible/roles-db/4.1.3-ora-dg/tasks/ora-dg-observer-setup.yaml b/deploy/ansible/roles-db/4.1.3-ora-dg/tasks/ora-dg-observer-setup.yaml index 053157d21d..d06f4f72a5 100644 --- a/deploy/ansible/roles-db/4.1.3-ora-dg/tasks/ora-dg-observer-setup.yaml +++ b/deploy/ansible/roles-db/4.1.3-ora-dg/tasks/ora-dg-observer-setup.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- - name: "Oracle Data Guard - Observer: Set the NFS Server name" ansible.builtin.set_fact: diff --git a/deploy/ansible/roles-db/4.1.3-ora-dg/tasks/ora-dg-postprocessing-primary.yaml b/deploy/ansible/roles-db/4.1.3-ora-dg/tasks/ora-dg-postprocessing-primary.yaml index b2b6d984f7..de979dd24a 100644 --- a/deploy/ansible/roles-db/4.1.3-ora-dg/tasks/ora-dg-postprocessing-primary.yaml +++ b/deploy/ansible/roles-db/4.1.3-ora-dg/tasks/ora-dg-postprocessing-primary.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # DGMGRL Config on Primary diff --git a/deploy/ansible/roles-db/4.1.3-ora-dg/tasks/ora-dg-postprocessing-secondary.yaml b/deploy/ansible/roles-db/4.1.3-ora-dg/tasks/ora-dg-postprocessing-secondary.yaml index 709fdc8422..54307c1fb2 100644 --- a/deploy/ansible/roles-db/4.1.3-ora-dg/tasks/ora-dg-postprocessing-secondary.yaml +++ b/deploy/ansible/roles-db/4.1.3-ora-dg/tasks/ora-dg-postprocessing-secondary.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # DGMGRL Config on Secondary for Enabling the Falshback logs. diff --git a/deploy/ansible/roles-db/4.1.3-ora-dg/tasks/ora-dg-preparation.yaml b/deploy/ansible/roles-db/4.1.3-ora-dg/tasks/ora-dg-preparation.yaml index 8c5b870847..c73a9436f7 100644 --- a/deploy/ansible/roles-db/4.1.3-ora-dg/tasks/ora-dg-preparation.yaml +++ b/deploy/ansible/roles-db/4.1.3-ora-dg/tasks/ora-dg-preparation.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 diff --git a/deploy/ansible/roles-db/4.1.3-ora-dg/tasks/ora-dg-secondary-preparation.yaml b/deploy/ansible/roles-db/4.1.3-ora-dg/tasks/ora-dg-secondary-preparation.yaml index 87368876b8..66ca510616 100644 --- a/deploy/ansible/roles-db/4.1.3-ora-dg/tasks/ora-dg-secondary-preparation.yaml +++ b/deploy/ansible/roles-db/4.1.3-ora-dg/tasks/ora-dg-secondary-preparation.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # - name: Setting the primary and Secondary DB names diff --git a/deploy/ansible/roles-db/4.1.3-ora-dg/tasks/ora-dg-setup-primary.yaml b/deploy/ansible/roles-db/4.1.3-ora-dg/tasks/ora-dg-setup-primary.yaml index 1522753879..e6fc9731b3 100644 --- a/deploy/ansible/roles-db/4.1.3-ora-dg/tasks/ora-dg-setup-primary.yaml +++ b/deploy/ansible/roles-db/4.1.3-ora-dg/tasks/ora-dg-setup-primary.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 diff --git a/deploy/ansible/roles-db/4.1.3-ora-dg/tasks/ora-dg-setup-secondary.yaml b/deploy/ansible/roles-db/4.1.3-ora-dg/tasks/ora-dg-setup-secondary.yaml index b973436cba..6e04680fe9 100644 --- a/deploy/ansible/roles-db/4.1.3-ora-dg/tasks/ora-dg-setup-secondary.yaml +++ b/deploy/ansible/roles-db/4.1.3-ora-dg/tasks/ora-dg-setup-secondary.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 diff --git a/deploy/ansible/roles-db/4.1.3-ora-dg/templates/asmfilesystems-secondary.j2 b/deploy/ansible/roles-db/4.1.3-ora-dg/templates/asmfilesystems-secondary.j2 index 22ca7f4473..b59bb6e097 100644 --- a/deploy/ansible/roles-db/4.1.3-ora-dg/templates/asmfilesystems-secondary.j2 +++ b/deploy/ansible/roles-db/4.1.3-ora-dg/templates/asmfilesystems-secondary.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} /oracle/GRID/{{ ora_version }}/bin/asmcmd --privilege sysdba mkdir +DATA/{{ db_sid | upper }} /oracle/GRID/{{ ora_version }}/bin/asmcmd --privilege sysdba mkdir +ARCH/{{ db_sid | upper }} /oracle/GRID/{{ ora_version }}/bin/asmcmd --privilege sysdba mkdir +ARCH/{{ db_sid | upper }}/oraarch diff --git a/deploy/ansible/roles-db/4.1.3-ora-dg/templates/dbparametersfordg.j2 b/deploy/ansible/roles-db/4.1.3-ora-dg/templates/dbparametersfordg.j2 index aa23e2cace..43c968335b 100644 --- a/deploy/ansible/roles-db/4.1.3-ora-dg/templates/dbparametersfordg.j2 +++ b/deploy/ansible/roles-db/4.1.3-ora-dg/templates/dbparametersfordg.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} ALTER SYSTEM SET log_archive_dest_state_1='ENABLE' SCOPE=BOTH; ALTER SYSTEM SET log_archive_max_processes=2 SCOPE=BOTH; ALTER SYSTEM SET log_archive_min_succeed_dest=1 SCOPE=BOTH; diff --git a/deploy/ansible/roles-db/4.1.3-ora-dg/templates/dbtrigger.j2 b/deploy/ansible/roles-db/4.1.3-ora-dg/templates/dbtrigger.j2 index ca22464d73..1bc8a84ab0 100644 --- a/deploy/ansible/roles-db/4.1.3-ora-dg/templates/dbtrigger.j2 +++ b/deploy/ansible/roles-db/4.1.3-ora-dg/templates/dbtrigger.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} exec dbms_service.create_service(service_name=>'{{ db_sid | upper }}_HA',network_name=>'{{ db_sid | upper }}_HA'); exec dbms_service.start_service('{{ db_sid | upper }}_HA'); CREATE OR REPLACE TRIGGER {{ db_sid | lower }}_HA_SERVICE diff --git a/deploy/ansible/roles-db/4.1.3-ora-dg/templates/dgconfig.j2 b/deploy/ansible/roles-db/4.1.3-ora-dg/templates/dgconfig.j2 index 078ec7509d..bc720f55fa 100644 --- a/deploy/ansible/roles-db/4.1.3-ora-dg/templates/dgconfig.j2 +++ b/deploy/ansible/roles-db/4.1.3-ora-dg/templates/dgconfig.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} CREATE CONFIGURATION {{ db_sid | upper }}_dg_config AS PRIMARY DATABASE IS {{ db_sid | upper }} CONNECT IDENTIFIER IS {{ db_sid | upper }}; ADD DATABASE {{ db_sid | upper }}_STDBY AS CONNECT IDENTIFIER IS {{ db_sid | upper }}_STDBY MAINTAINED AS PHYSICAL; ENABLE CONFIGURATION diff --git a/deploy/ansible/roles-db/4.1.3-ora-dg/templates/enablefsfo.j2 b/deploy/ansible/roles-db/4.1.3-ora-dg/templates/enablefsfo.j2 index e32ab53661..5f95f7a419 100644 --- a/deploy/ansible/roles-db/4.1.3-ora-dg/templates/enablefsfo.j2 +++ b/deploy/ansible/roles-db/4.1.3-ora-dg/templates/enablefsfo.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} EDIT DATABASE {{ db_sid | upper }} SET PROPERTY LogXptMode='SYNC'; EDIT DATABASE {{ db_sid | upper }}_STDBY SET PROPERTY LogXptMode='SYNC'; EDIT DATABASE {{ db_sid | upper }} SET PROPERTY FastStartFailoverTarget ='{{ db_sid | upper }}_STDBY'; diff --git a/deploy/ansible/roles-db/4.1.3-ora-dg/templates/listener_primary.j2 b/deploy/ansible/roles-db/4.1.3-ora-dg/templates/listener_primary.j2 index 688d2497d5..2ba8955b52 100644 --- a/deploy/ansible/roles-db/4.1.3-ora-dg/templates/listener_primary.j2 +++ b/deploy/ansible/roles-db/4.1.3-ora-dg/templates/listener_primary.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} ################ # Filename......: listener.ora diff --git a/deploy/ansible/roles-db/4.1.3-ora-dg/templates/listener_secondary.j2 b/deploy/ansible/roles-db/4.1.3-ora-dg/templates/listener_secondary.j2 index f3ab67a7a1..dd491d3f8e 100644 --- a/deploy/ansible/roles-db/4.1.3-ora-dg/templates/listener_secondary.j2 +++ b/deploy/ansible/roles-db/4.1.3-ora-dg/templates/listener_secondary.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} ################ # Filename......: listener.ora diff --git a/deploy/ansible/roles-db/4.1.3-ora-dg/templates/rman-restore-asm.j2 b/deploy/ansible/roles-db/4.1.3-ora-dg/templates/rman-restore-asm.j2 index 709154db6a..f41262dfe5 100644 --- a/deploy/ansible/roles-db/4.1.3-ora-dg/templates/rman-restore-asm.j2 +++ b/deploy/ansible/roles-db/4.1.3-ora-dg/templates/rman-restore-asm.j2 @@ -1 +1,4 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} DUPLICATE TARGET DATABASE FOR STANDBY FROM ACTIVE DATABASE NOFILENAMECHECK; diff --git a/deploy/ansible/roles-db/4.1.3-ora-dg/templates/rman-restore.j2 b/deploy/ansible/roles-db/4.1.3-ora-dg/templates/rman-restore.j2 index 2b8ad7fc1e..ba79adbef5 100644 --- a/deploy/ansible/roles-db/4.1.3-ora-dg/templates/rman-restore.j2 +++ b/deploy/ansible/roles-db/4.1.3-ora-dg/templates/rman-restore.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} DUPLICATE TARGET DATABASE FOR STANDBY FROM ACTIVE DATABASE DORECOVER NOFILENAMECHECK; #NOFILENAMECHECK; #DUPLICATE TARGET DATABASE FOR STANDBY FROM ACTIVE DATABASE DORECOVER SPFILE SET db_unique_name='{{ db_sid | upper }}_STDBY' COMMENT 'Is standby' NOFILENAMECHECK; \ No newline at end of file diff --git a/deploy/ansible/roles-db/4.1.3-ora-dg/templates/secondary_log_apply_off.j2 b/deploy/ansible/roles-db/4.1.3-ora-dg/templates/secondary_log_apply_off.j2 index f5d53c977e..3ded75d879 100644 --- a/deploy/ansible/roles-db/4.1.3-ora-dg/templates/secondary_log_apply_off.j2 +++ b/deploy/ansible/roles-db/4.1.3-ora-dg/templates/secondary_log_apply_off.j2 @@ -1 +1,4 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} EDIT DATABASE {{ db_sid | upper }}_STDBY set state ='LOG-APPLY-OFF'; \ No newline at end of file diff --git a/deploy/ansible/roles-db/4.1.3-ora-dg/templates/secondary_log_apply_on.j2 b/deploy/ansible/roles-db/4.1.3-ora-dg/templates/secondary_log_apply_on.j2 index c04caa5ea1..88d7a09a94 100644 --- a/deploy/ansible/roles-db/4.1.3-ora-dg/templates/secondary_log_apply_on.j2 +++ b/deploy/ansible/roles-db/4.1.3-ora-dg/templates/secondary_log_apply_on.j2 @@ -1 +1,4 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} EDIT DATABASE {{ db_sid | upper }}_STDBY set state ='ONLINE'; \ No newline at end of file diff --git a/deploy/ansible/roles-db/4.1.3-ora-dg/templates/sqlnet.ora.j2 b/deploy/ansible/roles-db/4.1.3-ora-dg/templates/sqlnet.ora.j2 index f6d4557ec9..3360491490 100644 --- a/deploy/ansible/roles-db/4.1.3-ora-dg/templates/sqlnet.ora.j2 +++ b/deploy/ansible/roles-db/4.1.3-ora-dg/templates/sqlnet.ora.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} ################ # Filename......: sqlnet.ora # Created.......: created by SAP AG, R/3 Rel. >= 6.10 diff --git a/deploy/ansible/roles-db/4.1.3-ora-dg/templates/standbyredolog.j2 b/deploy/ansible/roles-db/4.1.3-ora-dg/templates/standbyredolog.j2 index 7b1e1fa84d..149b812556 100644 --- a/deploy/ansible/roles-db/4.1.3-ora-dg/templates/standbyredolog.j2 +++ b/deploy/ansible/roles-db/4.1.3-ora-dg/templates/standbyredolog.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} alter database rename file 'broken0' to '/oracle/{{ db_sid | upper }}/mirrlogA/log_g11m2.dbf'; alter database rename file 'broken1' to '/oracle/{{ db_sid | upper }}/origlogA/log_g11m1.dbf'; alter database rename file 'broken2' to '/oracle/{{ db_sid | upper }}/mirrlogB/log_g12m2.dbf'; diff --git a/deploy/ansible/roles-db/4.1.3-ora-dg/templates/tnsnames_primary.j2 b/deploy/ansible/roles-db/4.1.3-ora-dg/templates/tnsnames_primary.j2 index 8671f700cb..4d39ca1ab3 100644 --- a/deploy/ansible/roles-db/4.1.3-ora-dg/templates/tnsnames_primary.j2 +++ b/deploy/ansible/roles-db/4.1.3-ora-dg/templates/tnsnames_primary.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} ################ # Filename......: tnsnames.ora diff --git a/deploy/ansible/roles-db/4.1.3-ora-dg/templates/tnsnames_secondary.j2 b/deploy/ansible/roles-db/4.1.3-ora-dg/templates/tnsnames_secondary.j2 index f9559a1b82..88bb684680 100644 --- a/deploy/ansible/roles-db/4.1.3-ora-dg/templates/tnsnames_secondary.j2 +++ b/deploy/ansible/roles-db/4.1.3-ora-dg/templates/tnsnames_secondary.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} ################ # Filename......: tnsnames.ora # Created.......: created by SAP AG, R/3 Rel. >= 6.10 diff --git a/deploy/ansible/roles-db/4.1.3-ora-dg/templates/tnsnamesforsap.j2 b/deploy/ansible/roles-db/4.1.3-ora-dg/templates/tnsnamesforsap.j2 index ed9628cdc2..5b8414b539 100644 --- a/deploy/ansible/roles-db/4.1.3-ora-dg/templates/tnsnamesforsap.j2 +++ b/deploy/ansible/roles-db/4.1.3-ora-dg/templates/tnsnamesforsap.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} ################ # Filename......: tnsnames.ora # Created.......: created by SAP AG, R/3 Rel. >= 6.10 diff --git a/deploy/ansible/roles-db/4.1.3-ora-multi-sid/tasks/main.yaml b/deploy/ansible/roles-db/4.1.3-ora-multi-sid/tasks/main.yaml index 5d16c8175d..befd36bf46 100644 --- a/deploy/ansible/roles-db/4.1.3-ora-multi-sid/tasks/main.yaml +++ b/deploy/ansible/roles-db/4.1.3-ora-multi-sid/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Perform the Oracle Instance installation | diff --git a/deploy/ansible/roles-db/4.2.0-db2-install/tasks/4.2.0.0-prechecks.yml b/deploy/ansible/roles-db/4.2.0-db2-install/tasks/4.2.0.0-prechecks.yml index f0bad9dd2a..d419ef12b9 100644 --- a/deploy/ansible/roles-db/4.2.0-db2-install/tasks/4.2.0.0-prechecks.yml +++ b/deploy/ansible/roles-db/4.2.0-db2-install/tasks/4.2.0.0-prechecks.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # This playbook is used to check for issues identified in the system. # based on issues identified for other systems, check if any services are using diff --git a/deploy/ansible/roles-db/4.2.0-db2-install/tasks/main.yml b/deploy/ansible/roles-db/4.2.0-db2-install/tasks/main.yml index 2db1ca0f9b..4dfeab5905 100644 --- a/deploy/ansible/roles-db/4.2.0-db2-install/tasks/main.yml +++ b/deploy/ansible/roles-db/4.2.0-db2-install/tasks/main.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*-----------------------------------------------------------------------------------------------------8 # | | # | Perform the DB2 Instance installation | diff --git a/deploy/ansible/roles-db/4.2.0-db2-install/vars/main.yml b/deploy/ansible/roles-db/4.2.0-db2-install/vars/main.yml index 6bea321124..3e7c61e90a 100644 --- a/deploy/ansible/roles-db/4.2.0-db2-install/vars/main.yml +++ b/deploy/ansible/roles-db/4.2.0-db2-install/vars/main.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # Variables in this file are required by the role, but are computed from default variables (e.g. sid), diff --git a/deploy/ansible/roles-db/4.2.1-db2-hainstall/defaults/main.yaml b/deploy/ansible/roles-db/4.2.1-db2-hainstall/defaults/main.yaml index 494c6aaa7e..7adfd365c0 100644 --- a/deploy/ansible/roles-db/4.2.1-db2-hainstall/defaults/main.yaml +++ b/deploy/ansible/roles-db/4.2.1-db2-hainstall/defaults/main.yaml @@ -1,2 +1,5 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + db_virtual_hostname: "{{ sap_sid | lower }}{{ db_sid | lower }}db{{ db_instance_number }}cl" db_sid_backup_dir: "{{ target_media_location }}/db2backup/{{ db_sid | upper }}" diff --git a/deploy/ansible/roles-db/4.2.1-db2-hainstall/tasks/4.2.1.0-db2_ha_install_primary.yml b/deploy/ansible/roles-db/4.2.1-db2-hainstall/tasks/4.2.1.0-db2_ha_install_primary.yml index 539f6de680..434f4ad39a 100644 --- a/deploy/ansible/roles-db/4.2.1-db2-hainstall/tasks/4.2.1.0-db2_ha_install_primary.yml +++ b/deploy/ansible/roles-db/4.2.1-db2-hainstall/tasks/4.2.1.0-db2_ha_install_primary.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Perform the DB2 Instance installation | diff --git a/deploy/ansible/roles-db/4.2.1-db2-hainstall/tasks/4.2.1.1-db2_primary_backup.yml b/deploy/ansible/roles-db/4.2.1-db2-hainstall/tasks/4.2.1.1-db2_primary_backup.yml index b178d4c333..49a8efebb9 100644 --- a/deploy/ansible/roles-db/4.2.1-db2-hainstall/tasks/4.2.1.1-db2_primary_backup.yml +++ b/deploy/ansible/roles-db/4.2.1-db2-hainstall/tasks/4.2.1.1-db2_primary_backup.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8---------------------------------------------| # | | diff --git a/deploy/ansible/roles-db/4.2.1-db2-hainstall/tasks/4.2.1.2-db2_ha_install_secondary.yml b/deploy/ansible/roles-db/4.2.1-db2-hainstall/tasks/4.2.1.2-db2_ha_install_secondary.yml index 05582e2ddc..0d7abd97d2 100644 --- a/deploy/ansible/roles-db/4.2.1-db2-hainstall/tasks/4.2.1.2-db2_ha_install_secondary.yml +++ b/deploy/ansible/roles-db/4.2.1-db2-hainstall/tasks/4.2.1.2-db2_ha_install_secondary.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Perform the DB2 Instance installation | diff --git a/deploy/ansible/roles-db/4.2.1-db2-hainstall/tasks/4.2.1.3-db2_restore_secondary.yml b/deploy/ansible/roles-db/4.2.1-db2-hainstall/tasks/4.2.1.3-db2_restore_secondary.yml index f0eb0f3394..54ee0cc922 100644 --- a/deploy/ansible/roles-db/4.2.1-db2-hainstall/tasks/4.2.1.3-db2_restore_secondary.yml +++ b/deploy/ansible/roles-db/4.2.1-db2-hainstall/tasks/4.2.1.3-db2_restore_secondary.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | Restore the Standby/Secondary DB with Primary DB's Backup | # | | diff --git a/deploy/ansible/roles-db/4.2.1-db2-hainstall/tasks/4.2.1.4-db2_haparameters.yaml b/deploy/ansible/roles-db/4.2.1-db2-hainstall/tasks/4.2.1.4-db2_haparameters.yaml index 57ed0a7ec7..b3f5f31ddf 100644 --- a/deploy/ansible/roles-db/4.2.1-db2-hainstall/tasks/4.2.1.4-db2_haparameters.yaml +++ b/deploy/ansible/roles-db/4.2.1-db2-hainstall/tasks/4.2.1.4-db2_haparameters.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # ################### Setting DB2 HA parameters on Primary DB ######################### diff --git a/deploy/ansible/roles-db/4.2.1-db2-hainstall/tasks/4.2.1.5-db2_enable_hadr.yaml b/deploy/ansible/roles-db/4.2.1-db2-hainstall/tasks/4.2.1.5-db2_enable_hadr.yaml index 7d8f2468fc..1c6e740061 100644 --- a/deploy/ansible/roles-db/4.2.1-db2-hainstall/tasks/4.2.1.5-db2_enable_hadr.yaml +++ b/deploy/ansible/roles-db/4.2.1-db2-hainstall/tasks/4.2.1.5-db2_enable_hadr.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # ################### Activate Secondary DB as Standby at DB level ######################### diff --git a/deploy/ansible/roles-db/4.2.1-db2-hainstall/tasks/4.2.1.6-db2_post_install_checks.yaml b/deploy/ansible/roles-db/4.2.1-db2-hainstall/tasks/4.2.1.6-db2_post_install_checks.yaml index 3daf3a6a7c..3707361c44 100644 --- a/deploy/ansible/roles-db/4.2.1-db2-hainstall/tasks/4.2.1.6-db2_post_install_checks.yaml +++ b/deploy/ansible/roles-db/4.2.1-db2-hainstall/tasks/4.2.1.6-db2_post_install_checks.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- ########################### the playbook checks the status of replication in both primary and secondary instance##### diff --git a/deploy/ansible/roles-db/4.2.1-db2-hainstall/tasks/4.2.1.7-sap-profile-changes.yaml b/deploy/ansible/roles-db/4.2.1-db2-hainstall/tasks/4.2.1.7-sap-profile-changes.yaml index 74910f4ad5..239b2acdde 100644 --- a/deploy/ansible/roles-db/4.2.1-db2-hainstall/tasks/4.2.1.7-sap-profile-changes.yaml +++ b/deploy/ansible/roles-db/4.2.1-db2-hainstall/tasks/4.2.1.7-sap-profile-changes.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- ################################################################################################################# diff --git a/deploy/ansible/roles-db/4.2.1-db2-hainstall/tasks/4.2.1.8-db2_copy_keystore_files.yml b/deploy/ansible/roles-db/4.2.1-db2-hainstall/tasks/4.2.1.8-db2_copy_keystore_files.yml index 134df444ea..cda8ab7e5b 100644 --- a/deploy/ansible/roles-db/4.2.1-db2-hainstall/tasks/4.2.1.8-db2_copy_keystore_files.yml +++ b/deploy/ansible/roles-db/4.2.1-db2-hainstall/tasks/4.2.1.8-db2_copy_keystore_files.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*------------------------------------------------------------------------------------------------------------------------------------8 diff --git a/deploy/ansible/roles-db/4.2.1-db2-hainstall/tasks/4.2.1.9-db2_generate_distribute_ssl.yml b/deploy/ansible/roles-db/4.2.1-db2-hainstall/tasks/4.2.1.9-db2_generate_distribute_ssl.yml index b6548de8d9..1a33b9016b 100644 --- a/deploy/ansible/roles-db/4.2.1-db2-hainstall/tasks/4.2.1.9-db2_generate_distribute_ssl.yml +++ b/deploy/ansible/roles-db/4.2.1-db2-hainstall/tasks/4.2.1.9-db2_generate_distribute_ssl.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- - name: "DB2: variables for SSL certificate" ansible.builtin.set_fact: diff --git a/deploy/ansible/roles-db/4.2.1-db2-hainstall/tasks/main.yml b/deploy/ansible/roles-db/4.2.1-db2-hainstall/tasks/main.yml index 4e5458435a..b007cc16d3 100644 --- a/deploy/ansible/roles-db/4.2.1-db2-hainstall/tasks/main.yml +++ b/deploy/ansible/roles-db/4.2.1-db2-hainstall/tasks/main.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # -------------------------------------+---------------------------------------------------------------8 # DB2 - High Availabiliy Setup | # a. Install DB2 on Primary Server | diff --git a/deploy/ansible/roles-db/4.2.1-db2-hainstall/vars/main.yml b/deploy/ansible/roles-db/4.2.1-db2-hainstall/vars/main.yml index b52334e02e..6a5b6c977e 100644 --- a/deploy/ansible/roles-db/4.2.1-db2-hainstall/vars/main.yml +++ b/deploy/ansible/roles-db/4.2.1-db2-hainstall/vars/main.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # VARS file - TBC db_sid_backup_dir: "{{ target_media_location }}/db2backup" diff --git a/deploy/ansible/roles-db/4.3.0-ase-install/defaults/main.yaml b/deploy/ansible/roles-db/4.3.0-ase-install/defaults/main.yaml index 3a465f3b80..1610abab9d 100644 --- a/deploy/ansible/roles-db/4.3.0-ase-install/defaults/main.yaml +++ b/deploy/ansible/roles-db/4.3.0-ase-install/defaults/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Perform the Sybase ASE Software installation | diff --git a/deploy/ansible/roles-db/4.3.0-ase-install/tasks/4.3.0.1-check_db_installation.yml b/deploy/ansible/roles-db/4.3.0-ase-install/tasks/4.3.0.1-check_db_installation.yml index 57d71af0da..35f1078b59 100644 --- a/deploy/ansible/roles-db/4.3.0-ase-install/tasks/4.3.0.1-check_db_installation.yml +++ b/deploy/ansible/roles-db/4.3.0-ase-install/tasks/4.3.0.1-check_db_installation.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*-----------------------------------------------------------------------------------------------------8 # | | # | Check whether Sybase DB Instance has been installed or not | diff --git a/deploy/ansible/roles-db/4.3.0-ase-install/tasks/4.3.0.2-check_sap_users.yml b/deploy/ansible/roles-db/4.3.0-ase-install/tasks/4.3.0.2-check_sap_users.yml index da6ba57bbc..8c0f43286d 100644 --- a/deploy/ansible/roles-db/4.3.0-ase-install/tasks/4.3.0.2-check_sap_users.yml +++ b/deploy/ansible/roles-db/4.3.0-ase-install/tasks/4.3.0.2-check_sap_users.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Perform the Sybase ASE Software installation | diff --git a/deploy/ansible/roles-db/4.3.0-ase-install/tasks/4.3.0.3-create_install_directories.yml b/deploy/ansible/roles-db/4.3.0-ase-install/tasks/4.3.0.3-create_install_directories.yml index 305c6108cf..cf6c8efce0 100644 --- a/deploy/ansible/roles-db/4.3.0-ase-install/tasks/4.3.0.3-create_install_directories.yml +++ b/deploy/ansible/roles-db/4.3.0-ase-install/tasks/4.3.0.3-create_install_directories.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Perform the Sybase ASE Software installation | diff --git a/deploy/ansible/roles-db/4.3.0-ase-install/tasks/4.3.0.4-create_ini_file.yml b/deploy/ansible/roles-db/4.3.0-ase-install/tasks/4.3.0.4-create_ini_file.yml index 7ba5aa886c..2f5c628326 100644 --- a/deploy/ansible/roles-db/4.3.0-ase-install/tasks/4.3.0.4-create_ini_file.yml +++ b/deploy/ansible/roles-db/4.3.0-ase-install/tasks/4.3.0.4-create_ini_file.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Perform the Sybase ASE Software installation | diff --git a/deploy/ansible/roles-db/4.3.0-ase-install/tasks/4.3.0.5-install_db_instance.yml b/deploy/ansible/roles-db/4.3.0-ase-install/tasks/4.3.0.5-install_db_instance.yml index 033826db1d..619369a516 100644 --- a/deploy/ansible/roles-db/4.3.0-ase-install/tasks/4.3.0.5-install_db_instance.yml +++ b/deploy/ansible/roles-db/4.3.0-ase-install/tasks/4.3.0.5-install_db_instance.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*-----------------------------------------------------------------------------------------------------8 # | | # | Perform the Sybase DB Instance installation | diff --git a/deploy/ansible/roles-db/4.3.0-ase-install/tasks/4.3.0.6-cleanup_ini_file.yml b/deploy/ansible/roles-db/4.3.0-ase-install/tasks/4.3.0.6-cleanup_ini_file.yml index 407f9fb52f..2c3318c690 100644 --- a/deploy/ansible/roles-db/4.3.0-ase-install/tasks/4.3.0.6-cleanup_ini_file.yml +++ b/deploy/ansible/roles-db/4.3.0-ase-install/tasks/4.3.0.6-cleanup_ini_file.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Perform the Sybase ASE Software installation | diff --git a/deploy/ansible/roles-db/4.3.0-ase-install/tasks/main.yaml b/deploy/ansible/roles-db/4.3.0-ase-install/tasks/main.yaml index f64daae720..a997110fda 100644 --- a/deploy/ansible/roles-db/4.3.0-ase-install/tasks/main.yaml +++ b/deploy/ansible/roles-db/4.3.0-ase-install/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Perform the Sybase ASE Software installation | diff --git a/deploy/ansible/roles-db/windows/4.4.0-mssql-install/handlers/main.yaml b/deploy/ansible/roles-db/windows/4.4.0-mssql-install/handlers/main.yaml index 06c05f9dff..29d37045e7 100644 --- a/deploy/ansible/roles-db/windows/4.4.0-mssql-install/handlers/main.yaml +++ b/deploy/ansible/roles-db/windows/4.4.0-mssql-install/handlers/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- - name: "WIN-SQL: Restart SQL Server VM" diff --git a/deploy/ansible/roles-db/windows/4.4.0-mssql-install/tasks/4.4.0.0-mssql-prerequisites.yaml b/deploy/ansible/roles-db/windows/4.4.0-mssql-install/tasks/4.4.0.0-mssql-prerequisites.yaml index dfe4273c33..c74eca8c4f 100644 --- a/deploy/ansible/roles-db/windows/4.4.0-mssql-install/tasks/4.4.0.0-mssql-prerequisites.yaml +++ b/deploy/ansible/roles-db/windows/4.4.0-mssql-install/tasks/4.4.0.0-mssql-prerequisites.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Perform pre-requisites for MSSQL DB Instance installation | diff --git a/deploy/ansible/roles-db/windows/4.4.0-mssql-install/tasks/4.4.0.1-mssql-main.yaml b/deploy/ansible/roles-db/windows/4.4.0-mssql-install/tasks/4.4.0.1-mssql-main.yaml index 98b9c19db2..0302ccccec 100644 --- a/deploy/ansible/roles-db/windows/4.4.0-mssql-install/tasks/4.4.0.1-mssql-main.yaml +++ b/deploy/ansible/roles-db/windows/4.4.0-mssql-install/tasks/4.4.0.1-mssql-main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/roles-db/windows/4.4.0-mssql-install/tasks/4.4.1-mssql-create-DB.yaml b/deploy/ansible/roles-db/windows/4.4.0-mssql-install/tasks/4.4.1-mssql-create-DB.yaml index 1430de7a74..19889b5813 100644 --- a/deploy/ansible/roles-db/windows/4.4.0-mssql-install/tasks/4.4.1-mssql-create-DB.yaml +++ b/deploy/ansible/roles-db/windows/4.4.0-mssql-install/tasks/4.4.1-mssql-create-DB.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Perform DB Creation using PowerShell | diff --git a/deploy/ansible/roles-db/windows/4.4.0-mssql-install/tasks/4.4.1.0-mssql-alwayson-prerequisites.yaml b/deploy/ansible/roles-db/windows/4.4.0-mssql-install/tasks/4.4.1.0-mssql-alwayson-prerequisites.yaml index 1062c293f7..e3d3a64c99 100644 --- a/deploy/ansible/roles-db/windows/4.4.0-mssql-install/tasks/4.4.1.0-mssql-alwayson-prerequisites.yaml +++ b/deploy/ansible/roles-db/windows/4.4.0-mssql-install/tasks/4.4.1.0-mssql-alwayson-prerequisites.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # +------------------------------------4--------------------------------------*/ - name: "WIN-SQL: Ensure DSC modules are installed" diff --git a/deploy/ansible/roles-db/windows/4.4.0-mssql-install/tasks/4.4.1.1-mssql-alwayson-config.yaml b/deploy/ansible/roles-db/windows/4.4.0-mssql-install/tasks/4.4.1.1-mssql-alwayson-config.yaml index 5afa0f2b92..15d33aee0c 100644 --- a/deploy/ansible/roles-db/windows/4.4.0-mssql-install/tasks/4.4.1.1-mssql-alwayson-config.yaml +++ b/deploy/ansible/roles-db/windows/4.4.0-mssql-install/tasks/4.4.1.1-mssql-alwayson-config.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # +------------------------------------4--------------------------------------*/ diff --git a/deploy/ansible/roles-db/windows/4.4.0-mssql-install/tasks/main.yaml b/deploy/ansible/roles-db/windows/4.4.0-mssql-install/tasks/main.yaml index 3fa4b0d70b..cdeadfed6f 100644 --- a/deploy/ansible/roles-db/windows/4.4.0-mssql-install/tasks/main.yaml +++ b/deploy/ansible/roles-db/windows/4.4.0-mssql-install/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- - name: "WIN-SQL: Print Tier information" diff --git a/deploy/ansible/roles-db/windows/4.4.0-mssql-install/templates/MYSQL_v1_DB_Creation.j2 b/deploy/ansible/roles-db/windows/4.4.0-mssql-install/templates/MYSQL_v1_DB_Creation.j2 index e69de29bb2..a20260283c 100644 --- a/deploy/ansible/roles-db/windows/4.4.0-mssql-install/templates/MYSQL_v1_DB_Creation.j2 +++ b/deploy/ansible/roles-db/windows/4.4.0-mssql-install/templates/MYSQL_v1_DB_Creation.j2 @@ -0,0 +1,3 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} diff --git a/deploy/ansible/roles-db/windows/4.4.0-mssql-install/templates/Set-AzLBHealthProbeSQL.j2 b/deploy/ansible/roles-db/windows/4.4.0-mssql-install/templates/Set-AzLBHealthProbeSQL.j2 index 1afa18ada0..fdec08a8bc 100644 --- a/deploy/ansible/roles-db/windows/4.4.0-mssql-install/templates/Set-AzLBHealthProbeSQL.j2 +++ b/deploy/ansible/roles-db/windows/4.4.0-mssql-install/templates/Set-AzLBHealthProbeSQL.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} function Set-DatabaseHealthProbe { param ( [Parameter(Mandatory = $true)] diff --git a/deploy/ansible/roles-db/windows/4.4.0-mssql-install/templates/sql_disks.j2 b/deploy/ansible/roles-db/windows/4.4.0-mssql-install/templates/sql_disks.j2 index a9c62eefab..04642c7782 100644 --- a/deploy/ansible/roles-db/windows/4.4.0-mssql-install/templates/sql_disks.j2 +++ b/deploy/ansible/roles-db/windows/4.4.0-mssql-install/templates/sql_disks.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} {% set sql_disks = [] %} {% set sql_data_disks_names = [] %} {% set sql_log_disks_names = [] %} diff --git a/deploy/ansible/roles-misc/0.0-tester/defaults/main.yaml b/deploy/ansible/roles-misc/0.0-tester/defaults/main.yaml index b47d700444..dd5adb6ac7 100644 --- a/deploy/ansible/roles-misc/0.0-tester/defaults/main.yaml +++ b/deploy/ansible/roles-misc/0.0-tester/defaults/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | HANA utility commands | # +------------------------------------4--------------------------------------*/ diff --git a/deploy/ansible/roles-misc/0.0-tester/tasks/main.yaml b/deploy/ansible/roles-misc/0.0-tester/tasks/main.yaml index 30c7a0f0cf..2a4d73388c 100644 --- a/deploy/ansible/roles-misc/0.0-tester/tasks/main.yaml +++ b/deploy/ansible/roles-misc/0.0-tester/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- - name: "Load the disk configuration settings" diff --git a/deploy/ansible/roles-misc/0.0-tester/templates/sql_disks.j2 b/deploy/ansible/roles-misc/0.0-tester/templates/sql_disks.j2 index 1251beb3c6..d141ba231f 100644 --- a/deploy/ansible/roles-misc/0.0-tester/templates/sql_disks.j2 +++ b/deploy/ansible/roles-misc/0.0-tester/templates/sql_disks.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} {% set sql_disks = [] %} {% set sql_data_disks_names = [] %} {% set sql_log_disks_names = [] %} diff --git a/deploy/ansible/roles-misc/0.1-passwords/tasks/0.1.1-ha_clusterpasswords.yaml b/deploy/ansible/roles-misc/0.1-passwords/tasks/0.1.1-ha_clusterpasswords.yaml index 8bdbf3846e..57e248f691 100644 --- a/deploy/ansible/roles-misc/0.1-passwords/tasks/0.1.1-ha_clusterpasswords.yaml +++ b/deploy/ansible/roles-misc/0.1-passwords/tasks/0.1.1-ha_clusterpasswords.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/roles-misc/0.1-passwords/tasks/main.yaml b/deploy/ansible/roles-misc/0.1-passwords/tasks/main.yaml index 2cad66325d..dff63a80a7 100644 --- a/deploy/ansible/roles-misc/0.1-passwords/tasks/main.yaml +++ b/deploy/ansible/roles-misc/0.1-passwords/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/roles-misc/0.1-passwords/tasks/windows.yaml b/deploy/ansible/roles-misc/0.1-passwords/tasks/windows.yaml index edee3125cc..a2512e29ea 100644 --- a/deploy/ansible/roles-misc/0.1-passwords/tasks/windows.yaml +++ b/deploy/ansible/roles-misc/0.1-passwords/tasks/windows.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/roles-misc/0.2-kv-secrets/tasks/fencing.yaml b/deploy/ansible/roles-misc/0.2-kv-secrets/tasks/fencing.yaml index e509307f97..b0458677d3 100644 --- a/deploy/ansible/roles-misc/0.2-kv-secrets/tasks/fencing.yaml +++ b/deploy/ansible/roles-misc/0.2-kv-secrets/tasks/fencing.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Key Vault helpers - fencing | diff --git a/deploy/ansible/roles-misc/0.2-kv-secrets/tasks/main.yaml b/deploy/ansible/roles-misc/0.2-kv-secrets/tasks/main.yaml index fd3334d8a3..75bb231db6 100644 --- a/deploy/ansible/roles-misc/0.2-kv-secrets/tasks/main.yaml +++ b/deploy/ansible/roles-misc/0.2-kv-secrets/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Key Vault helpers | diff --git a/deploy/ansible/roles-misc/0.2-kv-secrets/tasks/s_user.yaml b/deploy/ansible/roles-misc/0.2-kv-secrets/tasks/s_user.yaml index 1a7e8732c0..d809df0eee 100644 --- a/deploy/ansible/roles-misc/0.2-kv-secrets/tasks/s_user.yaml +++ b/deploy/ansible/roles-misc/0.2-kv-secrets/tasks/s_user.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/roles-misc/0.2-kv-secrets/tasks/wincluster-witness.yaml b/deploy/ansible/roles-misc/0.2-kv-secrets/tasks/wincluster-witness.yaml index 2af7124e8e..181a3863a8 100644 --- a/deploy/ansible/roles-misc/0.2-kv-secrets/tasks/wincluster-witness.yaml +++ b/deploy/ansible/roles-misc/0.2-kv-secrets/tasks/wincluster-witness.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Key Vault helpers - fencing | diff --git a/deploy/ansible/roles-misc/0.3.sap-installation-media-storage-details/tasks/main.yaml b/deploy/ansible/roles-misc/0.3.sap-installation-media-storage-details/tasks/main.yaml index 861f1b5fde..8a697ea4c7 100644 --- a/deploy/ansible/roles-misc/0.3.sap-installation-media-storage-details/tasks/main.yaml +++ b/deploy/ansible/roles-misc/0.3.sap-installation-media-storage-details/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Storage account helpers | diff --git a/deploy/ansible/roles-misc/0.4-helpers/defaults/main.yaml b/deploy/ansible/roles-misc/0.4-helpers/defaults/main.yaml index 2839aa78fd..0b66e9b68d 100644 --- a/deploy/ansible/roles-misc/0.4-helpers/defaults/main.yaml +++ b/deploy/ansible/roles-misc/0.4-helpers/defaults/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | HANA utility commands | # +------------------------------------4--------------------------------------*/ diff --git a/deploy/ansible/roles-misc/0.4-helpers/tasks/04.01-start_hana.yml b/deploy/ansible/roles-misc/0.4-helpers/tasks/04.01-start_hana.yml index 2d566358b7..53e564a049 100644 --- a/deploy/ansible/roles-misc/0.4-helpers/tasks/04.01-start_hana.yml +++ b/deploy/ansible/roles-misc/0.4-helpers/tasks/04.01-start_hana.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # sapcontrol EXITCODES diff --git a/deploy/ansible/roles-misc/0.4-helpers/tasks/04.02-stop_hana.yml b/deploy/ansible/roles-misc/0.4-helpers/tasks/04.02-stop_hana.yml index a4c0258d62..8f53db5c4c 100644 --- a/deploy/ansible/roles-misc/0.4-helpers/tasks/04.02-stop_hana.yml +++ b/deploy/ansible/roles-misc/0.4-helpers/tasks/04.02-stop_hana.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # sapcontrol EXITCODES diff --git a/deploy/ansible/roles-misc/0.4-helpers/vars/main.yml b/deploy/ansible/roles-misc/0.4-helpers/vars/main.yml index dcb7c3044d..ee31111315 100644 --- a/deploy/ansible/roles-misc/0.4-helpers/vars/main.yml +++ b/deploy/ansible/roles-misc/0.4-helpers/vars/main.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- diff --git a/deploy/ansible/roles-misc/0.5-ACSS-registration/defaults/main.yaml b/deploy/ansible/roles-misc/0.5-ACSS-registration/defaults/main.yaml index a089096602..9c7a46a08e 100644 --- a/deploy/ansible/roles-misc/0.5-ACSS-registration/defaults/main.yaml +++ b/deploy/ansible/roles-misc/0.5-ACSS-registration/defaults/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # TODO: Maybe move these to a group_vars/all/distro file so that they # can be shared by all playbooks/tasks automatically, and extend with diff --git a/deploy/ansible/roles-misc/0.5-ACSS-registration/tasks/0.5.1-set-runtime-parameters.yaml b/deploy/ansible/roles-misc/0.5-ACSS-registration/tasks/0.5.1-set-runtime-parameters.yaml index d503f2e018..9fc28c109b 100644 --- a/deploy/ansible/roles-misc/0.5-ACSS-registration/tasks/0.5.1-set-runtime-parameters.yaml +++ b/deploy/ansible/roles-misc/0.5-ACSS-registration/tasks/0.5.1-set-runtime-parameters.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 diff --git a/deploy/ansible/roles-misc/0.5-ACSS-registration/tasks/main.yaml b/deploy/ansible/roles-misc/0.5-ACSS-registration/tasks/main.yaml index bcdfc0f593..b44540acc9 100644 --- a/deploy/ansible/roles-misc/0.5-ACSS-registration/tasks/main.yaml +++ b/deploy/ansible/roles-misc/0.5-ACSS-registration/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # Validate that the SCS cluster is working as expected diff --git a/deploy/ansible/roles-misc/0.6-ARM-Deployment/tasks/main.yaml b/deploy/ansible/roles-misc/0.6-ARM-Deployment/tasks/main.yaml index 907938df0a..25685e5a7a 100644 --- a/deploy/ansible/roles-misc/0.6-ARM-Deployment/tasks/main.yaml +++ b/deploy/ansible/roles-misc/0.6-ARM-Deployment/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + - name: "SDAF: Check if running on deployer" delegate_to: localhost become: false diff --git a/deploy/ansible/roles-misc/0.7-VmAgentActions/tasks/main.yaml b/deploy/ansible/roles-misc/0.7-VmAgentActions/tasks/main.yaml index bb309711d8..87b5cdea6f 100644 --- a/deploy/ansible/roles-misc/0.7-VmAgentActions/tasks/main.yaml +++ b/deploy/ansible/roles-misc/0.7-VmAgentActions/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- ###################################################################################################### diff --git a/deploy/ansible/roles-misc/0.8-ams-providers/defaults/main.yaml b/deploy/ansible/roles-misc/0.8-ams-providers/defaults/main.yaml index c5ee2f8e8e..1890afe0ae 100644 --- a/deploy/ansible/roles-misc/0.8-ams-providers/defaults/main.yaml +++ b/deploy/ansible/roles-misc/0.8-ams-providers/defaults/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # TODO: Maybe move these to a group_vars/all/distro file so that they # can be shared by all playbooks/tasks automatically, and extend with diff --git a/deploy/ansible/roles-misc/0.8-ams-providers/tasks/0.8.1-set-runtime-parameters.yaml b/deploy/ansible/roles-misc/0.8-ams-providers/tasks/0.8.1-set-runtime-parameters.yaml index e0e686afaa..8312cb2e96 100644 --- a/deploy/ansible/roles-misc/0.8-ams-providers/tasks/0.8.1-set-runtime-parameters.yaml +++ b/deploy/ansible/roles-misc/0.8-ams-providers/tasks/0.8.1-set-runtime-parameters.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/roles-misc/0.8-ams-providers/tasks/main.yaml b/deploy/ansible/roles-misc/0.8-ams-providers/tasks/main.yaml index 75016b6b98..d8387ef285 100644 --- a/deploy/ansible/roles-misc/0.8-ams-providers/tasks/main.yaml +++ b/deploy/ansible/roles-misc/0.8-ams-providers/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- - name: "0.8.1 ams provider creation: - Set Python version {{ distribution_id }}" diff --git a/deploy/ansible/roles-misc/0.9-sap-on-azure-quality-checks/tasks/run_check.yaml b/deploy/ansible/roles-misc/0.9-sap-on-azure-quality-checks/tasks/run_check.yaml index d3b39779b5..82cf7945ae 100644 --- a/deploy/ansible/roles-misc/0.9-sap-on-azure-quality-checks/tasks/run_check.yaml +++ b/deploy/ansible/roles-misc/0.9-sap-on-azure-quality-checks/tasks/run_check.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Run quality check | diff --git a/deploy/ansible/roles-misc/0.9-sap-on-azure-quality-checks/tasks/setup.yaml b/deploy/ansible/roles-misc/0.9-sap-on-azure-quality-checks/tasks/setup.yaml index 5f745c8d8d..186a71a8de 100644 --- a/deploy/ansible/roles-misc/0.9-sap-on-azure-quality-checks/tasks/setup.yaml +++ b/deploy/ansible/roles-misc/0.9-sap-on-azure-quality-checks/tasks/setup.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Setup quality check prerequisites | diff --git a/deploy/ansible/roles-misc/0.9-sap-on-azure-quality-checks/vars/main.yaml b/deploy/ansible/roles-misc/0.9-sap-on-azure-quality-checks/vars/main.yaml index ce6e23c1f9..30ea0942f5 100644 --- a/deploy/ansible/roles-misc/0.9-sap-on-azure-quality-checks/vars/main.yaml +++ b/deploy/ansible/roles-misc/0.9-sap-on-azure-quality-checks/vars/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + azure_utility_repo: https://raw.githubusercontent.com/Azure/SAP-on-Azure-Scripts-and-Utilities powershell_version: 7.3.12 diff --git a/deploy/ansible/roles-os/1.0-sudoers/tasks/main.yaml b/deploy/ansible/roles-os/1.0-sudoers/tasks/main.yaml index 2daafe0a04..2e68fde90c 100644 --- a/deploy/ansible/roles-os/1.0-sudoers/tasks/main.yaml +++ b/deploy/ansible/roles-os/1.0-sudoers/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # ----------------------------------------------------------------------------- # # Task: 1.0 - Enable logging for sudo diff --git a/deploy/ansible/roles-os/1.1-swap/defaults/main.yaml b/deploy/ansible/roles-os/1.1-swap/defaults/main.yaml index 199a68459e..39a2e3707f 100644 --- a/deploy/ansible/roles-os/1.1-swap/defaults/main.yaml +++ b/deploy/ansible/roles-os/1.1-swap/defaults/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # TODO: Maybe move these to a group_vars/all/distro file so that they # can be shared by all playbooks/tasks automatically, and extend with diff --git a/deploy/ansible/roles-os/1.1-swap/handlers/main.yaml b/deploy/ansible/roles-os/1.1-swap/handlers/main.yaml index e0849b5d3d..0b8b2de649 100644 --- a/deploy/ansible/roles-os/1.1-swap/handlers/main.yaml +++ b/deploy/ansible/roles-os/1.1-swap/handlers/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # --- - name: Restart waagent diff --git a/deploy/ansible/roles-os/1.1-swap/tasks/main.yaml b/deploy/ansible/roles-os/1.1-swap/tasks/main.yaml index 32b277b231..d50fe825f0 100644 --- a/deploy/ansible/roles-os/1.1-swap/tasks/main.yaml +++ b/deploy/ansible/roles-os/1.1-swap/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*----------------------------------------------------------------------------8 # | | # | Role for ensuring the swap space is configured correctly | diff --git a/deploy/ansible/roles-os/1.1-swap/templates/swap.j2 b/deploy/ansible/roles-os/1.1-swap/templates/swap.j2 index 1e52859c86..892b498aa1 100644 --- a/deploy/ansible/roles-os/1.1-swap/templates/swap.j2 +++ b/deploy/ansible/roles-os/1.1-swap/templates/swap.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} #!/bin/sh dd if=/dev/zero of=/mnt/swapfile bs=1M count={{ swap_size_mb }} chmod 600 /mnt/swapfile diff --git a/deploy/ansible/roles-os/1.10-networking/defaults/main.yml b/deploy/ansible/roles-os/1.10-networking/defaults/main.yml index 4e6e720f4f..94a2ca40be 100644 --- a/deploy/ansible/roles-os/1.10-networking/defaults/main.yml +++ b/deploy/ansible/roles-os/1.10-networking/defaults/main.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- distro_name: "{{ ansible_distribution | upper }}-{{ ansible_distribution_major_version }}" distribution_id: "{{ ansible_distribution | lower ~ ansible_distribution_major_version }}" diff --git a/deploy/ansible/roles-os/1.10-networking/tasks/main.yaml b/deploy/ansible/roles-os/1.10-networking/tasks/main.yaml index fc5c7c27d7..6ac42af3d3 100644 --- a/deploy/ansible/roles-os/1.10-networking/tasks/main.yaml +++ b/deploy/ansible/roles-os/1.10-networking/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Add 2nd IP addresses to a VM operating system in RHEL | diff --git a/deploy/ansible/roles-os/1.10-networking/templates/azure_interfaces.j2 b/deploy/ansible/roles-os/1.10-networking/templates/azure_interfaces.j2 index a04ae85f8b..98f1c95197 100644 --- a/deploy/ansible/roles-os/1.10-networking/templates/azure_interfaces.j2 +++ b/deploy/ansible/roles-os/1.10-networking/templates/azure_interfaces.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} {%- set _interfaces = [] -%} {%- for interface in azure_network_metadata.json -%} {%- set _interface_name = "eth" + loop.index0|string -%} diff --git a/deploy/ansible/roles-os/1.11-accounts/defaults/main.yml b/deploy/ansible/roles-os/1.11-accounts/defaults/main.yml index a2064296b2..b28d2c85c8 100644 --- a/deploy/ansible/roles-os/1.11-accounts/defaults/main.yml +++ b/deploy/ansible/roles-os/1.11-accounts/defaults/main.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*-----------------------------------4---------------------------------------8 # | | diff --git a/deploy/ansible/roles-os/1.11-accounts/tasks/main.yml b/deploy/ansible/roles-os/1.11-accounts/tasks/main.yml index 6c9eb19529..f3f02e335d 100644 --- a/deploy/ansible/roles-os/1.11-accounts/tasks/main.yml +++ b/deploy/ansible/roles-os/1.11-accounts/tasks/main.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/roles-os/1.11-accounts/tasks/setup_hanausers_sudoers.yml b/deploy/ansible/roles-os/1.11-accounts/tasks/setup_hanausers_sudoers.yml index 6cca354217..96ccdb8679 100644 --- a/deploy/ansible/roles-os/1.11-accounts/tasks/setup_hanausers_sudoers.yml +++ b/deploy/ansible/roles-os/1.11-accounts/tasks/setup_hanausers_sudoers.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/roles-os/1.11-accounts/tasks/setup_user_sudoers.yml b/deploy/ansible/roles-os/1.11-accounts/tasks/setup_user_sudoers.yml index bcf1f0af86..483ce2402d 100644 --- a/deploy/ansible/roles-os/1.11-accounts/tasks/setup_user_sudoers.yml +++ b/deploy/ansible/roles-os/1.11-accounts/tasks/setup_user_sudoers.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/roles-os/1.11-accounts/templates/sudoers_admin_no_password.j2 b/deploy/ansible/roles-os/1.11-accounts/templates/sudoers_admin_no_password.j2 index 785d8f8e86..3d26fff702 100644 --- a/deploy/ansible/roles-os/1.11-accounts/templates/sudoers_admin_no_password.j2 +++ b/deploy/ansible/roles-os/1.11-accounts/templates/sudoers_admin_no_password.j2 @@ -1,2 +1,5 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} # User rules for {{ sudoers_user }} with role {{ sudoers_role }} {{ sudoers_user }} ALL=(ALL) NOPASSWD:ALL diff --git a/deploy/ansible/roles-os/1.11-accounts/templates/sudoers_admin_password_required.j2 b/deploy/ansible/roles-os/1.11-accounts/templates/sudoers_admin_password_required.j2 index 8034c738e5..c68f11440d 100644 --- a/deploy/ansible/roles-os/1.11-accounts/templates/sudoers_admin_password_required.j2 +++ b/deploy/ansible/roles-os/1.11-accounts/templates/sudoers_admin_password_required.j2 @@ -1,2 +1,5 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} # User rules for {{ sudoers_user }} with role {{ sudoers_role }} {{ sudoers_user }} ALL=(ALL) PASSWD:ALL diff --git a/deploy/ansible/roles-os/1.11-accounts/templates/sudoers_hanaadmin_no_password.j2 b/deploy/ansible/roles-os/1.11-accounts/templates/sudoers_hanaadmin_no_password.j2 index 9e07a452ca..2ac9ddced9 100644 --- a/deploy/ansible/roles-os/1.11-accounts/templates/sudoers_hanaadmin_no_password.j2 +++ b/deploy/ansible/roles-os/1.11-accounts/templates/sudoers_hanaadmin_no_password.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} # User rules for {{ hanasudoers_file }} with role {{ hanasudoers_role }} Cmnd_Alias SITEA_SOK = /usr/sbin/crm_attribute -n hana_{{ db_sid | lower }}_site_srHook_SITEA -v SOK -t crm_config -s SAPHanaSR diff --git a/deploy/ansible/roles-os/1.11-accounts/templates/sudoers_hanaadmin_no_password_SUSE.j2 b/deploy/ansible/roles-os/1.11-accounts/templates/sudoers_hanaadmin_no_password_SUSE.j2 index 3138ce45ad..7daec0fa67 100644 --- a/deploy/ansible/roles-os/1.11-accounts/templates/sudoers_hanaadmin_no_password_SUSE.j2 +++ b/deploy/ansible/roles-os/1.11-accounts/templates/sudoers_hanaadmin_no_password_SUSE.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} # User rules for {{ hanasudoers_file }} with role {{ hanasudoers_role }} {{ db_sid | lower }}adm ALL=(ALL) NOPASSWD: /usr/sbin/crm_attribute -n hana_{{ db_sid | lower }}_site_srHook_* diff --git a/deploy/ansible/roles-os/1.11-accounts/vars/sudoers_default.yml b/deploy/ansible/roles-os/1.11-accounts/vars/sudoers_default.yml index d83464a97b..a941352efc 100644 --- a/deploy/ansible/roles-os/1.11-accounts/vars/sudoers_default.yml +++ b/deploy/ansible/roles-os/1.11-accounts/vars/sudoers_default.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # -------------------------------------+---------------------------------------8 # diff --git a/deploy/ansible/roles-os/1.13-MOTD/handlers/main.yaml b/deploy/ansible/roles-os/1.13-MOTD/handlers/main.yaml index ad1af5c021..e0510d3ae1 100644 --- a/deploy/ansible/roles-os/1.13-MOTD/handlers/main.yaml +++ b/deploy/ansible/roles-os/1.13-MOTD/handlers/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + - name: "restart sshd service" become: true ansible.builtin.service: diff --git a/deploy/ansible/roles-os/1.13-MOTD/tasks/main.yaml b/deploy/ansible/roles-os/1.13-MOTD/tasks/main.yaml index 364bda3207..53e2fe07de 100644 --- a/deploy/ansible/roles-os/1.13-MOTD/tasks/main.yaml +++ b/deploy/ansible/roles-os/1.13-MOTD/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Role used to set motd, issue and issue.net banners | diff --git a/deploy/ansible/roles-os/1.16-services/defaults/main.yaml b/deploy/ansible/roles-os/1.16-services/defaults/main.yaml index c4f3818d2e..9c4fe10257 100644 --- a/deploy/ansible/roles-os/1.16-services/defaults/main.yaml +++ b/deploy/ansible/roles-os/1.16-services/defaults/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # TODO: Maybe move these to a group_vars/all/distro file so that they # can be shared by all playbooks/tasks automatically, and extend with diff --git a/deploy/ansible/roles-os/1.16-services/tasks/main.yaml b/deploy/ansible/roles-os/1.16-services/tasks/main.yaml index 98bb3f3ac6..7fb50d113a 100644 --- a/deploy/ansible/roles-os/1.16-services/tasks/main.yaml +++ b/deploy/ansible/roles-os/1.16-services/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/roles-os/1.16-services/vars/os-services.yaml b/deploy/ansible/roles-os/1.16-services/vars/os-services.yaml index 02f41f4f98..3adbd648f7 100644 --- a/deploy/ansible/roles-os/1.16-services/vars/os-services.yaml +++ b/deploy/ansible/roles-os/1.16-services/vars/os-services.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/roles-os/1.17-generic-pacemaker/defaults/main.yml b/deploy/ansible/roles-os/1.17-generic-pacemaker/defaults/main.yml index 199a68459e..39a2e3707f 100644 --- a/deploy/ansible/roles-os/1.17-generic-pacemaker/defaults/main.yml +++ b/deploy/ansible/roles-os/1.17-generic-pacemaker/defaults/main.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # TODO: Maybe move these to a group_vars/all/distro file so that they # can be shared by all playbooks/tasks automatically, and extend with diff --git a/deploy/ansible/roles-os/1.17-generic-pacemaker/tasks/1.17.0-set_runtime_facts.yml b/deploy/ansible/roles-os/1.17-generic-pacemaker/tasks/1.17.0-set_runtime_facts.yml index d7614f980b..a69a2b1723 100644 --- a/deploy/ansible/roles-os/1.17-generic-pacemaker/tasks/1.17.0-set_runtime_facts.yml +++ b/deploy/ansible/roles-os/1.17-generic-pacemaker/tasks/1.17.0-set_runtime_facts.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 diff --git a/deploy/ansible/roles-os/1.17-generic-pacemaker/tasks/1.17.1-pre_checks.yml b/deploy/ansible/roles-os/1.17-generic-pacemaker/tasks/1.17.1-pre_checks.yml index d7e688237e..9cbbe22cda 100644 --- a/deploy/ansible/roles-os/1.17-generic-pacemaker/tasks/1.17.1-pre_checks.yml +++ b/deploy/ansible/roles-os/1.17-generic-pacemaker/tasks/1.17.1-pre_checks.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/roles-os/1.17-generic-pacemaker/tasks/1.17.1.1-iSCSI.yml b/deploy/ansible/roles-os/1.17-generic-pacemaker/tasks/1.17.1.1-iSCSI.yml index ecdbe10b6c..5c8ed3fe05 100644 --- a/deploy/ansible/roles-os/1.17-generic-pacemaker/tasks/1.17.1.1-iSCSI.yml +++ b/deploy/ansible/roles-os/1.17-generic-pacemaker/tasks/1.17.1.1-iSCSI.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/roles-os/1.17-generic-pacemaker/tasks/1.17.1.2-sbd.yaml b/deploy/ansible/roles-os/1.17-generic-pacemaker/tasks/1.17.1.2-sbd.yaml index 5096ec160c..52647acb78 100644 --- a/deploy/ansible/roles-os/1.17-generic-pacemaker/tasks/1.17.1.2-sbd.yaml +++ b/deploy/ansible/roles-os/1.17-generic-pacemaker/tasks/1.17.1.2-sbd.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/roles-os/1.17-generic-pacemaker/tasks/1.17.1.3-sbd-deviceUpdate.yaml b/deploy/ansible/roles-os/1.17-generic-pacemaker/tasks/1.17.1.3-sbd-deviceUpdate.yaml index d2b17a645d..f356a8d482 100644 --- a/deploy/ansible/roles-os/1.17-generic-pacemaker/tasks/1.17.1.3-sbd-deviceUpdate.yaml +++ b/deploy/ansible/roles-os/1.17-generic-pacemaker/tasks/1.17.1.3-sbd-deviceUpdate.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- - name: "Update Device Info: Parameters to be used..." diff --git a/deploy/ansible/roles-os/1.17-generic-pacemaker/tasks/1.17.2-provision.yml b/deploy/ansible/roles-os/1.17-generic-pacemaker/tasks/1.17.2-provision.yml index 4ede274714..30b2e3b7db 100644 --- a/deploy/ansible/roles-os/1.17-generic-pacemaker/tasks/1.17.2-provision.yml +++ b/deploy/ansible/roles-os/1.17-generic-pacemaker/tasks/1.17.2-provision.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/roles-os/1.17-generic-pacemaker/tasks/1.17.2.0-cluster-RedHat.yml b/deploy/ansible/roles-os/1.17-generic-pacemaker/tasks/1.17.2.0-cluster-RedHat.yml index 1030399880..b81ce79d06 100644 --- a/deploy/ansible/roles-os/1.17-generic-pacemaker/tasks/1.17.2.0-cluster-RedHat.yml +++ b/deploy/ansible/roles-os/1.17-generic-pacemaker/tasks/1.17.2.0-cluster-RedHat.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- diff --git a/deploy/ansible/roles-os/1.17-generic-pacemaker/tasks/1.17.2.0-cluster-Suse.yml b/deploy/ansible/roles-os/1.17-generic-pacemaker/tasks/1.17.2.0-cluster-Suse.yml index 7759e6911f..f8a2517d44 100644 --- a/deploy/ansible/roles-os/1.17-generic-pacemaker/tasks/1.17.2.0-cluster-Suse.yml +++ b/deploy/ansible/roles-os/1.17-generic-pacemaker/tasks/1.17.2.0-cluster-Suse.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # SLES Clustering diff --git a/deploy/ansible/roles-os/1.17-generic-pacemaker/tasks/1.17.3-post_provision_report.yml b/deploy/ansible/roles-os/1.17-generic-pacemaker/tasks/1.17.3-post_provision_report.yml index 9f085f5c43..5f96f0a45d 100644 --- a/deploy/ansible/roles-os/1.17-generic-pacemaker/tasks/1.17.3-post_provision_report.yml +++ b/deploy/ansible/roles-os/1.17-generic-pacemaker/tasks/1.17.3-post_provision_report.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- - name: "1.17 Generic Pacemaker - Pause to give cluster time to stabilize" diff --git a/deploy/ansible/roles-os/1.17-generic-pacemaker/tasks/main.yml b/deploy/ansible/roles-os/1.17-generic-pacemaker/tasks/main.yml index d06ff83828..7a001f3c5d 100644 --- a/deploy/ansible/roles-os/1.17-generic-pacemaker/tasks/main.yml +++ b/deploy/ansible/roles-os/1.17-generic-pacemaker/tasks/main.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/roles-os/1.17-generic-pacemaker/templates/corosync.conf.j2 b/deploy/ansible/roles-os/1.17-generic-pacemaker/templates/corosync.conf.j2 index 880087f679..869a6430bf 100644 --- a/deploy/ansible/roles-os/1.17-generic-pacemaker/templates/corosync.conf.j2 +++ b/deploy/ansible/roles-os/1.17-generic-pacemaker/templates/corosync.conf.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} # Please read the corosync.conf.5 manual page totem { diff --git a/deploy/ansible/roles-os/1.17-generic-pacemaker/vars/main.yml b/deploy/ansible/roles-os/1.17-generic-pacemaker/vars/main.yml index 5e919a470a..6cc07201be 100644 --- a/deploy/ansible/roles-os/1.17-generic-pacemaker/vars/main.yml +++ b/deploy/ansible/roles-os/1.17-generic-pacemaker/vars/main.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 diff --git a/deploy/ansible/roles-os/1.18-scaleout-pacemaker/defaults/main.yml b/deploy/ansible/roles-os/1.18-scaleout-pacemaker/defaults/main.yml index 9272a1081c..0394e5b68a 100644 --- a/deploy/ansible/roles-os/1.18-scaleout-pacemaker/defaults/main.yml +++ b/deploy/ansible/roles-os/1.18-scaleout-pacemaker/defaults/main.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # TODO: Maybe move these to a group_vars/all/distro file so that they # can be shared by all playbooks/tasks automatically, and extend with diff --git a/deploy/ansible/roles-os/1.18-scaleout-pacemaker/tasks/1.18.0-set_runtime_facts.yml b/deploy/ansible/roles-os/1.18-scaleout-pacemaker/tasks/1.18.0-set_runtime_facts.yml index 5f07e66ae0..35f07c0319 100644 --- a/deploy/ansible/roles-os/1.18-scaleout-pacemaker/tasks/1.18.0-set_runtime_facts.yml +++ b/deploy/ansible/roles-os/1.18-scaleout-pacemaker/tasks/1.18.0-set_runtime_facts.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 diff --git a/deploy/ansible/roles-os/1.18-scaleout-pacemaker/tasks/1.18.1-pre_checks.yml b/deploy/ansible/roles-os/1.18-scaleout-pacemaker/tasks/1.18.1-pre_checks.yml index 3fb7359694..027195d735 100644 --- a/deploy/ansible/roles-os/1.18-scaleout-pacemaker/tasks/1.18.1-pre_checks.yml +++ b/deploy/ansible/roles-os/1.18-scaleout-pacemaker/tasks/1.18.1-pre_checks.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/roles-os/1.18-scaleout-pacemaker/tasks/1.18.1.1-iSCSI.yml b/deploy/ansible/roles-os/1.18-scaleout-pacemaker/tasks/1.18.1.1-iSCSI.yml index ca47ef84d0..93324829d4 100644 --- a/deploy/ansible/roles-os/1.18-scaleout-pacemaker/tasks/1.18.1.1-iSCSI.yml +++ b/deploy/ansible/roles-os/1.18-scaleout-pacemaker/tasks/1.18.1.1-iSCSI.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/roles-os/1.18-scaleout-pacemaker/tasks/1.18.1.2-sbd.yaml b/deploy/ansible/roles-os/1.18-scaleout-pacemaker/tasks/1.18.1.2-sbd.yaml index 6922d04805..74e7d933df 100644 --- a/deploy/ansible/roles-os/1.18-scaleout-pacemaker/tasks/1.18.1.2-sbd.yaml +++ b/deploy/ansible/roles-os/1.18-scaleout-pacemaker/tasks/1.18.1.2-sbd.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/roles-os/1.18-scaleout-pacemaker/tasks/1.18.1.3-sbd-deviceUpdate.yaml b/deploy/ansible/roles-os/1.18-scaleout-pacemaker/tasks/1.18.1.3-sbd-deviceUpdate.yaml index 8c32b5d501..6360fe1da2 100644 --- a/deploy/ansible/roles-os/1.18-scaleout-pacemaker/tasks/1.18.1.3-sbd-deviceUpdate.yaml +++ b/deploy/ansible/roles-os/1.18-scaleout-pacemaker/tasks/1.18.1.3-sbd-deviceUpdate.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- - name: "Update Device Info: Parameters to be used..." diff --git a/deploy/ansible/roles-os/1.18-scaleout-pacemaker/tasks/1.18.2-provision.yml b/deploy/ansible/roles-os/1.18-scaleout-pacemaker/tasks/1.18.2-provision.yml index cdd170f0c4..06ecdcee59 100644 --- a/deploy/ansible/roles-os/1.18-scaleout-pacemaker/tasks/1.18.2-provision.yml +++ b/deploy/ansible/roles-os/1.18-scaleout-pacemaker/tasks/1.18.2-provision.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/roles-os/1.18-scaleout-pacemaker/tasks/1.18.2.0-cluster-RedHat.yml b/deploy/ansible/roles-os/1.18-scaleout-pacemaker/tasks/1.18.2.0-cluster-RedHat.yml index 0117680585..94f1df8397 100644 --- a/deploy/ansible/roles-os/1.18-scaleout-pacemaker/tasks/1.18.2.0-cluster-RedHat.yml +++ b/deploy/ansible/roles-os/1.18-scaleout-pacemaker/tasks/1.18.2.0-cluster-RedHat.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- diff --git a/deploy/ansible/roles-os/1.18-scaleout-pacemaker/tasks/1.18.2.0-cluster-Suse.yml b/deploy/ansible/roles-os/1.18-scaleout-pacemaker/tasks/1.18.2.0-cluster-Suse.yml index e7b021bcb7..cc01410704 100644 --- a/deploy/ansible/roles-os/1.18-scaleout-pacemaker/tasks/1.18.2.0-cluster-Suse.yml +++ b/deploy/ansible/roles-os/1.18-scaleout-pacemaker/tasks/1.18.2.0-cluster-Suse.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # SLES Clustering diff --git a/deploy/ansible/roles-os/1.18-scaleout-pacemaker/tasks/1.18.3-post_provision_report.yml b/deploy/ansible/roles-os/1.18-scaleout-pacemaker/tasks/1.18.3-post_provision_report.yml index 7027afcbd1..69c0e5d0fa 100644 --- a/deploy/ansible/roles-os/1.18-scaleout-pacemaker/tasks/1.18.3-post_provision_report.yml +++ b/deploy/ansible/roles-os/1.18-scaleout-pacemaker/tasks/1.18.3-post_provision_report.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- - name: "1.18.3 Generic Pacemaker - Pause to give cluster time to stabilize" diff --git a/deploy/ansible/roles-os/1.18-scaleout-pacemaker/tasks/main.yml b/deploy/ansible/roles-os/1.18-scaleout-pacemaker/tasks/main.yml index fea076a0fd..8fb28bc20b 100644 --- a/deploy/ansible/roles-os/1.18-scaleout-pacemaker/tasks/main.yml +++ b/deploy/ansible/roles-os/1.18-scaleout-pacemaker/tasks/main.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/roles-os/1.18-scaleout-pacemaker/templates/corosync.conf.j2 b/deploy/ansible/roles-os/1.18-scaleout-pacemaker/templates/corosync.conf.j2 index 9df5d40fbb..9ba0d61b2f 100644 --- a/deploy/ansible/roles-os/1.18-scaleout-pacemaker/templates/corosync.conf.j2 +++ b/deploy/ansible/roles-os/1.18-scaleout-pacemaker/templates/corosync.conf.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} # Please read the corosync.conf.5 manual page totem { diff --git a/deploy/ansible/roles-os/1.18-scaleout-pacemaker/vars/main.yml b/deploy/ansible/roles-os/1.18-scaleout-pacemaker/vars/main.yml index e00e54ac6d..0bc57bf92d 100644 --- a/deploy/ansible/roles-os/1.18-scaleout-pacemaker/vars/main.yml +++ b/deploy/ansible/roles-os/1.18-scaleout-pacemaker/vars/main.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 diff --git a/deploy/ansible/roles-os/1.2-hostname/tasks/main.yml b/deploy/ansible/roles-os/1.2-hostname/tasks/main.yml index 2e3b627e16..eacaa867dd 100644 --- a/deploy/ansible/roles-os/1.2-hostname/tasks/main.yml +++ b/deploy/ansible/roles-os/1.2-hostname/tasks/main.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*----------------------------------------------------------------------------8 # | | # | Role for ensuring the hostname is configured correctly | diff --git a/deploy/ansible/roles-os/1.20-prometheus/tasks/main.yml b/deploy/ansible/roles-os/1.20-prometheus/tasks/main.yml index d04d9267bb..f76fe8961b 100644 --- a/deploy/ansible/roles-os/1.20-prometheus/tasks/main.yml +++ b/deploy/ansible/roles-os/1.20-prometheus/tasks/main.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Task: 1.20 - Package Installation for OS | diff --git a/deploy/ansible/roles-os/1.3-repository/defaults/main.yaml b/deploy/ansible/roles-os/1.3-repository/defaults/main.yaml index 7020595d77..da03efb21d 100644 --- a/deploy/ansible/roles-os/1.3-repository/defaults/main.yaml +++ b/deploy/ansible/roles-os/1.3-repository/defaults/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # TODO: Maybe move these to a group_vars/all/distro file so that they # can be shared by all playbooks/tasks automatically, and extend with diff --git a/deploy/ansible/roles-os/1.3-repository/tasks/1.3.0-preparation-RedHat.yaml b/deploy/ansible/roles-os/1.3-repository/tasks/1.3.0-preparation-RedHat.yaml index d8793e00a2..f24a8150f2 100644 --- a/deploy/ansible/roles-os/1.3-repository/tasks/1.3.0-preparation-RedHat.yaml +++ b/deploy/ansible/roles-os/1.3-repository/tasks/1.3.0-preparation-RedHat.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + - name: "1.3 Repository - Ensure yum repos are configured on Redhat VMs" block: - name: "1.3 Repository - Check that yum repos are registered" diff --git a/deploy/ansible/roles-os/1.3-repository/tasks/1.3.0-preparation-Suse.yaml b/deploy/ansible/roles-os/1.3-repository/tasks/1.3.0-preparation-Suse.yaml index 33848dad8f..0ed3953d56 100644 --- a/deploy/ansible/roles-os/1.3-repository/tasks/1.3.0-preparation-Suse.yaml +++ b/deploy/ansible/roles-os/1.3-repository/tasks/1.3.0-preparation-Suse.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + - name: "1.3 Repository - Ensure zypper repo is configured on SLE VMs" block: # If there are no repos configured zypper lr will fail with rc == 6 diff --git a/deploy/ansible/roles-os/1.3-repository/tasks/1.3.1-repositories-RedHat.yaml b/deploy/ansible/roles-os/1.3-repository/tasks/1.3.1-repositories-RedHat.yaml index 9af9c44d91..47873294c3 100644 --- a/deploy/ansible/roles-os/1.3-repository/tasks/1.3.1-repositories-RedHat.yaml +++ b/deploy/ansible/roles-os/1.3-repository/tasks/1.3.1-repositories-RedHat.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + - name: "1.3 Repos: - Import repo list" ansible.builtin.include_vars: repos.yaml diff --git a/deploy/ansible/roles-os/1.3-repository/tasks/1.3.1-repositories-Suse.yaml b/deploy/ansible/roles-os/1.3-repository/tasks/1.3.1-repositories-Suse.yaml index 3e7533b7c9..1bc6c4a8ec 100644 --- a/deploy/ansible/roles-os/1.3-repository/tasks/1.3.1-repositories-Suse.yaml +++ b/deploy/ansible/roles-os/1.3-repository/tasks/1.3.1-repositories-Suse.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + - name: "1.3 Repos: - Import repo list" ansible.builtin.include_vars: repos.yaml diff --git a/deploy/ansible/roles-os/1.3-repository/tasks/1.3.2-custom-repositories-RedHat.yaml b/deploy/ansible/roles-os/1.3-repository/tasks/1.3.2-custom-repositories-RedHat.yaml index 70854f2a01..f408b8a5ad 100644 --- a/deploy/ansible/roles-os/1.3-repository/tasks/1.3.2-custom-repositories-RedHat.yaml +++ b/deploy/ansible/roles-os/1.3-repository/tasks/1.3.2-custom-repositories-RedHat.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # Analyse the repo list for this distribution selecting only those # packages assigned to the active tier or 'all'. - name: "1.3 Repository - Determine custom repos appropriate for tier {{ distribution_full_id }}" diff --git a/deploy/ansible/roles-os/1.3-repository/tasks/1.3.2-custom-repositories-Suse.yaml b/deploy/ansible/roles-os/1.3-repository/tasks/1.3.2-custom-repositories-Suse.yaml index 6cbc775040..340549fc22 100644 --- a/deploy/ansible/roles-os/1.3-repository/tasks/1.3.2-custom-repositories-Suse.yaml +++ b/deploy/ansible/roles-os/1.3-repository/tasks/1.3.2-custom-repositories-Suse.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*----------------------------------------------------------------------------8 # | Custom repositories | # +------------------------------------4---------------------------------------*/ diff --git a/deploy/ansible/roles-os/1.3-repository/tasks/main.yml b/deploy/ansible/roles-os/1.3-repository/tasks/main.yml index 061468ec7f..236caf500b 100644 --- a/deploy/ansible/roles-os/1.3-repository/tasks/main.yml +++ b/deploy/ansible/roles-os/1.3-repository/tasks/main.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Role for ensuring the Repositories are configured correctly | diff --git a/deploy/ansible/roles-os/1.3-repository/vars/repos.yaml b/deploy/ansible/roles-os/1.3-repository/vars/repos.yaml index 7cdf7a814d..3168ac2ce4 100644 --- a/deploy/ansible/roles-os/1.3-repository/vars/repos.yaml +++ b/deploy/ansible/roles-os/1.3-repository/vars/repos.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/roles-os/1.4-packages/defaults/main.yaml b/deploy/ansible/roles-os/1.4-packages/defaults/main.yaml index 199a68459e..39a2e3707f 100644 --- a/deploy/ansible/roles-os/1.4-packages/defaults/main.yaml +++ b/deploy/ansible/roles-os/1.4-packages/defaults/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # TODO: Maybe move these to a group_vars/all/distro file so that they # can be shared by all playbooks/tasks automatically, and extend with diff --git a/deploy/ansible/roles-os/1.4-packages/tasks/1.4.0-packages-RedHat-prep.yaml b/deploy/ansible/roles-os/1.4-packages/tasks/1.4.0-packages-RedHat-prep.yaml index f7ae05130e..602a2dff64 100644 --- a/deploy/ansible/roles-os/1.4-packages/tasks/1.4.0-packages-RedHat-prep.yaml +++ b/deploy/ansible/roles-os/1.4-packages/tasks/1.4.0-packages-RedHat-prep.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/roles-os/1.4-packages/tasks/1.4.0-packages-Suse-prep.yaml b/deploy/ansible/roles-os/1.4-packages/tasks/1.4.0-packages-Suse-prep.yaml index c1239a5950..058954cc2f 100644 --- a/deploy/ansible/roles-os/1.4-packages/tasks/1.4.0-packages-Suse-prep.yaml +++ b/deploy/ansible/roles-os/1.4-packages/tasks/1.4.0-packages-Suse-prep.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/roles-os/1.4-packages/tasks/1.4.1-packages.yaml b/deploy/ansible/roles-os/1.4-packages/tasks/1.4.1-packages.yaml index dc6ed89e67..9989c8792c 100644 --- a/deploy/ansible/roles-os/1.4-packages/tasks/1.4.1-packages.yaml +++ b/deploy/ansible/roles-os/1.4-packages/tasks/1.4.1-packages.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + - name: "1.4 Packages: - Import package list" ansible.builtin.include_vars: os-packages.yaml diff --git a/deploy/ansible/roles-os/1.4-packages/tasks/1.4.2-custom-packages.yaml b/deploy/ansible/roles-os/1.4-packages/tasks/1.4.2-custom-packages.yaml index e13e76d6e5..2a56c6cb7f 100644 --- a/deploy/ansible/roles-os/1.4-packages/tasks/1.4.2-custom-packages.yaml +++ b/deploy/ansible/roles-os/1.4-packages/tasks/1.4.2-custom-packages.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*----------------------------------------------------------------------------8 # | Custom packages | # +------------------------------------4---------------------------------------*/ diff --git a/deploy/ansible/roles-os/1.4-packages/tasks/1.4.3-update-packages-RedHat.yaml b/deploy/ansible/roles-os/1.4-packages/tasks/1.4.3-update-packages-RedHat.yaml index 0d97be07ad..5e568ac9ac 100644 --- a/deploy/ansible/roles-os/1.4-packages/tasks/1.4.3-update-packages-RedHat.yaml +++ b/deploy/ansible/roles-os/1.4-packages/tasks/1.4.3-update-packages-RedHat.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*----------------------------------------------------------------------------8 # | Update packages | # +------------------------------------4---------------------------------------*/ diff --git a/deploy/ansible/roles-os/1.4-packages/tasks/1.4.3-update-packages-Suse.yaml b/deploy/ansible/roles-os/1.4-packages/tasks/1.4.3-update-packages-Suse.yaml index ba8e896914..7e6b2a40e4 100644 --- a/deploy/ansible/roles-os/1.4-packages/tasks/1.4.3-update-packages-Suse.yaml +++ b/deploy/ansible/roles-os/1.4-packages/tasks/1.4.3-update-packages-Suse.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*----------------------------------------------------------------------------8 # | Update packages | # +------------------------------------4---------------------------------------*/ diff --git a/deploy/ansible/roles-os/1.4-packages/tasks/main.yaml b/deploy/ansible/roles-os/1.4-packages/tasks/main.yaml index 9968853d49..90b70ee996 100644 --- a/deploy/ansible/roles-os/1.4-packages/tasks/main.yaml +++ b/deploy/ansible/roles-os/1.4-packages/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/roles-os/1.4-packages/vars/os-packages.yaml b/deploy/ansible/roles-os/1.4-packages/vars/os-packages.yaml index 76125f7d21..aa0a60162f 100644 --- a/deploy/ansible/roles-os/1.4-packages/vars/os-packages.yaml +++ b/deploy/ansible/roles-os/1.4-packages/vars/os-packages.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/roles-os/1.5-disk-setup/tasks/1.5-custom-disks.yml b/deploy/ansible/roles-os/1.5-disk-setup/tasks/1.5-custom-disks.yml index 228aaa3fb4..f65764670a 100644 --- a/deploy/ansible/roles-os/1.5-disk-setup/tasks/1.5-custom-disks.yml +++ b/deploy/ansible/roles-os/1.5-disk-setup/tasks/1.5-custom-disks.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | OS Base Disk Configuration | diff --git a/deploy/ansible/roles-os/1.5-disk-setup/tasks/1.5-expand-volumes.yml b/deploy/ansible/roles-os/1.5-disk-setup/tasks/1.5-expand-volumes.yml index 9cf0a10f20..b821f38e68 100644 --- a/deploy/ansible/roles-os/1.5-disk-setup/tasks/1.5-expand-volumes.yml +++ b/deploy/ansible/roles-os/1.5-disk-setup/tasks/1.5-expand-volumes.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 diff --git a/deploy/ansible/roles-os/1.5-disk-setup/tasks/main.yml b/deploy/ansible/roles-os/1.5-disk-setup/tasks/main.yml index 301e0e58f6..1260373feb 100644 --- a/deploy/ansible/roles-os/1.5-disk-setup/tasks/main.yml +++ b/deploy/ansible/roles-os/1.5-disk-setup/tasks/main.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | OS Base Disk Configuration | diff --git a/deploy/ansible/roles-os/1.5-disk-setup/templates/volume_groups.j2 b/deploy/ansible/roles-os/1.5-disk-setup/templates/volume_groups.j2 index a145affa5a..88561208de 100644 --- a/deploy/ansible/roles-os/1.5-disk-setup/templates/volume_groups.j2 +++ b/deploy/ansible/roles-os/1.5-disk-setup/templates/volume_groups.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} {% set vgs = [] %} {# Outer Loop: Loop over disk types diff --git a/deploy/ansible/roles-os/1.5.1-disk-setup-asm/tasks/main.yml b/deploy/ansible/roles-os/1.5.1-disk-setup-asm/tasks/main.yml index 9166b8a942..478fdcd21d 100644 --- a/deploy/ansible/roles-os/1.5.1-disk-setup-asm/tasks/main.yml +++ b/deploy/ansible/roles-os/1.5.1-disk-setup-asm/tasks/main.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 diff --git a/deploy/ansible/roles-os/1.5.1-disk-setup-asm/templates/volume_groups.j2 b/deploy/ansible/roles-os/1.5.1-disk-setup-asm/templates/volume_groups.j2 index 577f23e198..df9d7d19f6 100644 --- a/deploy/ansible/roles-os/1.5.1-disk-setup-asm/templates/volume_groups.j2 +++ b/deploy/ansible/roles-os/1.5.1-disk-setup-asm/templates/volume_groups.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} {% set vgs = [] %} {# Outer Loop: Loop over disk types diff --git a/deploy/ansible/roles-os/1.5.1.1-disk-setup-asm-sap/tasks/main copy.yml b/deploy/ansible/roles-os/1.5.1.1-disk-setup-asm-sap/tasks/main copy.yml index 6c57e902d1..ced1f4fc41 100644 --- a/deploy/ansible/roles-os/1.5.1.1-disk-setup-asm-sap/tasks/main copy.yml +++ b/deploy/ansible/roles-os/1.5.1.1-disk-setup-asm-sap/tasks/main copy.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | OS Base Disk Configuration | diff --git a/deploy/ansible/roles-os/1.5.1.1-disk-setup-asm-sap/tasks/main.yml b/deploy/ansible/roles-os/1.5.1.1-disk-setup-asm-sap/tasks/main.yml index 56a0226045..57d2bfcba4 100644 --- a/deploy/ansible/roles-os/1.5.1.1-disk-setup-asm-sap/tasks/main.yml +++ b/deploy/ansible/roles-os/1.5.1.1-disk-setup-asm-sap/tasks/main.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | OS Base Disk Configuration | diff --git a/deploy/ansible/roles-os/1.5.1.1-disk-setup-asm-sap/templates/volume_groups.j2 b/deploy/ansible/roles-os/1.5.1.1-disk-setup-asm-sap/templates/volume_groups.j2 index 577f23e198..df9d7d19f6 100644 --- a/deploy/ansible/roles-os/1.5.1.1-disk-setup-asm-sap/templates/volume_groups.j2 +++ b/deploy/ansible/roles-os/1.5.1.1-disk-setup-asm-sap/templates/volume_groups.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} {% set vgs = [] %} {# Outer Loop: Loop over disk types diff --git a/deploy/ansible/roles-os/1.5.2-disk-setup-ora-multi-sid/tasks/main.yml b/deploy/ansible/roles-os/1.5.2-disk-setup-ora-multi-sid/tasks/main.yml index 2bc061ce3b..695bfca2db 100644 --- a/deploy/ansible/roles-os/1.5.2-disk-setup-ora-multi-sid/tasks/main.yml +++ b/deploy/ansible/roles-os/1.5.2-disk-setup-ora-multi-sid/tasks/main.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | OS Base Disk Configuration | diff --git a/deploy/ansible/roles-os/1.5.2-disk-setup-ora-multi-sid/templates/logical_volume_group.j2 b/deploy/ansible/roles-os/1.5.2-disk-setup-ora-multi-sid/templates/logical_volume_group.j2 index 339b7934b0..3f9cf7655a 100644 --- a/deploy/ansible/roles-os/1.5.2-disk-setup-ora-multi-sid/templates/logical_volume_group.j2 +++ b/deploy/ansible/roles-os/1.5.2-disk-setup-ora-multi-sid/templates/logical_volume_group.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} {% set lvg = [] %} {# Outer Loop: Loop over disk types diff --git a/deploy/ansible/roles-os/1.5.2-disk-setup-ora-multi-sid/templates/scs_logical_volume_group.j2 b/deploy/ansible/roles-os/1.5.2-disk-setup-ora-multi-sid/templates/scs_logical_volume_group.j2 index 1d96ba5124..86fb547bfe 100644 --- a/deploy/ansible/roles-os/1.5.2-disk-setup-ora-multi-sid/templates/scs_logical_volume_group.j2 +++ b/deploy/ansible/roles-os/1.5.2-disk-setup-ora-multi-sid/templates/scs_logical_volume_group.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} {% set lvg_scs = [] %} {# Outer Loop: Loop over disk types diff --git a/deploy/ansible/roles-os/1.5.2-disk-setup-ora-multi-sid/templates/volume_groups.j2 b/deploy/ansible/roles-os/1.5.2-disk-setup-ora-multi-sid/templates/volume_groups.j2 index a145affa5a..88561208de 100644 --- a/deploy/ansible/roles-os/1.5.2-disk-setup-ora-multi-sid/templates/volume_groups.j2 +++ b/deploy/ansible/roles-os/1.5.2-disk-setup-ora-multi-sid/templates/volume_groups.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} {% set vgs = [] %} {# Outer Loop: Loop over disk types diff --git a/deploy/ansible/roles-os/1.5.3-disk-setup-sapcal/tasks/main.yml b/deploy/ansible/roles-os/1.5.3-disk-setup-sapcal/tasks/main.yml index 34d94fc5e5..68fd722e5f 100644 --- a/deploy/ansible/roles-os/1.5.3-disk-setup-sapcal/tasks/main.yml +++ b/deploy/ansible/roles-os/1.5.3-disk-setup-sapcal/tasks/main.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 diff --git a/deploy/ansible/roles-os/1.6-timezone/tasks/main.yaml b/deploy/ansible/roles-os/1.6-timezone/tasks/main.yaml index fdfec4eb0e..8ca35e7c07 100644 --- a/deploy/ansible/roles-os/1.6-timezone/tasks/main.yaml +++ b/deploy/ansible/roles-os/1.6-timezone/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # ----------------------------------------------------------------------------- # # Task: 1.6 - Setting OS timezone diff --git a/deploy/ansible/roles-os/1.7-chrony/defaults/main.yml b/deploy/ansible/roles-os/1.7-chrony/defaults/main.yml index 9272a1081c..0394e5b68a 100644 --- a/deploy/ansible/roles-os/1.7-chrony/defaults/main.yml +++ b/deploy/ansible/roles-os/1.7-chrony/defaults/main.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # TODO: Maybe move these to a group_vars/all/distro file so that they # can be shared by all playbooks/tasks automatically, and extend with diff --git a/deploy/ansible/roles-os/1.7-chrony/tasks/main.yml b/deploy/ansible/roles-os/1.7-chrony/tasks/main.yml index 05c8c1085f..ec4ddb4301 100644 --- a/deploy/ansible/roles-os/1.7-chrony/tasks/main.yml +++ b/deploy/ansible/roles-os/1.7-chrony/tasks/main.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/roles-os/1.9-kernelparameters/defaults/main.yaml b/deploy/ansible/roles-os/1.9-kernelparameters/defaults/main.yaml index 0023a345dc..e7c34272fb 100644 --- a/deploy/ansible/roles-os/1.9-kernelparameters/defaults/main.yaml +++ b/deploy/ansible/roles-os/1.9-kernelparameters/defaults/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # TODO: Maybe move these to a group_vars/all/distro file so that they # can be shared by all playbooks/tasks automatically, and extend with diff --git a/deploy/ansible/roles-os/1.9-kernelparameters/tasks/main.yaml b/deploy/ansible/roles-os/1.9-kernelparameters/tasks/main.yaml index 0548025dbe..8874419ea9 100644 --- a/deploy/ansible/roles-os/1.9-kernelparameters/tasks/main.yaml +++ b/deploy/ansible/roles-os/1.9-kernelparameters/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Role to set kernel parameters for general hardening | diff --git a/deploy/ansible/roles-os/1.9-kernelparameters/vars/parameters.yaml b/deploy/ansible/roles-os/1.9-kernelparameters/vars/parameters.yaml index 80b920ebd6..4bf5a0e131 100644 --- a/deploy/ansible/roles-os/1.9-kernelparameters/vars/parameters.yaml +++ b/deploy/ansible/roles-os/1.9-kernelparameters/vars/parameters.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 diff --git a/deploy/ansible/roles-os/windows/1.1-swap/handlers/main.yaml b/deploy/ansible/roles-os/windows/1.1-swap/handlers/main.yaml index 8f371f7519..b38ed4f04a 100644 --- a/deploy/ansible/roles-os/windows/1.1-swap/handlers/main.yaml +++ b/deploy/ansible/roles-os/windows/1.1-swap/handlers/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # --- - name: reboot diff --git a/deploy/ansible/roles-os/windows/1.1-swap/tasks/main.yaml b/deploy/ansible/roles-os/windows/1.1-swap/tasks/main.yaml index a75c448440..88c37150a2 100644 --- a/deploy/ansible/roles-os/windows/1.1-swap/tasks/main.yaml +++ b/deploy/ansible/roles-os/windows/1.1-swap/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*----------------------------------------------------------------------------8 # | | # | Role for ensuring the swap space is configured correctly | diff --git a/deploy/ansible/roles-os/windows/1.10-firewall/tasks/main.yaml b/deploy/ansible/roles-os/windows/1.10-firewall/tasks/main.yaml index 3d9d94dd7a..bbcbed5370 100644 --- a/deploy/ansible/roles-os/windows/1.10-firewall/tasks/main.yaml +++ b/deploy/ansible/roles-os/windows/1.10-firewall/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Disable Firewall | diff --git a/deploy/ansible/roles-os/windows/1.11-domain-join/tasks/main.yaml b/deploy/ansible/roles-os/windows/1.11-domain-join/tasks/main.yaml index fe14939b11..ea8efc3129 100644 --- a/deploy/ansible/roles-os/windows/1.11-domain-join/tasks/main.yaml +++ b/deploy/ansible/roles-os/windows/1.11-domain-join/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + - name: "WIN: Calculating the domain value from {{ domain_name }}" ansible.builtin.set_fact: domain: "{{ domain_name | split('.') | first }}" diff --git a/deploy/ansible/roles-os/windows/1.12-registry-config/tasks/main.yaml b/deploy/ansible/roles-os/windows/1.12-registry-config/tasks/main.yaml index 0b4d6d473a..47968d7aba 100644 --- a/deploy/ansible/roles-os/windows/1.12-registry-config/tasks/main.yaml +++ b/deploy/ansible/roles-os/windows/1.12-registry-config/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Registry Configuration | diff --git a/deploy/ansible/roles-os/windows/1.12-registry-config/tasks/protocols-config.yaml b/deploy/ansible/roles-os/windows/1.12-registry-config/tasks/protocols-config.yaml index eb4063f009..1b06fe1c42 100644 --- a/deploy/ansible/roles-os/windows/1.12-registry-config/tasks/protocols-config.yaml +++ b/deploy/ansible/roles-os/windows/1.12-registry-config/tasks/protocols-config.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Ciphers and Protocols Configuration | diff --git a/deploy/ansible/roles-os/windows/1.17-generic-wincluster/defaults/main.yaml b/deploy/ansible/roles-os/windows/1.17-generic-wincluster/defaults/main.yaml index 4abb9ac12e..8ed15adfde 100644 --- a/deploy/ansible/roles-os/windows/1.17-generic-wincluster/defaults/main.yaml +++ b/deploy/ansible/roles-os/windows/1.17-generic-wincluster/defaults/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- cluster_ip_address: "{{ sap_cluster_ip_address }}" diff --git a/deploy/ansible/roles-os/windows/1.17-generic-wincluster/tasks/1.17.0-wincluster-prerequisites.yaml b/deploy/ansible/roles-os/windows/1.17-generic-wincluster/tasks/1.17.0-wincluster-prerequisites.yaml index 34fb1ab479..425e760580 100644 --- a/deploy/ansible/roles-os/windows/1.17-generic-wincluster/tasks/1.17.0-wincluster-prerequisites.yaml +++ b/deploy/ansible/roles-os/windows/1.17-generic-wincluster/tasks/1.17.0-wincluster-prerequisites.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # Windows cluster pre-requisites diff --git a/deploy/ansible/roles-os/windows/1.17-generic-wincluster/tasks/1.17.1-wincluster-createcluster.yaml b/deploy/ansible/roles-os/windows/1.17-generic-wincluster/tasks/1.17.1-wincluster-createcluster.yaml index ad2a9ef713..af57d87b6c 100644 --- a/deploy/ansible/roles-os/windows/1.17-generic-wincluster/tasks/1.17.1-wincluster-createcluster.yaml +++ b/deploy/ansible/roles-os/windows/1.17-generic-wincluster/tasks/1.17.1-wincluster-createcluster.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # This user must have the permission to create the CNO (Cluster Name Object) diff --git a/deploy/ansible/roles-os/windows/1.17-generic-wincluster/tasks/1.17.2-wincluster-postconfig.yaml b/deploy/ansible/roles-os/windows/1.17-generic-wincluster/tasks/1.17.2-wincluster-postconfig.yaml index 0db4a70441..adf491368e 100644 --- a/deploy/ansible/roles-os/windows/1.17-generic-wincluster/tasks/1.17.2-wincluster-postconfig.yaml +++ b/deploy/ansible/roles-os/windows/1.17-generic-wincluster/tasks/1.17.2-wincluster-postconfig.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # This user must have the permission to create the CNO (Cluster Name Object) diff --git a/deploy/ansible/roles-os/windows/1.17-generic-wincluster/tasks/main.yaml b/deploy/ansible/roles-os/windows/1.17-generic-wincluster/tasks/main.yaml index 8254235350..3297c13257 100644 --- a/deploy/ansible/roles-os/windows/1.17-generic-wincluster/tasks/main.yaml +++ b/deploy/ansible/roles-os/windows/1.17-generic-wincluster/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Windows Base Cluster Configuration | diff --git a/deploy/ansible/roles-os/windows/1.17-generic-wincluster/templates/Set-AzLBHealthProbePortForASCS.j2 b/deploy/ansible/roles-os/windows/1.17-generic-wincluster/templates/Set-AzLBHealthProbePortForASCS.j2 index c1c47d1b96..d60cf5bf27 100644 --- a/deploy/ansible/roles-os/windows/1.17-generic-wincluster/templates/Set-AzLBHealthProbePortForASCS.j2 +++ b/deploy/ansible/roles-os/windows/1.17-generic-wincluster/templates/Set-AzLBHealthProbePortForASCS.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} function Set-AzureLoadBalancerHealthCheckProbePortOnSAPClusterIPResource { <# diff --git a/deploy/ansible/roles-os/windows/1.2-memory-dump/tasks/main.yaml b/deploy/ansible/roles-os/windows/1.2-memory-dump/tasks/main.yaml index de436250aa..0807710d15 100644 --- a/deploy/ansible/roles-os/windows/1.2-memory-dump/tasks/main.yaml +++ b/deploy/ansible/roles-os/windows/1.2-memory-dump/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*----------------------------------------------------------------------------8 # | | # | Configure Memory Dump | diff --git a/deploy/ansible/roles-os/windows/1.4-packages/handlers/main.yaml b/deploy/ansible/roles-os/windows/1.4-packages/handlers/main.yaml index 8f371f7519..b38ed4f04a 100644 --- a/deploy/ansible/roles-os/windows/1.4-packages/handlers/main.yaml +++ b/deploy/ansible/roles-os/windows/1.4-packages/handlers/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # --- - name: reboot diff --git a/deploy/ansible/roles-os/windows/1.4-packages/tasks/main.yaml b/deploy/ansible/roles-os/windows/1.4-packages/tasks/main.yaml index 8da5df8080..313c473fe9 100644 --- a/deploy/ansible/roles-os/windows/1.4-packages/tasks/main.yaml +++ b/deploy/ansible/roles-os/windows/1.4-packages/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | OS Base Disk Configuration | diff --git a/deploy/ansible/roles-os/windows/1.5-disk-setup/tasks/main.yml b/deploy/ansible/roles-os/windows/1.5-disk-setup/tasks/main.yml index 83f7522108..456460d047 100644 --- a/deploy/ansible/roles-os/windows/1.5-disk-setup/tasks/main.yml +++ b/deploy/ansible/roles-os/windows/1.5-disk-setup/tasks/main.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | OS Base Disk Configuration | diff --git a/deploy/ansible/roles-os/windows/1.5-disk-setup/templates/volume_groups.j2 b/deploy/ansible/roles-os/windows/1.5-disk-setup/templates/volume_groups.j2 index 5449b04c61..304dfec907 100644 --- a/deploy/ansible/roles-os/windows/1.5-disk-setup/templates/volume_groups.j2 +++ b/deploy/ansible/roles-os/windows/1.5-disk-setup/templates/volume_groups.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} {% set vgs = [] %} {# Outer Loop: Loop over disk types diff --git a/deploy/ansible/roles-sap-os/2.10-sap-notes/defaults/main.yaml b/deploy/ansible/roles-sap-os/2.10-sap-notes/defaults/main.yaml index a19e1eb84a..51b05ad6d5 100644 --- a/deploy/ansible/roles-sap-os/2.10-sap-notes/defaults/main.yaml +++ b/deploy/ansible/roles-sap-os/2.10-sap-notes/defaults/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + distro_family: "{{ ansible_os_family | upper }}" distribution_id: "{{ ansible_distribution | lower ~ ansible_distribution_major_version }}" distribution_full_id: "{{ ansible_distribution | lower ~ ansible_distribution_version }}" diff --git a/deploy/ansible/roles-sap-os/2.10-sap-notes/handlers/main.yaml b/deploy/ansible/roles-sap-os/2.10-sap-notes/handlers/main.yaml index 11020accfd..db218ba132 100644 --- a/deploy/ansible/roles-sap-os/2.10-sap-notes/handlers/main.yaml +++ b/deploy/ansible/roles-sap-os/2.10-sap-notes/handlers/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # --- - name: "2.10-sap-notes: Reboot after the selinux is configured" diff --git a/deploy/ansible/roles-sap-os/2.10-sap-notes/tasks/2.10.0.yaml b/deploy/ansible/roles-sap-os/2.10-sap-notes/tasks/2.10.0.yaml index 8eb7eedf8c..8b46c2b668 100644 --- a/deploy/ansible/roles-sap-os/2.10-sap-notes/tasks/2.10.0.yaml +++ b/deploy/ansible/roles-sap-os/2.10-sap-notes/tasks/2.10.0.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # RHEL-3.10 Disable Transparent Hugepages (THP) # RHEL-3.12 Configure Processor C-States (not relevant for IBM Power LE (ppc64le)) diff --git a/deploy/ansible/roles-sap-os/2.10-sap-notes/tasks/2.10.1.yaml b/deploy/ansible/roles-sap-os/2.10-sap-notes/tasks/2.10.1.yaml index da2710e098..10bc544156 100644 --- a/deploy/ansible/roles-sap-os/2.10-sap-notes/tasks/2.10.1.yaml +++ b/deploy/ansible/roles-sap-os/2.10-sap-notes/tasks/2.10.1.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # Set 'sap-hana' as tuned profile # Add GRUB arguments to the config diff --git a/deploy/ansible/roles-sap-os/2.10-sap-notes/tasks/2.10.1275776.yaml b/deploy/ansible/roles-sap-os/2.10-sap-notes/tasks/2.10.1275776.yaml index fd0e288d55..48b9b7d025 100644 --- a/deploy/ansible/roles-sap-os/2.10-sap-notes/tasks/2.10.1275776.yaml +++ b/deploy/ansible/roles-sap-os/2.10-sap-notes/tasks/2.10.1275776.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # Set 'sap' as tuned profile # Disable SELinux diff --git a/deploy/ansible/roles-sap-os/2.10-sap-notes/tasks/2.10.2.yaml b/deploy/ansible/roles-sap-os/2.10-sap-notes/tasks/2.10.2.yaml index d3f625a8b3..09185c4265 100644 --- a/deploy/ansible/roles-sap-os/2.10-sap-notes/tasks/2.10.2.yaml +++ b/deploy/ansible/roles-sap-os/2.10-sap-notes/tasks/2.10.2.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # Set 'oracle' as tuned profile # Disable SELinux diff --git a/deploy/ansible/roles-sap-os/2.10-sap-notes/tasks/2.10.3.yaml b/deploy/ansible/roles-sap-os/2.10-sap-notes/tasks/2.10.3.yaml index 82734dbc0f..c52e5c8954 100644 --- a/deploy/ansible/roles-sap-os/2.10-sap-notes/tasks/2.10.3.yaml +++ b/deploy/ansible/roles-sap-os/2.10-sap-notes/tasks/2.10.3.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- - name: "2.10.3 sap-notes: saptune - Register BoM" diff --git a/deploy/ansible/roles-sap-os/2.10-sap-notes/tasks/2.10.3119751.yaml b/deploy/ansible/roles-sap-os/2.10-sap-notes/tasks/2.10.3119751.yaml index d1bec46020..bbe4bceb2b 100644 --- a/deploy/ansible/roles-sap-os/2.10-sap-notes/tasks/2.10.3119751.yaml +++ b/deploy/ansible/roles-sap-os/2.10-sap-notes/tasks/2.10.3119751.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + - name: "SAP Note 3119751 make directory" become: true ansible.builtin.file: diff --git a/deploy/ansible/roles-sap-os/2.10-sap-notes/tasks/grub_editor.yaml b/deploy/ansible/roles-sap-os/2.10-sap-notes/tasks/grub_editor.yaml index 215aad8727..ba8239e1b0 100644 --- a/deploy/ansible/roles-sap-os/2.10-sap-notes/tasks/grub_editor.yaml +++ b/deploy/ansible/roles-sap-os/2.10-sap-notes/tasks/grub_editor.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # SAP Note 2777782 - SAP HANA DB: Recommended OS Settings for RHEL 8 # Generic editor to add or edit GRUB arguments diff --git a/deploy/ansible/roles-sap-os/2.10-sap-notes/tasks/main.yaml b/deploy/ansible/roles-sap-os/2.10-sap-notes/tasks/main.yaml index 4bc892eb27..b7489d3518 100644 --- a/deploy/ansible/roles-sap-os/2.10-sap-notes/tasks/main.yaml +++ b/deploy/ansible/roles-sap-os/2.10-sap-notes/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*----------------------------------------------------------------------------8 # | | # | SAP Notes and Recomendations | diff --git a/deploy/ansible/roles-sap-os/2.11-iscsi-server/tasks/main.yaml b/deploy/ansible/roles-sap-os/2.11-iscsi-server/tasks/main.yaml index aea48b4f33..5a8cca31fe 100644 --- a/deploy/ansible/roles-sap-os/2.11-iscsi-server/tasks/main.yaml +++ b/deploy/ansible/roles-sap-os/2.11-iscsi-server/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- - name: "2.11: SBD - Create Directory" diff --git a/deploy/ansible/roles-sap-os/2.2-sapPermissions/tasks/main.yaml b/deploy/ansible/roles-sap-os/2.2-sapPermissions/tasks/main.yaml index a83fa9f3e8..c9f1a3e681 100644 --- a/deploy/ansible/roles-sap-os/2.2-sapPermissions/tasks/main.yaml +++ b/deploy/ansible/roles-sap-os/2.2-sapPermissions/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- - name: "2.2 SAP Permissions : check SAP users are created" ansible.builtin.stat: diff --git a/deploy/ansible/roles-sap-os/2.3-sap-exports/defaults/main.yaml b/deploy/ansible/roles-sap-os/2.3-sap-exports/defaults/main.yaml index fddb3dbd47..9361d415f5 100644 --- a/deploy/ansible/roles-sap-os/2.3-sap-exports/defaults/main.yaml +++ b/deploy/ansible/roles-sap-os/2.3-sap-exports/defaults/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # TODO: Maybe move these to a group_vars/all/distro file so that they # can be shared by all playbooks/tasks automatically, and extend with diff --git a/deploy/ansible/roles-sap-os/2.3-sap-exports/tasks/2.3-custom-exports.yaml b/deploy/ansible/roles-sap-os/2.3-sap-exports/tasks/2.3-custom-exports.yaml index 15865a8358..7a9f750a34 100644 --- a/deploy/ansible/roles-sap-os/2.3-sap-exports/tasks/2.3-custom-exports.yaml +++ b/deploy/ansible/roles-sap-os/2.3-sap-exports/tasks/2.3-custom-exports.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- - name: "2.3 Custom Exports: Create Directories" diff --git a/deploy/ansible/roles-sap-os/2.3-sap-exports/tasks/main.yaml b/deploy/ansible/roles-sap-os/2.3-sap-exports/tasks/main.yaml index 9e83768d4f..dc187f769e 100644 --- a/deploy/ansible/roles-sap-os/2.3-sap-exports/tasks/main.yaml +++ b/deploy/ansible/roles-sap-os/2.3-sap-exports/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- - name: "2.3 Exports: - Create SAP install export" when: diff --git a/deploy/ansible/roles-sap-os/2.4-hosts-file/tasks/main.yaml b/deploy/ansible/roles-sap-os/2.4-hosts-file/tasks/main.yaml index 1feffba940..6454e0e921 100644 --- a/deploy/ansible/roles-sap-os/2.4-hosts-file/tasks/main.yaml +++ b/deploy/ansible/roles-sap-os/2.4-hosts-file/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # Tasks: # OS: hosts file, Entries - /etc/hosts # diff --git a/deploy/ansible/roles-sap-os/2.4-hosts-file/tasks/pre_checks.yaml b/deploy/ansible/roles-sap-os/2.4-hosts-file/tasks/pre_checks.yaml index 665f748a90..fff2a31ce5 100644 --- a/deploy/ansible/roles-sap-os/2.4-hosts-file/tasks/pre_checks.yaml +++ b/deploy/ansible/roles-sap-os/2.4-hosts-file/tasks/pre_checks.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # -------------------------------------+---------------------------------------8 diff --git a/deploy/ansible/roles-sap-os/2.4-hosts-file/templates/hosts.j2 b/deploy/ansible/roles-sap-os/2.4-hosts-file/templates/hosts.j2 index 90aeecddc7..1c9ed643e5 100644 --- a/deploy/ansible/roles-sap-os/2.4-hosts-file/templates/hosts.j2 +++ b/deploy/ansible/roles-sap-os/2.4-hosts-file/templates/hosts.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} {# Outline: 1) Loop over all the hosts in the playbook diff --git a/deploy/ansible/roles-sap-os/2.5-sap-users/tasks/main.yaml b/deploy/ansible/roles-sap-os/2.5-sap-users/tasks/main.yaml index 70bf76889f..29c1a74aa1 100644 --- a/deploy/ansible/roles-sap-os/2.5-sap-users/tasks/main.yaml +++ b/deploy/ansible/roles-sap-os/2.5-sap-users/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # *=====================================4=======================================8 # Document Artifact: N/A # diff --git a/deploy/ansible/roles-sap-os/2.5-sap-users/tasks/user_nw.yaml b/deploy/ansible/roles-sap-os/2.5-sap-users/tasks/user_nw.yaml index d4f25d561c..613bf9853f 100644 --- a/deploy/ansible/roles-sap-os/2.5-sap-users/tasks/user_nw.yaml +++ b/deploy/ansible/roles-sap-os/2.5-sap-users/tasks/user_nw.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | SAP: Register BOM | diff --git a/deploy/ansible/roles-sap-os/2.6-sap-mounts/defaults/main.yaml b/deploy/ansible/roles-sap-os/2.6-sap-mounts/defaults/main.yaml index 1a9d1cf460..1e2a5df917 100644 --- a/deploy/ansible/roles-sap-os/2.6-sap-mounts/defaults/main.yaml +++ b/deploy/ansible/roles-sap-os/2.6-sap-mounts/defaults/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # TODO: Maybe move these to a group_vars/all/distro file so that they # can be shared by all playbooks/tasks automatically, and extend with diff --git a/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6-set_runtime_facts.yaml b/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6-set_runtime_facts.yaml index 78c3097c94..9b0e6bb1d3 100644 --- a/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6-set_runtime_facts.yaml +++ b/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6-set_runtime_facts.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + - name: "2.6 SCSERS: Block" block: diff --git a/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.0-afs-mounts.yaml b/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.0-afs-mounts.yaml index c3603d3c54..613b3a363f 100644 --- a/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.0-afs-mounts.yaml +++ b/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.0-afs-mounts.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.0.1-afs-mount.yaml b/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.0.1-afs-mount.yaml index d87db06ae4..c07d1b760d 100644 --- a/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.0.1-afs-mount.yaml +++ b/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.0.1-afs-mount.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Prepare for the mounts | diff --git a/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.1-anf-mounts.yaml b/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.1-anf-mounts.yaml index aac1b20aa3..a910bf191d 100644 --- a/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.1-anf-mounts.yaml +++ b/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.1-anf-mounts.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Perform the ANF system mounts | diff --git a/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.1.1-anf-mount.yaml b/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.1.1-anf-mount.yaml index 676049cff4..53188550f4 100644 --- a/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.1.1-anf-mount.yaml +++ b/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.1.1-anf-mount.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Prepare for the mounts | diff --git a/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.2-oracle-mounts.yaml b/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.2-oracle-mounts.yaml index a83ba4b169..bb86975407 100644 --- a/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.2-oracle-mounts.yaml +++ b/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.2-oracle-mounts.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 diff --git a/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.3-oracle-asm-mounts.yaml b/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.3-oracle-asm-mounts.yaml index 82831e7665..9b99a71d91 100644 --- a/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.3-oracle-asm-mounts.yaml +++ b/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.3-oracle-asm-mounts.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.3-oracle-asm-prereq.yaml b/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.3-oracle-asm-prereq.yaml index 1bf8c74c82..c1024c3eb0 100644 --- a/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.3-oracle-asm-prereq.yaml +++ b/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.3-oracle-asm-prereq.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.3-oracle-multi-sid.yaml b/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.3-oracle-multi-sid.yaml index 9b15de0cbe..f419b414e3 100644 --- a/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.3-oracle-multi-sid.yaml +++ b/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.3-oracle-multi-sid.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # Create Run Flag Directory diff --git a/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.3-oracle-observer.yaml b/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.3-oracle-observer.yaml index cc3d12eb50..c9d49e117a 100644 --- a/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.3-oracle-observer.yaml +++ b/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.3-oracle-observer.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 diff --git a/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.4-db2-mounts.yaml b/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.4-db2-mounts.yaml index 1fd0fd37a4..31b01fe2e2 100644 --- a/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.4-db2-mounts.yaml +++ b/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.4-db2-mounts.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 diff --git a/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.5-oracle-multi-sid.yaml b/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.5-oracle-multi-sid.yaml index dea0e7bebd..103709b9d4 100644 --- a/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.5-oracle-multi-sid.yaml +++ b/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.5-oracle-multi-sid.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # Create Run Flag Directory diff --git a/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.6-oracle-nfs-mounts.yaml b/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.6-oracle-nfs-mounts.yaml index 72318c610b..9d1311c4fd 100644 --- a/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.6-oracle-nfs-mounts.yaml +++ b/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.6-oracle-nfs-mounts.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + - name: Mount Install folder when using AFS become: true become_user: root diff --git a/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.6-sybase-mounts.yaml b/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.6-sybase-mounts.yaml index 07ddaa42cc..4d6435dde6 100644 --- a/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.6-sybase-mounts.yaml +++ b/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.6-sybase-mounts.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 diff --git a/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.7-afs-mounts-simplemount.yaml b/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.7-afs-mounts-simplemount.yaml index a144b1cb8f..4e28a6623b 100644 --- a/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.7-afs-mounts-simplemount.yaml +++ b/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.7-afs-mounts-simplemount.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.8-anf-mounts-simplemount.yaml b/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.8-anf-mounts-simplemount.yaml index 08400eb30a..22813286cb 100644 --- a/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.8-anf-mounts-simplemount.yaml +++ b/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.8-anf-mounts-simplemount.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Perform the ANF system mounts | diff --git a/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.9-custom-mounts.yaml b/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.9-custom-mounts.yaml index 3c9cb9e6df..30c2b3f228 100644 --- a/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.9-custom-mounts.yaml +++ b/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/2.6.9-custom-mounts.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Perform the mounts | diff --git a/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/main.yaml b/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/main.yaml index 89464d81d6..0f6f494c9f 100644 --- a/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/main.yaml +++ b/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/oracle.yaml b/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/oracle.yaml index fe612b1ae1..0cbaf15cf6 100644 --- a/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/oracle.yaml +++ b/deploy/ansible/roles-sap-os/2.6-sap-mounts/tasks/oracle.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 diff --git a/deploy/ansible/roles-sap-os/windows/2.3-sap-exports/defaults/main.yaml b/deploy/ansible/roles-sap-os/windows/2.3-sap-exports/defaults/main.yaml index fddb3dbd47..9361d415f5 100644 --- a/deploy/ansible/roles-sap-os/windows/2.3-sap-exports/defaults/main.yaml +++ b/deploy/ansible/roles-sap-os/windows/2.3-sap-exports/defaults/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # TODO: Maybe move these to a group_vars/all/distro file so that they # can be shared by all playbooks/tasks automatically, and extend with diff --git a/deploy/ansible/roles-sap-os/windows/2.3-sap-exports/tasks/main.yaml b/deploy/ansible/roles-sap-os/windows/2.3-sap-exports/tasks/main.yaml index 3732e5c840..d01b590dde 100644 --- a/deploy/ansible/roles-sap-os/windows/2.3-sap-exports/tasks/main.yaml +++ b/deploy/ansible/roles-sap-os/windows/2.3-sap-exports/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- - name: Get the SCS Server name list ansible.builtin.set_fact: diff --git a/deploy/ansible/roles-sap-os/windows/2.5-sap-users/handlers/main.yaml b/deploy/ansible/roles-sap-os/windows/2.5-sap-users/handlers/main.yaml index eedd63fb35..515bf30e5f 100644 --- a/deploy/ansible/roles-sap-os/windows/2.5-sap-users/handlers/main.yaml +++ b/deploy/ansible/roles-sap-os/windows/2.5-sap-users/handlers/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- - name: reboot diff --git a/deploy/ansible/roles-sap-os/windows/2.5-sap-users/tasks/add_group_members.yaml b/deploy/ansible/roles-sap-os/windows/2.5-sap-users/tasks/add_group_members.yaml index 471ffc46aa..a11ec2fd44 100644 --- a/deploy/ansible/roles-sap-os/windows/2.5-sap-users/tasks/add_group_members.yaml +++ b/deploy/ansible/roles-sap-os/windows/2.5-sap-users/tasks/add_group_members.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # -------------------------------------+---------------------------------------8 # # Description: Add domain members to local groups diff --git a/deploy/ansible/roles-sap-os/windows/2.5-sap-users/tasks/add_local_groups.yaml b/deploy/ansible/roles-sap-os/windows/2.5-sap-users/tasks/add_local_groups.yaml index 52ac8a98a9..675696049c 100644 --- a/deploy/ansible/roles-sap-os/windows/2.5-sap-users/tasks/add_local_groups.yaml +++ b/deploy/ansible/roles-sap-os/windows/2.5-sap-users/tasks/add_local_groups.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # -------------------------------------+---------------------------------------8 # # Description: Create a local admin group diff --git a/deploy/ansible/roles-sap-os/windows/2.5-sap-users/tasks/add_permissions.yaml b/deploy/ansible/roles-sap-os/windows/2.5-sap-users/tasks/add_permissions.yaml index 64ea87009c..1e99bc79d8 100644 --- a/deploy/ansible/roles-sap-os/windows/2.5-sap-users/tasks/add_permissions.yaml +++ b/deploy/ansible/roles-sap-os/windows/2.5-sap-users/tasks/add_permissions.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # Install the DSC modules - name: "Ensure DSC modules are installed" community.windows.win_psmodule: diff --git a/deploy/ansible/roles-sap-os/windows/2.5-sap-users/tasks/main.yaml b/deploy/ansible/roles-sap-os/windows/2.5-sap-users/tasks/main.yaml index 42a54dbc7b..f0829811ef 100644 --- a/deploy/ansible/roles-sap-os/windows/2.5-sap-users/tasks/main.yaml +++ b/deploy/ansible/roles-sap-os/windows/2.5-sap-users/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # -------------------------------------+---------------------------------------8 # # Description: Manage Windows domain users and local groups diff --git a/deploy/ansible/roles-sap-os/windows/2.6-sap-mounts/defaults/main.yaml b/deploy/ansible/roles-sap-os/windows/2.6-sap-mounts/defaults/main.yaml index ca10e9d173..c45be177dd 100644 --- a/deploy/ansible/roles-sap-os/windows/2.6-sap-mounts/defaults/main.yaml +++ b/deploy/ansible/roles-sap-os/windows/2.6-sap-mounts/defaults/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # TODO: Maybe move these to a group_vars/all/distro file so that they # can be shared by all playbooks/tasks automatically, and extend with diff --git a/deploy/ansible/roles-sap-os/windows/2.6-sap-mounts/tasks/main.yaml b/deploy/ansible/roles-sap-os/windows/2.6-sap-mounts/tasks/main.yaml index 3839fa5e5d..c76da46c04 100644 --- a/deploy/ansible/roles-sap-os/windows/2.6-sap-mounts/tasks/main.yaml +++ b/deploy/ansible/roles-sap-os/windows/2.6-sap-mounts/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 diff --git a/deploy/ansible/roles-sap/0.1-bom-validator/tasks/aggregate_bom.yaml b/deploy/ansible/roles-sap/0.1-bom-validator/tasks/aggregate_bom.yaml index d084832248..fd84e2129a 100644 --- a/deploy/ansible/roles-sap/0.1-bom-validator/tasks/aggregate_bom.yaml +++ b/deploy/ansible/roles-sap/0.1-bom-validator/tasks/aggregate_bom.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- - name: "aggregate_bom: - Informational" ansible.builtin.debug: diff --git a/deploy/ansible/roles-sap/0.1-bom-validator/tasks/aggregate_bom_files.yaml b/deploy/ansible/roles-sap/0.1-bom-validator/tasks/aggregate_bom_files.yaml index 733e44726e..55157c4ec0 100644 --- a/deploy/ansible/roles-sap/0.1-bom-validator/tasks/aggregate_bom_files.yaml +++ b/deploy/ansible/roles-sap/0.1-bom-validator/tasks/aggregate_bom_files.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # Directory Object handling for BOM aggregation diff --git a/deploy/ansible/roles-sap/0.1-bom-validator/tasks/bom_download.yaml b/deploy/ansible/roles-sap/0.1-bom-validator/tasks/bom_download.yaml index e620d52aba..2ca33211c1 100644 --- a/deploy/ansible/roles-sap/0.1-bom-validator/tasks/bom_download.yaml +++ b/deploy/ansible/roles-sap/0.1-bom-validator/tasks/bom_download.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # -------------------------------------+---------------------------------------8 # Step: 01 diff --git a/deploy/ansible/roles-sap/0.1-bom-validator/tasks/bom_validator.yaml b/deploy/ansible/roles-sap/0.1-bom-validator/tasks/bom_validator.yaml index 820d298aa0..13b6a6345d 100644 --- a/deploy/ansible/roles-sap/0.1-bom-validator/tasks/bom_validator.yaml +++ b/deploy/ansible/roles-sap/0.1-bom-validator/tasks/bom_validator.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/roles-sap/0.1-bom-validator/tasks/dynamic_bom_processing.yaml b/deploy/ansible/roles-sap/0.1-bom-validator/tasks/dynamic_bom_processing.yaml index 1310e5f639..f9aaa03fd4 100644 --- a/deploy/ansible/roles-sap/0.1-bom-validator/tasks/dynamic_bom_processing.yaml +++ b/deploy/ansible/roles-sap/0.1-bom-validator/tasks/dynamic_bom_processing.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # -------------------------------------+---------------------------------------8 # # Description: Dynamic BOM Processing diff --git a/deploy/ansible/roles-sap/0.1-bom-validator/tasks/main.yaml b/deploy/ansible/roles-sap/0.1-bom-validator/tasks/main.yaml index 22eccf35b3..f8c2e26f21 100644 --- a/deploy/ansible/roles-sap/0.1-bom-validator/tasks/main.yaml +++ b/deploy/ansible/roles-sap/0.1-bom-validator/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Role to process the BOM | diff --git a/deploy/ansible/roles-sap/0.1-bom-validator/tasks/pre_checks.yaml b/deploy/ansible/roles-sap/0.1-bom-validator/tasks/pre_checks.yaml index 0b8dcf6af8..3d0a64db60 100644 --- a/deploy/ansible/roles-sap/0.1-bom-validator/tasks/pre_checks.yaml +++ b/deploy/ansible/roles-sap/0.1-bom-validator/tasks/pre_checks.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # -------------------------------------+---------------------------------------8 # diff --git a/deploy/ansible/roles-sap/0.1-bom-validator/tasks/sap_sso_authentication.yaml b/deploy/ansible/roles-sap/0.1-bom-validator/tasks/sap_sso_authentication.yaml index 3e7b8925bd..42ec580cdd 100644 --- a/deploy/ansible/roles-sap/0.1-bom-validator/tasks/sap_sso_authentication.yaml +++ b/deploy/ansible/roles-sap/0.1-bom-validator/tasks/sap_sso_authentication.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # -------------------------------------+---------------------------------------8 # # Description: SAP SSO Authentication Process diff --git a/deploy/ansible/roles-sap/0.1-bom-validator/templates/bom.j2 b/deploy/ansible/roles-sap/0.1-bom-validator/templates/bom.j2 index fb37dcef23..35d2bf9414 100644 --- a/deploy/ansible/roles-sap/0.1-bom-validator/templates/bom.j2 +++ b/deploy/ansible/roles-sap/0.1-bom-validator/templates/bom.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} name: {{ root_bom.name }} filename: {% if root_bom.filename is defined %}{{ root_bom.filename }}{% endif %} diff --git a/deploy/ansible/roles-sap/0.1-bom-validator/vars/main.yaml b/deploy/ansible/roles-sap/0.1-bom-validator/vars/main.yaml index e267d3d989..d73f348fa7 100644 --- a/deploy/ansible/roles-sap/0.1-bom-validator/vars/main.yaml +++ b/deploy/ansible/roles-sap/0.1-bom-validator/vars/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | END | # +------------------------------------4--------------------------------------*/ diff --git a/deploy/ansible/roles-sap/3.3-bom-processing/defaults/main.yaml b/deploy/ansible/roles-sap/3.3-bom-processing/defaults/main.yaml index 728c366dff..794eb84b5f 100644 --- a/deploy/ansible/roles-sap/3.3-bom-processing/defaults/main.yaml +++ b/deploy/ansible/roles-sap/3.3-bom-processing/defaults/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # TODO: Maybe move these to a group_vars/all/distro file so that they # can be shared by all playbooks/tasks automatically, and extend with diff --git a/deploy/ansible/roles-sap/3.3-bom-processing/tasks/bom_processor.yaml b/deploy/ansible/roles-sap/3.3-bom-processing/tasks/bom_processor.yaml index b5c417f87a..8f100b3bcb 100644 --- a/deploy/ansible/roles-sap/3.3-bom-processing/tasks/bom_processor.yaml +++ b/deploy/ansible/roles-sap/3.3-bom-processing/tasks/bom_processor.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/roles-sap/3.3-bom-processing/tasks/main.yaml b/deploy/ansible/roles-sap/3.3-bom-processing/tasks/main.yaml index 6126801469..fe72cee7c3 100644 --- a/deploy/ansible/roles-sap/3.3-bom-processing/tasks/main.yaml +++ b/deploy/ansible/roles-sap/3.3-bom-processing/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Role to process the BOM | diff --git a/deploy/ansible/roles-sap/3.3-bom-processing/tasks/pre_checks.yaml b/deploy/ansible/roles-sap/3.3-bom-processing/tasks/pre_checks.yaml index 9d9c89df0d..fbf38af9f7 100644 --- a/deploy/ansible/roles-sap/3.3-bom-processing/tasks/pre_checks.yaml +++ b/deploy/ansible/roles-sap/3.3-bom-processing/tasks/pre_checks.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # -------------------------------------+---------------------------------------8 diff --git a/deploy/ansible/roles-sap/3.3-bom-processing/tasks/process_exe_archives.yaml b/deploy/ansible/roles-sap/3.3-bom-processing/tasks/process_exe_archives.yaml index 3d22009c0a..1abdb13325 100644 --- a/deploy/ansible/roles-sap/3.3-bom-processing/tasks/process_exe_archives.yaml +++ b/deploy/ansible/roles-sap/3.3-bom-processing/tasks/process_exe_archives.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- - name: 'Create temporary extract directory {{ item.archive }}' diff --git a/deploy/ansible/roles-sap/3.3.1-bom-utility/defaults/main.yaml b/deploy/ansible/roles-sap/3.3.1-bom-utility/defaults/main.yaml index ec5197d207..f26d69e963 100644 --- a/deploy/ansible/roles-sap/3.3.1-bom-utility/defaults/main.yaml +++ b/deploy/ansible/roles-sap/3.3.1-bom-utility/defaults/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # TODO: Maybe move these to a group_vars/all/distro file so that they # can be shared by all playbooks/tasks automatically, and extend with diff --git a/deploy/ansible/roles-sap/3.3.1-bom-utility/tasks/bom-register.yaml b/deploy/ansible/roles-sap/3.3.1-bom-utility/tasks/bom-register.yaml index 7370efafee..966fe2408b 100644 --- a/deploy/ansible/roles-sap/3.3.1-bom-utility/tasks/bom-register.yaml +++ b/deploy/ansible/roles-sap/3.3.1-bom-utility/tasks/bom-register.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # Inputs: # bom_name - Name of BOM (ex: S41909SPS03_v0001ms) # diff --git a/deploy/ansible/roles-sap/3.3.1-bom-utility/tasks/bom-template.yaml b/deploy/ansible/roles-sap/3.3.1-bom-utility/tasks/bom-template.yaml index d5113e8c71..272dd435ca 100644 --- a/deploy/ansible/roles-sap/3.3.1-bom-utility/tasks/bom-template.yaml +++ b/deploy/ansible/roles-sap/3.3.1-bom-utility/tasks/bom-template.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # -------------------------------------+---------------------------------------8 diff --git a/deploy/ansible/roles-sap/5.0.0-scs-install/defaults/main.yml b/deploy/ansible/roles-sap/5.0.0-scs-install/defaults/main.yml index aadc22edad..8b61a2f4b3 100644 --- a/deploy/ansible/roles-sap/5.0.0-scs-install/defaults/main.yml +++ b/deploy/ansible/roles-sap/5.0.0-scs-install/defaults/main.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- distro_name: "{{ ansible_distribution | upper }}-{{ ansible_distribution_major_version }}" distribution_id: "{{ ansible_distribution | lower ~ ansible_distribution_major_version }}" diff --git a/deploy/ansible/roles-sap/5.0.0-scs-install/tasks/main.yaml b/deploy/ansible/roles-sap/5.0.0-scs-install/tasks/main.yaml index 58df9bb180..3a887e7fea 100644 --- a/deploy/ansible/roles-sap/5.0.0-scs-install/tasks/main.yaml +++ b/deploy/ansible/roles-sap/5.0.0-scs-install/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | SAP: Register BOM | diff --git a/deploy/ansible/roles-sap/5.0.1-scs-ha-install/tasks/main.yaml b/deploy/ansible/roles-sap/5.0.1-scs-ha-install/tasks/main.yaml index 34079a9a66..a305f99969 100644 --- a/deploy/ansible/roles-sap/5.0.1-scs-ha-install/tasks/main.yaml +++ b/deploy/ansible/roles-sap/5.0.1-scs-ha-install/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | SAP: Register BOM | diff --git a/deploy/ansible/roles-sap/5.0.2-ers-ha-install/tasks/main.yaml b/deploy/ansible/roles-sap/5.0.2-ers-ha-install/tasks/main.yaml index 0f773283f0..ccacb1547c 100644 --- a/deploy/ansible/roles-sap/5.0.2-ers-ha-install/tasks/main.yaml +++ b/deploy/ansible/roles-sap/5.0.2-ers-ha-install/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | SAP: Register BOM | diff --git a/deploy/ansible/roles-sap/5.1-dbload/tasks/main.yaml b/deploy/ansible/roles-sap/5.1-dbload/tasks/main.yaml index f3909f0dd5..724d5ad7bc 100644 --- a/deploy/ansible/roles-sap/5.1-dbload/tasks/main.yaml +++ b/deploy/ansible/roles-sap/5.1-dbload/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | SAP: Register BOM | diff --git a/deploy/ansible/roles-sap/5.1-dbload/tasks/oracle-postprocessing.yaml b/deploy/ansible/roles-sap/5.1-dbload/tasks/oracle-postprocessing.yaml index 9a5251e619..c95432a1e9 100644 --- a/deploy/ansible/roles-sap/5.1-dbload/tasks/oracle-postprocessing.yaml +++ b/deploy/ansible/roles-sap/5.1-dbload/tasks/oracle-postprocessing.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + - name: "ORACLE Post Processing: Set Variables" ansible.builtin.set_fact: PAS: 'pas' diff --git a/deploy/ansible/roles-sap/5.1-dbload/tasks/oracle.yaml b/deploy/ansible/roles-sap/5.1-dbload/tasks/oracle.yaml index 7e384a4420..076f03a465 100644 --- a/deploy/ansible/roles-sap/5.1-dbload/tasks/oracle.yaml +++ b/deploy/ansible/roles-sap/5.1-dbload/tasks/oracle.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # Create ORA users for MULTI-SID Installation on Database Node. - name: "ORACLE DBLoad (sharedHome): ORA{{ sid_to_be_deployed.sid }} User creation" ansible.builtin.user: diff --git a/deploy/ansible/roles-sap/5.1-dbload/templates/listener.j2 b/deploy/ansible/roles-sap/5.1-dbload/templates/listener.j2 index b9b21e54c7..29c5bec024 100644 --- a/deploy/ansible/roles-sap/5.1-dbload/templates/listener.j2 +++ b/deploy/ansible/roles-sap/5.1-dbload/templates/listener.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} ################ # Filename......: listener.ora # Created.......: created by SAP AG, R/3 Rel. >= 6.10 diff --git a/deploy/ansible/roles-sap/5.1-dbload/templates/tnsnames.j2 b/deploy/ansible/roles-sap/5.1-dbload/templates/tnsnames.j2 index 6f4a3c8943..c86c4bb8cc 100644 --- a/deploy/ansible/roles-sap/5.1-dbload/templates/tnsnames.j2 +++ b/deploy/ansible/roles-sap/5.1-dbload/templates/tnsnames.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} ################ # Filename......: tnsnames.ora # Created.......: created by SAP AG, R/3 Rel. >= 6.10 diff --git a/deploy/ansible/roles-sap/5.2-pas-install/defaults/main.yaml b/deploy/ansible/roles-sap/5.2-pas-install/defaults/main.yaml index 4de60b34dd..f984392faa 100644 --- a/deploy/ansible/roles-sap/5.2-pas-install/defaults/main.yaml +++ b/deploy/ansible/roles-sap/5.2-pas-install/defaults/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # TODO: Maybe move these to a group_vars/all/distro file so that they # can be shared by all playbooks/tasks automatically, and extend with diff --git a/deploy/ansible/roles-sap/5.2-pas-install/tasks/main.yaml b/deploy/ansible/roles-sap/5.2-pas-install/tasks/main.yaml index da29e9aeb1..2743a46fd3 100644 --- a/deploy/ansible/roles-sap/5.2-pas-install/tasks/main.yaml +++ b/deploy/ansible/roles-sap/5.2-pas-install/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | SAP: Register BOM | diff --git a/deploy/ansible/roles-sap/5.3-app-install/defaults/main.yaml b/deploy/ansible/roles-sap/5.3-app-install/defaults/main.yaml index 29d40e1576..b66f5c0931 100644 --- a/deploy/ansible/roles-sap/5.3-app-install/defaults/main.yaml +++ b/deploy/ansible/roles-sap/5.3-app-install/defaults/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # TODO: Maybe move these to a group_vars/all/distro file so that they # can be shared by all playbooks/tasks automatically, and extend with diff --git a/deploy/ansible/roles-sap/5.3-app-install/tasks/main.yaml b/deploy/ansible/roles-sap/5.3-app-install/tasks/main.yaml index 21b4d05e91..db787b7644 100644 --- a/deploy/ansible/roles-sap/5.3-app-install/tasks/main.yaml +++ b/deploy/ansible/roles-sap/5.3-app-install/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | SAP: Register BOM | diff --git a/deploy/ansible/roles-sap/5.4-web-install/tasks/main.yaml b/deploy/ansible/roles-sap/5.4-web-install/tasks/main.yaml index 7bffe103e9..40b3620c7e 100644 --- a/deploy/ansible/roles-sap/5.4-web-install/tasks/main.yaml +++ b/deploy/ansible/roles-sap/5.4-web-install/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # SAP: Register BOM # SAP WEB: deploy Web Dispatcher Parameter file install template # SAP WEB: Install diff --git a/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/defaults/main.yml b/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/defaults/main.yml index ef10eb20e7..ab5afa7bd1 100644 --- a/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/defaults/main.yml +++ b/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/defaults/main.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- distro_name: "{{ ansible_distribution | upper }}-{{ ansible_distribution_major_version }}" diff --git a/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/tasks/5.5.1-set_runtime_facts.yml b/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/tasks/5.5.1-set_runtime_facts.yml index 5539cbdab2..804581f14f 100644 --- a/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/tasks/5.5.1-set_runtime_facts.yml +++ b/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/tasks/5.5.1-set_runtime_facts.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 diff --git a/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/tasks/5.5.2-pre_checks.yml b/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/tasks/5.5.2-pre_checks.yml index d88c57246d..36a9e47ebd 100644 --- a/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/tasks/5.5.2-pre_checks.yml +++ b/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/tasks/5.5.2-pre_checks.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # sapcontrol EXITCODES diff --git a/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/tasks/5.5.3-SAPHanaSR.yml b/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/tasks/5.5.3-SAPHanaSR.yml index 096362d6de..fca6a94270 100644 --- a/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/tasks/5.5.3-SAPHanaSR.yml +++ b/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/tasks/5.5.3-SAPHanaSR.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 diff --git a/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/tasks/5.5.4-provision.yml b/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/tasks/5.5.4-provision.yml index bf1cb105a5..8cf684afc6 100644 --- a/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/tasks/5.5.4-provision.yml +++ b/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/tasks/5.5.4-provision.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + ########################################################################################### # This file calls the OS specific tasks to configure HANA specific clustering resources #8 ########################################################################################### diff --git a/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/tasks/5.5.4.0-clusterPrep-RedHat.yml b/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/tasks/5.5.4.0-clusterPrep-RedHat.yml index 38e0fc9ebc..aa231f4bc0 100644 --- a/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/tasks/5.5.4.0-clusterPrep-RedHat.yml +++ b/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/tasks/5.5.4.0-clusterPrep-RedHat.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # RHEL Clustering - Deploy HANA cluster resources diff --git a/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/tasks/5.5.4.0-clusterPrep-Suse.yml b/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/tasks/5.5.4.0-clusterPrep-Suse.yml index 3427dd11bb..80552e4cee 100644 --- a/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/tasks/5.5.4.0-clusterPrep-Suse.yml +++ b/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/tasks/5.5.4.0-clusterPrep-Suse.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # SLES Clustering - Deploy HANA clustering Resources diff --git a/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/tasks/5.5.4.1-cluster-RedHat.yml b/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/tasks/5.5.4.1-cluster-RedHat.yml index 2a53019986..f0941b8b30 100644 --- a/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/tasks/5.5.4.1-cluster-RedHat.yml +++ b/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/tasks/5.5.4.1-cluster-RedHat.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # RHEL Clustering - Deploy HANA cluster resources diff --git a/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/tasks/5.5.4.1-cluster-Suse.yml b/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/tasks/5.5.4.1-cluster-Suse.yml index 0fd9ccc4ca..0ebfe3dc5a 100644 --- a/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/tasks/5.5.4.1-cluster-Suse.yml +++ b/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/tasks/5.5.4.1-cluster-Suse.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # SLES Clustering - Deploy HANA clustering Resources diff --git a/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/tasks/5.5.5-post_provision_report.yml b/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/tasks/5.5.5-post_provision_report.yml index 819a68205f..224edd618e 100644 --- a/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/tasks/5.5.5-post_provision_report.yml +++ b/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/tasks/5.5.5-post_provision_report.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/tasks/cluster-Suse-large-instance.yml b/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/tasks/cluster-Suse-large-instance.yml index ea007a839b..5c21303c42 100644 --- a/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/tasks/cluster-Suse-large-instance.yml +++ b/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/tasks/cluster-Suse-large-instance.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # SLES Clustering diff --git a/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/tasks/main.yml b/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/tasks/main.yml index 96ea5ba60d..70fb86ac17 100644 --- a/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/tasks/main.yml +++ b/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/tasks/main.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- - name: "5.5 HANADB Pacemaker - import - set_runtime_facts" ansible.builtin.include_tasks: 5.5.1-set_runtime_facts.yml diff --git a/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/templates/20-saphana-rhel.j2 b/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/templates/20-saphana-rhel.j2 index a51b5a8c91..fc4e5e2bc8 100644 --- a/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/templates/20-saphana-rhel.j2 +++ b/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/templates/20-saphana-rhel.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} Cmnd_Alias SITEA_SOK = /usr/sbin/crm_attribute -n hana_{{ db_sid | lower }}_site_srHook_SITEA -v SOK -t crm_config -s SAPHanaSR Cmnd_Alias SITEA_SFAIL = /usr/sbin/crm_attribute -n hana_{{ db_sid | lower }}_site_srHook_SITEA -v SFAIL -t crm_config -s SAPHanaSR Cmnd_Alias SITEB_SOK = /usr/sbin/crm_attribute -n hana_{{ db_sid | lower }}_site_srHook_SITEB -v SOK -t crm_config -s SAPHanaSR diff --git a/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/templates/20-saphana-suse.j2 b/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/templates/20-saphana-suse.j2 index f4dea0509c..a1d64441e6 100644 --- a/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/templates/20-saphana-suse.j2 +++ b/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/templates/20-saphana-suse.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} # Needed for susHanaSR and susChkSrv Python hooks Cmnd_Alias SOK_SITEA = /usr/sbin/crm_attribute -n hana_{{ db_sid | lower }}_site_srHook_SITEA -v SOK -t crm_config -s SAPHanaSR Cmnd_Alias SFAIL_SITEA = /usr/sbin/crm_attribute -n hana_{{ db_sid | lower }}_site_srHook_SITEA -v SFAIL -t crm_config -s SAPHanaSR diff --git a/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/templates/corosync.conf.j2 b/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/templates/corosync.conf.j2 index ab4e2faba6..33bfad4989 100644 --- a/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/templates/corosync.conf.j2 +++ b/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/templates/corosync.conf.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} # Please read the corosync.conf.5 manual page totem { diff --git a/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/vars/main.yml b/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/vars/main.yml index 035ce4e416..53a3266558 100644 --- a/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/vars/main.yml +++ b/deploy/ansible/roles-sap/5.5-hanadb-pacemaker/vars/main.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- cluster_totem: diff --git a/deploy/ansible/roles-sap/5.6-scsers-pacemaker/defaults/main.yml b/deploy/ansible/roles-sap/5.6-scsers-pacemaker/defaults/main.yml index 67f2f33bab..d33fb448cb 100644 --- a/deploy/ansible/roles-sap/5.6-scsers-pacemaker/defaults/main.yml +++ b/deploy/ansible/roles-sap/5.6-scsers-pacemaker/defaults/main.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # TODO: Maybe move these to a group_vars/all/distro file so that they # can be shared by all playbooks/tasks automatically, and extend with diff --git a/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.1-set_runtime_facts.yml b/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.1-set_runtime_facts.yml index 918e60f17f..eaea92f598 100644 --- a/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.1-set_runtime_facts.yml +++ b/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.1-set_runtime_facts.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 diff --git a/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.2-pre_checks.yml b/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.2-pre_checks.yml index 2f615c1bf0..8eab6bbda2 100644 --- a/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.2-pre_checks.yml +++ b/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.2-pre_checks.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # sapcontrol EXITCODES diff --git a/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.3-prep_steps.yml b/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.3-prep_steps.yml index 23dce98dc9..55d43f9f7b 100644 --- a/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.3-prep_steps.yml +++ b/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.3-prep_steps.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- ####################################################################################################################### diff --git a/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.4-provision.yml b/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.4-provision.yml index 7e8e6c5509..71306e674f 100644 --- a/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.4-provision.yml +++ b/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.4-provision.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- ########################################################################################### diff --git a/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.4.0-cluster-RedHat.yml b/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.4.0-cluster-RedHat.yml index 90da4bbaae..6824afd17e 100644 --- a/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.4.0-cluster-RedHat.yml +++ b/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.4.0-cluster-RedHat.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # RHEL Clustering - Deploy ASCS/ERS cluster resources diff --git a/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.4.0-cluster-Suse-SimpleMount.yml b/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.4.0-cluster-Suse-SimpleMount.yml index 96538d3a76..184fce4e87 100644 --- a/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.4.0-cluster-Suse-SimpleMount.yml +++ b/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.4.0-cluster-Suse-SimpleMount.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # SLES Clustering - Deploy ASCS/ERS clustering Resources diff --git a/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.4.0-cluster-Suse.yml b/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.4.0-cluster-Suse.yml index b59507763c..b1051deb97 100644 --- a/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.4.0-cluster-Suse.yml +++ b/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.4.0-cluster-Suse.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # SLES Clustering - Deploy ASCS/ERS clustering Resources diff --git a/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.4.1-scsersprofile.yaml b/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.4.1-scsersprofile.yaml index 459dc437b8..01db6771d1 100644 --- a/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.4.1-scsersprofile.yaml +++ b/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.4.1-scsersprofile.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- ############################################################################################### # Enqueue Server 2 Information # diff --git a/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.4.2-sap-resources-RedHat.yml b/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.4.2-sap-resources-RedHat.yml index 7db4635765..1b400f54ca 100644 --- a/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.4.2-sap-resources-RedHat.yml +++ b/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.4.2-sap-resources-RedHat.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # RHEL Clustering - Deploy ASCS/ERS cluster resources diff --git a/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.4.2-sap-resources-Suse-SimpleMount.yml b/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.4.2-sap-resources-Suse-SimpleMount.yml index cf2688414e..0bb1ef52e1 100644 --- a/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.4.2-sap-resources-Suse-SimpleMount.yml +++ b/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.4.2-sap-resources-Suse-SimpleMount.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # We currently support the usage of NFS v4.1 only. NFS v3 is not supported. diff --git a/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.4.2-sap-resources-Suse.yml b/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.4.2-sap-resources-Suse.yml index 253e3fe109..2ad1d22c0a 100644 --- a/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.4.2-sap-resources-Suse.yml +++ b/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.4.2-sap-resources-Suse.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # SLES Clustering - Deploy ASCS/ERS SAP clustering Resources diff --git a/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.5-post_provision_report.yml b/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.5-post_provision_report.yml index 328e867519..09ca2d20ad 100644 --- a/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.5-post_provision_report.yml +++ b/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.5-post_provision_report.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # @TODO- Check if any modification is required from ASCS/SCS resources perspective diff --git a/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.6-validate.yml b/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.6-validate.yml index 61108ed6cc..4b45d7edeb 100644 --- a/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.6-validate.yml +++ b/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.6-validate.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # Validate that the SCS cluster is working as expected diff --git a/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.7-config-systemd-sap-start.yml b/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.7-config-systemd-sap-start.yml index 0df7b494db..2a431ed06a 100644 --- a/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.7-config-systemd-sap-start.yml +++ b/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/5.6.7-config-systemd-sap-start.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Systemd-Based SAP Startup Framework - BEGIN | diff --git a/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/main.yml b/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/main.yml index b4a768eac0..61cb9621e9 100644 --- a/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/main.yml +++ b/deploy/ansible/roles-sap/5.6-scsers-pacemaker/tasks/main.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- - name: "5.6 SCSERS Pacemaker - set_runtime_facts" ansible.builtin.include_tasks: diff --git a/deploy/ansible/roles-sap/5.6-scsers-pacemaker/templates/corosync.conf.j2 b/deploy/ansible/roles-sap/5.6-scsers-pacemaker/templates/corosync.conf.j2 index 880087f679..869a6430bf 100644 --- a/deploy/ansible/roles-sap/5.6-scsers-pacemaker/templates/corosync.conf.j2 +++ b/deploy/ansible/roles-sap/5.6-scsers-pacemaker/templates/corosync.conf.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} # Please read the corosync.conf.5 manual page totem { diff --git a/deploy/ansible/roles-sap/5.6-scsers-pacemaker/vars/main.yml b/deploy/ansible/roles-sap/5.6-scsers-pacemaker/vars/main.yml index 0ef21a66c5..c91100d550 100644 --- a/deploy/ansible/roles-sap/5.6-scsers-pacemaker/vars/main.yml +++ b/deploy/ansible/roles-sap/5.6-scsers-pacemaker/vars/main.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- cluster_totem: diff --git a/deploy/ansible/roles-sap/5.7-db2-pacemaker/defaults/main.yml b/deploy/ansible/roles-sap/5.7-db2-pacemaker/defaults/main.yml index 22e750646d..651c269331 100644 --- a/deploy/ansible/roles-sap/5.7-db2-pacemaker/defaults/main.yml +++ b/deploy/ansible/roles-sap/5.7-db2-pacemaker/defaults/main.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- iscsi_object: iqn.2006-04 diff --git a/deploy/ansible/roles-sap/5.7-db2-pacemaker/tasks/5.7.1-set_runtime_facts.yml b/deploy/ansible/roles-sap/5.7-db2-pacemaker/tasks/5.7.1-set_runtime_facts.yml index 7ba5247c58..767d75ef55 100644 --- a/deploy/ansible/roles-sap/5.7-db2-pacemaker/tasks/5.7.1-set_runtime_facts.yml +++ b/deploy/ansible/roles-sap/5.7-db2-pacemaker/tasks/5.7.1-set_runtime_facts.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 diff --git a/deploy/ansible/roles-sap/5.7-db2-pacemaker/tasks/5.7.2-pre_checks.yml b/deploy/ansible/roles-sap/5.7-db2-pacemaker/tasks/5.7.2-pre_checks.yml index d35afafef7..0af9ff4e8c 100644 --- a/deploy/ansible/roles-sap/5.7-db2-pacemaker/tasks/5.7.2-pre_checks.yml +++ b/deploy/ansible/roles-sap/5.7-db2-pacemaker/tasks/5.7.2-pre_checks.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # sapcontrol EXITCODES diff --git a/deploy/ansible/roles-sap/5.7-db2-pacemaker/tasks/5.7.3-provision.yml b/deploy/ansible/roles-sap/5.7-db2-pacemaker/tasks/5.7.3-provision.yml index b2474d9328..0bd269810e 100644 --- a/deploy/ansible/roles-sap/5.7-db2-pacemaker/tasks/5.7.3-provision.yml +++ b/deploy/ansible/roles-sap/5.7-db2-pacemaker/tasks/5.7.3-provision.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- ########################################################################################### diff --git a/deploy/ansible/roles-sap/5.7-db2-pacemaker/tasks/5.7.3.0-cluster-RedHat.yml b/deploy/ansible/roles-sap/5.7-db2-pacemaker/tasks/5.7.3.0-cluster-RedHat.yml index 6791db42bd..8452e54acf 100644 --- a/deploy/ansible/roles-sap/5.7-db2-pacemaker/tasks/5.7.3.0-cluster-RedHat.yml +++ b/deploy/ansible/roles-sap/5.7-db2-pacemaker/tasks/5.7.3.0-cluster-RedHat.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # RHEL Clustering - Deploy DB2 cluster resources diff --git a/deploy/ansible/roles-sap/5.7-db2-pacemaker/tasks/5.7.3.0-cluster-Suse.yml b/deploy/ansible/roles-sap/5.7-db2-pacemaker/tasks/5.7.3.0-cluster-Suse.yml index ec571d25ba..088fa5d312 100644 --- a/deploy/ansible/roles-sap/5.7-db2-pacemaker/tasks/5.7.3.0-cluster-Suse.yml +++ b/deploy/ansible/roles-sap/5.7-db2-pacemaker/tasks/5.7.3.0-cluster-Suse.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # SLES Clustering - Deploy DB2 clustering Resources diff --git a/deploy/ansible/roles-sap/5.7-db2-pacemaker/tasks/5.7.4-post_provision_report.yml b/deploy/ansible/roles-sap/5.7-db2-pacemaker/tasks/5.7.4-post_provision_report.yml index 8e0440d466..6f82fb4ef5 100644 --- a/deploy/ansible/roles-sap/5.7-db2-pacemaker/tasks/5.7.4-post_provision_report.yml +++ b/deploy/ansible/roles-sap/5.7-db2-pacemaker/tasks/5.7.4-post_provision_report.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/roles-sap/5.7-db2-pacemaker/tasks/main.yml b/deploy/ansible/roles-sap/5.7-db2-pacemaker/tasks/main.yml index 998f0682ab..ede8f1688a 100644 --- a/deploy/ansible/roles-sap/5.7-db2-pacemaker/tasks/main.yml +++ b/deploy/ansible/roles-sap/5.7-db2-pacemaker/tasks/main.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- - name: "5.7 DB2 Pacemaker - set_runtime_facts" ansible.builtin.import_tasks: 5.7.1-set_runtime_facts.yml diff --git a/deploy/ansible/roles-sap/5.7-db2-pacemaker/templates/corosync.conf.j2 b/deploy/ansible/roles-sap/5.7-db2-pacemaker/templates/corosync.conf.j2 index 880087f679..869a6430bf 100644 --- a/deploy/ansible/roles-sap/5.7-db2-pacemaker/templates/corosync.conf.j2 +++ b/deploy/ansible/roles-sap/5.7-db2-pacemaker/templates/corosync.conf.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} # Please read the corosync.conf.5 manual page totem { diff --git a/deploy/ansible/roles-sap/5.7-db2-pacemaker/vars/main.yml b/deploy/ansible/roles-sap/5.7-db2-pacemaker/vars/main.yml index 4b1706a794..b77a3f6295 100644 --- a/deploy/ansible/roles-sap/5.7-db2-pacemaker/vars/main.yml +++ b/deploy/ansible/roles-sap/5.7-db2-pacemaker/vars/main.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- cluster_totem: diff --git a/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/defaults/main.yml b/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/defaults/main.yml index e35807b734..3e0525e03b 100644 --- a/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/defaults/main.yml +++ b/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/defaults/main.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- iscsi_object: iqn.2006-04 diff --git a/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/tasks/5.8.1-set_runtime_facts.yml b/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/tasks/5.8.1-set_runtime_facts.yml index db714d06ce..ef0e39d682 100644 --- a/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/tasks/5.8.1-set_runtime_facts.yml +++ b/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/tasks/5.8.1-set_runtime_facts.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 diff --git a/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/tasks/5.8.2-pre_checks.yml b/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/tasks/5.8.2-pre_checks.yml index a09c6baf72..228f014056 100644 --- a/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/tasks/5.8.2-pre_checks.yml +++ b/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/tasks/5.8.2-pre_checks.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # sapcontrol EXITCODES diff --git a/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/tasks/5.8.3-SAPHanaSRMultiTarget-RedHat.yml b/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/tasks/5.8.3-SAPHanaSRMultiTarget-RedHat.yml index 1081641f79..b4239c4a35 100644 --- a/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/tasks/5.8.3-SAPHanaSRMultiTarget-RedHat.yml +++ b/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/tasks/5.8.3-SAPHanaSRMultiTarget-RedHat.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 diff --git a/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/tasks/5.8.3-SAPHanaSRMultiTarget-Suse.yml b/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/tasks/5.8.3-SAPHanaSRMultiTarget-Suse.yml index 65370dacb3..e708b77af3 100644 --- a/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/tasks/5.8.3-SAPHanaSRMultiTarget-Suse.yml +++ b/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/tasks/5.8.3-SAPHanaSRMultiTarget-Suse.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 diff --git a/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/tasks/5.8.4-provision-ScaleOut.yml b/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/tasks/5.8.4-provision-ScaleOut.yml index 9bdffe2970..94e62a2014 100644 --- a/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/tasks/5.8.4-provision-ScaleOut.yml +++ b/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/tasks/5.8.4-provision-ScaleOut.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- ########################################################################################### diff --git a/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/tasks/5.8.4.0-clusterPrep-ScaleOut-RedHat.yml b/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/tasks/5.8.4.0-clusterPrep-ScaleOut-RedHat.yml index abcdca2c33..41a31d98ce 100644 --- a/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/tasks/5.8.4.0-clusterPrep-ScaleOut-RedHat.yml +++ b/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/tasks/5.8.4.0-clusterPrep-ScaleOut-RedHat.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # RHEL Clustering - Deploy HANA cluster resources diff --git a/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/tasks/5.8.4.0-clusterPrep-ScaleOut-Suse.yml b/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/tasks/5.8.4.0-clusterPrep-ScaleOut-Suse.yml index 14d529442c..981534b84c 100644 --- a/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/tasks/5.8.4.0-clusterPrep-ScaleOut-Suse.yml +++ b/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/tasks/5.8.4.0-clusterPrep-ScaleOut-Suse.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # SLES Clustering - Deploy HANA clustering Resources diff --git a/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/tasks/5.8.4.1-cluster-ScaleOut-RedHat.yml b/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/tasks/5.8.4.1-cluster-ScaleOut-RedHat.yml index 3d81e83c19..241aa10c85 100644 --- a/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/tasks/5.8.4.1-cluster-ScaleOut-RedHat.yml +++ b/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/tasks/5.8.4.1-cluster-ScaleOut-RedHat.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # RHEL Clustering - Deploy HANA cluster resources diff --git a/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/tasks/5.8.4.1-cluster-ScaleOut-Suse.yml b/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/tasks/5.8.4.1-cluster-ScaleOut-Suse.yml index 4f1c021df9..227860f936 100644 --- a/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/tasks/5.8.4.1-cluster-ScaleOut-Suse.yml +++ b/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/tasks/5.8.4.1-cluster-ScaleOut-Suse.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # SLES Clustering - Deploy HANA scale out clustering Resources diff --git a/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/tasks/5.8.5-post_provision_report.yml b/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/tasks/5.8.5-post_provision_report.yml index 6db645a1f0..ab3cfc1734 100644 --- a/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/tasks/5.8.5-post_provision_report.yml +++ b/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/tasks/5.8.5-post_provision_report.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/tasks/main.yml b/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/tasks/main.yml index c0a709fd7f..c7cec1e05a 100644 --- a/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/tasks/main.yml +++ b/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/tasks/main.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- - name: "5.8 HANADB Pacemaker - import - set_runtime_facts" ansible.builtin.import_tasks: 5.8.1-set_runtime_facts.yml diff --git a/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/templates/20-saphana-rhel.j2 b/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/templates/20-saphana-rhel.j2 index d292468a9f..2c60556159 100644 --- a/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/templates/20-saphana-rhel.j2 +++ b/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/templates/20-saphana-rhel.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} Cmnd_Alias SOK = /usr/sbin/crm_attribute -n hana_{{ db_sid | lower }}_glob_srHook -v SOK -t crm_config -s SAPHanaSR Cmnd_Alias SFAIL = /usr/sbin/crm_attribute -n hana_{{ db_sid | lower }}_glob_srHook -v SFAIL -t crm_config -s SAPHanaSR diff --git a/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/templates/20-saphana-suse.j2 b/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/templates/20-saphana-suse.j2 index 4e288be225..cb7ada24d6 100644 --- a/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/templates/20-saphana-suse.j2 +++ b/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/templates/20-saphana-suse.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} # SAPHanaSR-ScaleOut needs for srHook {{ db_sid | lower }}adm ALL=(ALL) NOPASSWD: /usr/sbin/crm_attribute -n hana_{{ db_sid | lower }}_site_srHook_* {{ db_sid | lower }}adm ALL=(ALL) NOPASSWD: /usr/sbin/crm_attribute -n hana_{{ db_sid | lower }}_gsh * diff --git a/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/templates/corosync.conf.j2 b/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/templates/corosync.conf.j2 index ab4e2faba6..33bfad4989 100644 --- a/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/templates/corosync.conf.j2 +++ b/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/templates/corosync.conf.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} # Please read the corosync.conf.5 manual page totem { diff --git a/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/vars/main.yml b/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/vars/main.yml index 035ce4e416..53a3266558 100644 --- a/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/vars/main.yml +++ b/deploy/ansible/roles-sap/5.8-hanadb-scaleout-pacemaker/vars/main.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- cluster_totem: diff --git a/deploy/ansible/roles-sap/6.0.0-sapcal-install/defaults/main.yml b/deploy/ansible/roles-sap/6.0.0-sapcal-install/defaults/main.yml index 35b4d2f16c..8ca4e51bd7 100644 --- a/deploy/ansible/roles-sap/6.0.0-sapcal-install/defaults/main.yml +++ b/deploy/ansible/roles-sap/6.0.0-sapcal-install/defaults/main.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # defaults file for 6.0.0-sapcal-install diff --git a/deploy/ansible/roles-sap/6.0.0-sapcal-install/tasks/main.yml b/deploy/ansible/roles-sap/6.0.0-sapcal-install/tasks/main.yml index eb6606c04d..542d68a5c0 100644 --- a/deploy/ansible/roles-sap/6.0.0-sapcal-install/tasks/main.yml +++ b/deploy/ansible/roles-sap/6.0.0-sapcal-install/tasks/main.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # tasks file for 6.0.0-sapcal-install diff --git a/deploy/ansible/roles-sap/6.0.0-sapcal-install/vars/main.yml b/deploy/ansible/roles-sap/6.0.0-sapcal-install/vars/main.yml index 5057996055..5e73eff7fd 100644 --- a/deploy/ansible/roles-sap/6.0.0-sapcal-install/vars/main.yml +++ b/deploy/ansible/roles-sap/6.0.0-sapcal-install/vars/main.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # vars file for 6.0.0-sapcal-install diff --git a/deploy/ansible/roles-sap/7.0.0-post-install/tasks/main.yaml b/deploy/ansible/roles-sap/7.0.0-post-install/tasks/main.yaml index a6e061839c..01b21cf90a 100644 --- a/deploy/ansible/roles-sap/7.0.0-post-install/tasks/main.yaml +++ b/deploy/ansible/roles-sap/7.0.0-post-install/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Post Installation activities | diff --git a/deploy/ansible/roles-sap/windows/3.3-bom-processing/defaults/main.yaml b/deploy/ansible/roles-sap/windows/3.3-bom-processing/defaults/main.yaml index 632b86ca49..53f1d2b5bb 100644 --- a/deploy/ansible/roles-sap/windows/3.3-bom-processing/defaults/main.yaml +++ b/deploy/ansible/roles-sap/windows/3.3-bom-processing/defaults/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # TODO: Maybe move these to a group_vars/all/distro file so that they # can be shared by all playbooks/tasks automatically, and extend with diff --git a/deploy/ansible/roles-sap/windows/3.3-bom-processing/tasks/bom_processor.yaml b/deploy/ansible/roles-sap/windows/3.3-bom-processing/tasks/bom_processor.yaml index dc0ed3c01f..8b108f001e 100644 --- a/deploy/ansible/roles-sap/windows/3.3-bom-processing/tasks/bom_processor.yaml +++ b/deploy/ansible/roles-sap/windows/3.3-bom-processing/tasks/bom_processor.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*----------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/roles-sap/windows/3.3-bom-processing/tasks/main.yaml b/deploy/ansible/roles-sap/windows/3.3-bom-processing/tasks/main.yaml index c651f6f9f4..5791ece6ec 100644 --- a/deploy/ansible/roles-sap/windows/3.3-bom-processing/tasks/main.yaml +++ b/deploy/ansible/roles-sap/windows/3.3-bom-processing/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Role to process the BOM | diff --git a/deploy/ansible/roles-sap/windows/3.3-bom-processing/tasks/pre_checks.yaml b/deploy/ansible/roles-sap/windows/3.3-bom-processing/tasks/pre_checks.yaml index 9d9c89df0d..fbf38af9f7 100644 --- a/deploy/ansible/roles-sap/windows/3.3-bom-processing/tasks/pre_checks.yaml +++ b/deploy/ansible/roles-sap/windows/3.3-bom-processing/tasks/pre_checks.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # -------------------------------------+---------------------------------------8 diff --git a/deploy/ansible/roles-sap/windows/3.3-bom-processing/tasks/process_exe_archives.yaml b/deploy/ansible/roles-sap/windows/3.3-bom-processing/tasks/process_exe_archives.yaml index 28521c5448..c5d684e88c 100644 --- a/deploy/ansible/roles-sap/windows/3.3-bom-processing/tasks/process_exe_archives.yaml +++ b/deploy/ansible/roles-sap/windows/3.3-bom-processing/tasks/process_exe_archives.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- - name: 'Create temporary extract directory {{ item.archive }}' diff --git a/deploy/ansible/roles-sap/windows/3.3.1-bom-utility/defaults/main.yaml b/deploy/ansible/roles-sap/windows/3.3.1-bom-utility/defaults/main.yaml index ec5197d207..f26d69e963 100644 --- a/deploy/ansible/roles-sap/windows/3.3.1-bom-utility/defaults/main.yaml +++ b/deploy/ansible/roles-sap/windows/3.3.1-bom-utility/defaults/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # TODO: Maybe move these to a group_vars/all/distro file so that they # can be shared by all playbooks/tasks automatically, and extend with diff --git a/deploy/ansible/roles-sap/windows/3.3.1-bom-utility/tasks/bom-register.yaml b/deploy/ansible/roles-sap/windows/3.3.1-bom-utility/tasks/bom-register.yaml index 6505b86e6d..9fa2072dfa 100644 --- a/deploy/ansible/roles-sap/windows/3.3.1-bom-utility/tasks/bom-register.yaml +++ b/deploy/ansible/roles-sap/windows/3.3.1-bom-utility/tasks/bom-register.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # Inputs: # bom_name - Name of BOM (ex: S41909SPS03_v0001ms) # diff --git a/deploy/ansible/roles-sap/windows/3.3.1-bom-utility/tasks/bom-template.yaml b/deploy/ansible/roles-sap/windows/3.3.1-bom-utility/tasks/bom-template.yaml index e60acb593e..4f5498860c 100644 --- a/deploy/ansible/roles-sap/windows/3.3.1-bom-utility/tasks/bom-template.yaml +++ b/deploy/ansible/roles-sap/windows/3.3.1-bom-utility/tasks/bom-template.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # -------------------------------------+---------------------------------------8 diff --git a/deploy/ansible/roles-sap/windows/5.0.0-scs-install/defaults/main.yml b/deploy/ansible/roles-sap/windows/5.0.0-scs-install/defaults/main.yml index c165cdf816..ea8bd00ab2 100644 --- a/deploy/ansible/roles-sap/windows/5.0.0-scs-install/defaults/main.yml +++ b/deploy/ansible/roles-sap/windows/5.0.0-scs-install/defaults/main.yml @@ -1,2 +1,5 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + scs_virtual_hostname: "{% if scs_high_availability is defined %}{{ sap_sid | lower }}scs{{ scs_instance_number }}cl1{% else %}{{ hostvars[query('inventory_hostnames', '{{ sap_sid | upper }}_SCS')]['virtual_host'] | first }}{% endif %}" ers_virtual_hostname: "{{ sap_sid | lower }}ers{{ ers_instance_number }}cl2" diff --git a/deploy/ansible/roles-sap/windows/5.0.0-scs-install/tasks/main.yaml b/deploy/ansible/roles-sap/windows/5.0.0-scs-install/tasks/main.yaml index a80aa4352a..7d43759d7e 100644 --- a/deploy/ansible/roles-sap/windows/5.0.0-scs-install/tasks/main.yaml +++ b/deploy/ansible/roles-sap/windows/5.0.0-scs-install/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | SAP: Register BOM | diff --git a/deploy/ansible/roles-sap/windows/5.0.0-scs-install/templates/app-inifile-param.j2 b/deploy/ansible/roles-sap/windows/5.0.0-scs-install/templates/app-inifile-param.j2 index f4f012d6b7..a5c9c790bf 100644 --- a/deploy/ansible/roles-sap/windows/5.0.0-scs-install/templates/app-inifile-param.j2 +++ b/deploy/ansible/roles-sap/windows/5.0.0-scs-install/templates/app-inifile-param.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} ####################################################################################################################################################################################### # # # Installation service 'SAP NetWeaver 7.5 > MS SQL Server > Installation > Additional SAP System Instances > Additional Application Server Instance', product id 'NW_DI:NW750.MSS.PD' # diff --git a/deploy/ansible/roles-sap/windows/5.0.0-scs-install/templates/dbload-inifile-param.j2 b/deploy/ansible/roles-sap/windows/5.0.0-scs-install/templates/dbload-inifile-param.j2 index bfbf49c6b2..8710af63d4 100644 --- a/deploy/ansible/roles-sap/windows/5.0.0-scs-install/templates/dbload-inifile-param.j2 +++ b/deploy/ansible/roles-sap/windows/5.0.0-scs-install/templates/dbload-inifile-param.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} ###################################################################################################################################################################################### # # # Installation service 'SAP NetWeaver 7.5 > MS SQL Server > Installation > Application Server ABAP > Distributed System > Database Instance', product id 'NW_ABAP_DB:NW750.MSS.ABAP' # diff --git a/deploy/ansible/roles-sap/windows/5.0.0-scs-install/templates/pas-inifile-param.j2 b/deploy/ansible/roles-sap/windows/5.0.0-scs-install/templates/pas-inifile-param.j2 index b226de4d8e..7e831a0ba2 100644 --- a/deploy/ansible/roles-sap/windows/5.0.0-scs-install/templates/pas-inifile-param.j2 +++ b/deploy/ansible/roles-sap/windows/5.0.0-scs-install/templates/pas-inifile-param.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} #################################################################################################################################################################################### # # # Installation service 'SAP NetWeaver 7.5 > MS SQL Server > Installation > Application Server ABAP > Distributed System > Primary Application Server Instance', product id 'NW_ABAP_CI:NW750.MSS.ABAP' # diff --git a/deploy/ansible/roles-sap/windows/5.0.0-scs-install/templates/scs-inifile-param.j2 b/deploy/ansible/roles-sap/windows/5.0.0-scs-install/templates/scs-inifile-param.j2 index 57ffd46b55..a0c1357295 100644 --- a/deploy/ansible/roles-sap/windows/5.0.0-scs-install/templates/scs-inifile-param.j2 +++ b/deploy/ansible/roles-sap/windows/5.0.0-scs-install/templates/scs-inifile-param.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} #################################################################################################################################################################################### # # # Installation service 'SAP NetWeaver 7.5 > MS SQL Server > Installation > Application Server ABAP > Distributed System > ASCS Instance', product id 'NW_ABAP_ASCS:NW750.MSS.ABAP' # diff --git a/deploy/ansible/roles-sap/windows/5.0.0-scs-install/templates/scsha-inifile-param.j2 b/deploy/ansible/roles-sap/windows/5.0.0-scs-install/templates/scsha-inifile-param.j2 index 4a0c7260a4..af3ab58059 100644 --- a/deploy/ansible/roles-sap/windows/5.0.0-scs-install/templates/scsha-inifile-param.j2 +++ b/deploy/ansible/roles-sap/windows/5.0.0-scs-install/templates/scsha-inifile-param.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} #################################################################################################################################################################################### # # # Installation service 'SAP NetWeaver 7.5 > MS SQL Server > Installation > diff --git a/deploy/ansible/roles-sap/windows/5.1-dbload/tasks/main.yaml b/deploy/ansible/roles-sap/windows/5.1-dbload/tasks/main.yaml index 19015790df..8f6af130eb 100644 --- a/deploy/ansible/roles-sap/windows/5.1-dbload/tasks/main.yaml +++ b/deploy/ansible/roles-sap/windows/5.1-dbload/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | SAP: Register BOM | diff --git a/deploy/ansible/roles-sap/windows/5.1-dbload/templates/sql_disks.j2 b/deploy/ansible/roles-sap/windows/5.1-dbload/templates/sql_disks.j2 index c96b3b1e0e..d610658a7b 100644 --- a/deploy/ansible/roles-sap/windows/5.1-dbload/templates/sql_disks.j2 +++ b/deploy/ansible/roles-sap/windows/5.1-dbload/templates/sql_disks.j2 @@ -1,3 +1,6 @@ +{# Copyright (c) Microsoft Corporation. + # Licensed under the MIT License. +#} {% set sql_disks = [] %} {% set sql_data_disks_names = [] %} {% set sql_log_disks_names = [] %} diff --git a/deploy/ansible/roles-sap/windows/5.2-pas-install/defaults/main.yaml b/deploy/ansible/roles-sap/windows/5.2-pas-install/defaults/main.yaml index ec5197d207..f26d69e963 100644 --- a/deploy/ansible/roles-sap/windows/5.2-pas-install/defaults/main.yaml +++ b/deploy/ansible/roles-sap/windows/5.2-pas-install/defaults/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # TODO: Maybe move these to a group_vars/all/distro file so that they # can be shared by all playbooks/tasks automatically, and extend with diff --git a/deploy/ansible/roles-sap/windows/5.2-pas-install/tasks/main.yaml b/deploy/ansible/roles-sap/windows/5.2-pas-install/tasks/main.yaml index 888f12c5d8..3417627f81 100644 --- a/deploy/ansible/roles-sap/windows/5.2-pas-install/tasks/main.yaml +++ b/deploy/ansible/roles-sap/windows/5.2-pas-install/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | SAP: Register BOM | diff --git a/deploy/ansible/roles-sap/windows/5.3-app-install/defaults/main.yaml b/deploy/ansible/roles-sap/windows/5.3-app-install/defaults/main.yaml index ec5197d207..f26d69e963 100644 --- a/deploy/ansible/roles-sap/windows/5.3-app-install/defaults/main.yaml +++ b/deploy/ansible/roles-sap/windows/5.3-app-install/defaults/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # TODO: Maybe move these to a group_vars/all/distro file so that they # can be shared by all playbooks/tasks automatically, and extend with diff --git a/deploy/ansible/roles-sap/windows/5.3-app-install/tasks/main.yaml b/deploy/ansible/roles-sap/windows/5.3-app-install/tasks/main.yaml index b1c50af09c..8283187711 100644 --- a/deploy/ansible/roles-sap/windows/5.3-app-install/tasks/main.yaml +++ b/deploy/ansible/roles-sap/windows/5.3-app-install/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | SAP: Register BOM | diff --git a/deploy/ansible/roles-sap/windows/7.0.0-post-install/tasks/main.yaml b/deploy/ansible/roles-sap/windows/7.0.0-post-install/tasks/main.yaml index ab3c5753ce..071708286a 100644 --- a/deploy/ansible/roles-sap/windows/7.0.0-post-install/tasks/main.yaml +++ b/deploy/ansible/roles-sap/windows/7.0.0-post-install/tasks/main.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | Post Installation activities | diff --git a/deploy/ansible/vars/admin-accounts.yml b/deploy/ansible/vars/admin-accounts.yml index 174947d5bf..598791c006 100644 --- a/deploy/ansible/vars/admin-accounts.yml +++ b/deploy/ansible/vars/admin-accounts.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/ansible/vars/ansible-input-api.yaml b/deploy/ansible/vars/ansible-input-api.yaml index 3f07efd383..d84b7ab7cf 100644 --- a/deploy/ansible/vars/ansible-input-api.yaml +++ b/deploy/ansible/vars/ansible-input-api.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # API Input template with defaults diff --git a/deploy/ansible/vars/disks_config.yml b/deploy/ansible/vars/disks_config.yml index 6e843317ff..819f64f7cc 100644 --- a/deploy/ansible/vars/disks_config.yml +++ b/deploy/ansible/vars/disks_config.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # Dynamically determine list of unique disk types associated with diff --git a/deploy/ansible/vars/disks_config_asm.yml b/deploy/ansible/vars/disks_config_asm.yml index a3ca101bdc..80a04afa5b 100644 --- a/deploy/ansible/vars/disks_config_asm.yml +++ b/deploy/ansible/vars/disks_config_asm.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # Dynamically determine list of unique disk types associated with diff --git a/deploy/ansible/vars/disks_config_ora_msid.yml b/deploy/ansible/vars/disks_config_ora_msid.yml index 1a107c6790..d8422034a0 100644 --- a/deploy/ansible/vars/disks_config_ora_msid.yml +++ b/deploy/ansible/vars/disks_config_ora_msid.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # Dynamically determine list of unique disk types associated with diff --git a/deploy/ansible/vars/ha-packages.yaml b/deploy/ansible/vars/ha-packages.yaml index 417a564fe9..e52b387127 100644 --- a/deploy/ansible/vars/ha-packages.yaml +++ b/deploy/ansible/vars/ha-packages.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # Deprecating this vars file - The HA packages will be installed from roles-os->1.4-packages diff --git a/deploy/ansible/vars/sap-disks.yaml b/deploy/ansible/vars/sap-disks.yaml index 1ae442dba8..37853aaf39 100644 --- a/deploy/ansible/vars/sap-disks.yaml +++ b/deploy/ansible/vars/sap-disks.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # TODO: The below lists are enough for the SCS being configured for the Bill of Materials processing. diff --git a/deploy/pipelines/01-deploy-control-plane.yaml b/deploy/pipelines/01-deploy-control-plane.yaml index dd3482b9f0..8bf369ff9d 100644 --- a/deploy/pipelines/01-deploy-control-plane.yaml +++ b/deploy/pipelines/01-deploy-control-plane.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/pipelines/02-sap-workload-zone.yaml b/deploy/pipelines/02-sap-workload-zone.yaml index 9a9181cb50..49facee68c 100644 --- a/deploy/pipelines/02-sap-workload-zone.yaml +++ b/deploy/pipelines/02-sap-workload-zone.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/pipelines/03-sap-system-deployment.yaml b/deploy/pipelines/03-sap-system-deployment.yaml index 00cbf39b7e..d5d3e2fe19 100644 --- a/deploy/pipelines/03-sap-system-deployment.yaml +++ b/deploy/pipelines/03-sap-system-deployment.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # /*---------------------------------------------------------------------------8 # | | # | This pipeline deploys the SAP Infrastructure | diff --git a/deploy/pipelines/04-sap-software-download.yaml b/deploy/pipelines/04-sap-software-download.yaml index e66536f1e7..330e48458d 100644 --- a/deploy/pipelines/04-sap-software-download.yaml +++ b/deploy/pipelines/04-sap-software-download.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/pipelines/05-DB-and-SAP-installation.yaml b/deploy/pipelines/05-DB-and-SAP-installation.yaml index e674c38f3f..dcaa12f750 100644 --- a/deploy/pipelines/05-DB-and-SAP-installation.yaml +++ b/deploy/pipelines/05-DB-and-SAP-installation.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/pipelines/06-post-installation-tooling.yaml b/deploy/pipelines/06-post-installation-tooling.yaml index 1c5953e29d..24ad040a9b 100644 --- a/deploy/pipelines/06-post-installation-tooling.yaml +++ b/deploy/pipelines/06-post-installation-tooling.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/pipelines/07-sap-cal-installation.yaml b/deploy/pipelines/07-sap-cal-installation.yaml index 8488a012f8..c385c3ca9c 100644 --- a/deploy/pipelines/07-sap-cal-installation.yaml +++ b/deploy/pipelines/07-sap-cal-installation.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/pipelines/10-remover-terraform.yaml b/deploy/pipelines/10-remover-terraform.yaml index 6ba3e8d66c..f8270d5f01 100644 --- a/deploy/pipelines/10-remover-terraform.yaml +++ b/deploy/pipelines/10-remover-terraform.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/pipelines/11-remover-arm-fallback.yaml b/deploy/pipelines/11-remover-arm-fallback.yaml index ae5fd8ef38..6bbbe3dac2 100644 --- a/deploy/pipelines/11-remover-arm-fallback.yaml +++ b/deploy/pipelines/11-remover-arm-fallback.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/pipelines/12-remove-control-plane.yaml b/deploy/pipelines/12-remove-control-plane.yaml index db6f58d4fe..a22d510c63 100644 --- a/deploy/pipelines/12-remove-control-plane.yaml +++ b/deploy/pipelines/12-remove-control-plane.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/pipelines/20-update-ado-repository.yaml b/deploy/pipelines/20-update-ado-repository.yaml index 85dfb4ba34..51bef7f7cc 100644 --- a/deploy/pipelines/20-update-ado-repository.yaml +++ b/deploy/pipelines/20-update-ado-repository.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/pipelines/21-deploy-web-app.yaml b/deploy/pipelines/21-deploy-web-app.yaml index 46edd5d0f8..b49969f86c 100644 --- a/deploy/pipelines/21-deploy-web-app.yaml +++ b/deploy/pipelines/21-deploy-web-app.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # This pipeline publishes and deploys the control plane UI trigger: diff --git a/deploy/pipelines/22-sample-deployer-config.yaml b/deploy/pipelines/22-sample-deployer-config.yaml index c7e8e7bcbc..ac21544cd8 100644 --- a/deploy/pipelines/22-sample-deployer-config.yaml +++ b/deploy/pipelines/22-sample-deployer-config.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + name: Create Deployer Configuration trigger: none diff --git a/deploy/pipelines/23-levelup-configuration.yaml b/deploy/pipelines/23-levelup-configuration.yaml index 7c8cd801e1..af8e7fa5c4 100644 --- a/deploy/pipelines/23-levelup-configuration.yaml +++ b/deploy/pipelines/23-levelup-configuration.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- # /*---------------------------------------------------------------------------8 # | | diff --git a/deploy/pipelines/helper.sh b/deploy/pipelines/helper.sh index d6ee83b380..734bf622fc 100644 --- a/deploy/pipelines/helper.sh +++ b/deploy/pipelines/helper.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/bin/bash function getVariableFromVariableGroup() { diff --git a/deploy/pipelines/templates/acss-registration.sh b/deploy/pipelines/templates/acss-registration.sh index 623aa2cb67..bb5d93b950 100755 --- a/deploy/pipelines/templates/acss-registration.sh +++ b/deploy/pipelines/templates/acss-registration.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/bin/bash # Exit immediately if a command exits with a non-zero status. # Treat unset variables as an error when substituting. diff --git a/deploy/pipelines/templates/acss-registration.yaml b/deploy/pipelines/templates/acss-registration.yaml index 26768dd360..5291ea12a1 100644 --- a/deploy/pipelines/templates/acss-registration.yaml +++ b/deploy/pipelines/templates/acss-registration.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + parameters: azureClientId: '' azureClientSecret: '' diff --git a/deploy/pipelines/templates/collect-calapi-file.yaml b/deploy/pipelines/templates/collect-calapi-file.yaml index b250fff633..28a0cbc92f 100644 --- a/deploy/pipelines/templates/collect-calapi-file.yaml +++ b/deploy/pipelines/templates/collect-calapi-file.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + parameters: filePath: "" steps: diff --git a/deploy/pipelines/templates/collect-log-files.yaml b/deploy/pipelines/templates/collect-log-files.yaml index 0155e60604..ba04561b25 100644 --- a/deploy/pipelines/templates/collect-log-files.yaml +++ b/deploy/pipelines/templates/collect-log-files.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + parameters: logPath: "" qualityAssuranceResultsPath: "" diff --git a/deploy/pipelines/templates/download.yaml b/deploy/pipelines/templates/download.yaml index c890daeac9..a4085f8ead 100644 --- a/deploy/pipelines/templates/download.yaml +++ b/deploy/pipelines/templates/download.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + parameters: includeAnsibleData: false getLatestFromBranch: false diff --git a/deploy/pipelines/templates/download_samples.yaml b/deploy/pipelines/templates/download_samples.yaml index b7c4332da6..b9349d0980 100644 --- a/deploy/pipelines/templates/download_samples.yaml +++ b/deploy/pipelines/templates/download_samples.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + parameters: includeAnsibleData: false getLatestFromBranch: false diff --git a/deploy/pipelines/templates/run-ansible.yaml b/deploy/pipelines/templates/run-ansible.yaml index d29bd4c865..6b0b8b34c6 100644 --- a/deploy/pipelines/templates/run-ansible.yaml +++ b/deploy/pipelines/templates/run-ansible.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + parameters: azureClientId: '' azureClientSecret: '' diff --git a/deploy/pipelines/templates/upload-summary.yaml b/deploy/pipelines/templates/upload-summary.yaml index 4c275d40ce..e005ccf336 100644 --- a/deploy/pipelines/templates/upload-summary.yaml +++ b/deploy/pipelines/templates/upload-summary.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + parameters: summaryFilePath: '' steps: diff --git a/deploy/pipelines/variables/01-deploy-control-plane-variables.yaml b/deploy/pipelines/variables/01-deploy-control-plane-variables.yaml index bb5e69646c..193e79829c 100644 --- a/deploy/pipelines/variables/01-deploy-control-plane-variables.yaml +++ b/deploy/pipelines/variables/01-deploy-control-plane-variables.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #--------------------------------------+---------------------------------------8 # | # Defines the parameters and variables for the Control Plane | diff --git a/deploy/pipelines/variables/02-sap-workload-zone-variables.yaml b/deploy/pipelines/variables/02-sap-workload-zone-variables.yaml index 4fd203b697..1cc7b6a3af 100644 --- a/deploy/pipelines/variables/02-sap-workload-zone-variables.yaml +++ b/deploy/pipelines/variables/02-sap-workload-zone-variables.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #--------------------------------------+---------------------------------------8 # | # Defines the parameters and variables for the SAP Workload Zone | diff --git a/deploy/pipelines/variables/03-sap-system-deployment-variables.yaml b/deploy/pipelines/variables/03-sap-system-deployment-variables.yaml index 3b25c0b005..6fee59313b 100644 --- a/deploy/pipelines/variables/03-sap-system-deployment-variables.yaml +++ b/deploy/pipelines/variables/03-sap-system-deployment-variables.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #--------------------------------------+---------------------------------------8 # | # Defines the parameters and variables for the SAP System | diff --git a/deploy/pipelines/variables/04-sap-software-download-variables.yaml b/deploy/pipelines/variables/04-sap-software-download-variables.yaml index 2ea4599d40..8f8776a931 100644 --- a/deploy/pipelines/variables/04-sap-software-download-variables.yaml +++ b/deploy/pipelines/variables/04-sap-software-download-variables.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #--------------------------------------+---------------------------------------8 # | # Defines the parameters and variables for the SAP software download | diff --git a/deploy/pipelines/variables/05-DB-and-SAP-installation-variables.yaml b/deploy/pipelines/variables/05-DB-and-SAP-installation-variables.yaml index 3b1b51b57d..c2b9ccca55 100644 --- a/deploy/pipelines/variables/05-DB-and-SAP-installation-variables.yaml +++ b/deploy/pipelines/variables/05-DB-and-SAP-installation-variables.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #--------------------------------------+---------------------------------------8 # | # Defines the parameters and variables for the SAP Software Install | diff --git a/deploy/pipelines/variables/07-sap-cal-installation-variables.yaml b/deploy/pipelines/variables/07-sap-cal-installation-variables.yaml index 94f39757d8..be80295d86 100644 --- a/deploy/pipelines/variables/07-sap-cal-installation-variables.yaml +++ b/deploy/pipelines/variables/07-sap-cal-installation-variables.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #--------------------------------------+------------------------------------------------8 # | # Defines the parameters and variables for the SAP Software Install using SAP CAL | diff --git a/deploy/pipelines/variables/10-remover-terraform-variables.yaml b/deploy/pipelines/variables/10-remover-terraform-variables.yaml index 69e541616f..68561d63d3 100644 --- a/deploy/pipelines/variables/10-remover-terraform-variables.yaml +++ b/deploy/pipelines/variables/10-remover-terraform-variables.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #--------------------------------------+---------------------------------------8 # | # Defines the parameters and variables for the System and Workload removal | diff --git a/deploy/pipelines/variables/11-remover-arm-fallback-variables.yaml b/deploy/pipelines/variables/11-remover-arm-fallback-variables.yaml index 1745362865..933b0f019e 100644 --- a/deploy/pipelines/variables/11-remover-arm-fallback-variables.yaml +++ b/deploy/pipelines/variables/11-remover-arm-fallback-variables.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + parameters: deployer: "" deployer_environment: "" diff --git a/deploy/pipelines/variables/12-remove-control-plane-variables.yaml b/deploy/pipelines/variables/12-remove-control-plane-variables.yaml index 6259e1b1bd..c1e2a0c37c 100644 --- a/deploy/pipelines/variables/12-remove-control-plane-variables.yaml +++ b/deploy/pipelines/variables/12-remove-control-plane-variables.yaml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #--------------------------------------+---------------------------------------8 # | # Defines the parameters and variables for the Control Plane removal | diff --git a/deploy/scripts/.yamllint.yml b/deploy/scripts/.yamllint.yml index 1a51d4de2b..decad48c33 100644 --- a/deploy/scripts/.yamllint.yml +++ b/deploy/scripts/.yamllint.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- extends: default diff --git a/deploy/scripts/ConfigureRemotingForAnsible.ps1 b/deploy/scripts/ConfigureRemotingForAnsible.ps1 index 72670d4a49..2937478540 100644 --- a/deploy/scripts/ConfigureRemotingForAnsible.ps1 +++ b/deploy/scripts/ConfigureRemotingForAnsible.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #Requires -Version 3.0 # Configure a Windows host for remote management with Ansible diff --git a/deploy/scripts/New-SDAFDevopsProject.ps1 b/deploy/scripts/New-SDAFDevopsProject.ps1 index 6ca1a6c547..64cfd9dfc0 100644 --- a/deploy/scripts/New-SDAFDevopsProject.ps1 +++ b/deploy/scripts/New-SDAFDevopsProject.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # Write-Host "..............." -ForegroundColor Cyan function Show-Menu($data) { diff --git a/deploy/scripts/New-SDAFDevopsWorkloadZone.ps1 b/deploy/scripts/New-SDAFDevopsWorkloadZone.ps1 index 8647ca4ef8..ece19be152 100644 --- a/deploy/scripts/New-SDAFDevopsWorkloadZone.ps1 +++ b/deploy/scripts/New-SDAFDevopsWorkloadZone.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + function Show-Menu($data) { Write-Host "================ $Title ================" $i = 1 diff --git a/deploy/scripts/Test-SDAFReadiness.ps1 b/deploy/scripts/Test-SDAFReadiness.ps1 index 4c59353e6d..ad83ccf26e 100644 --- a/deploy/scripts/Test-SDAFReadiness.ps1 +++ b/deploy/scripts/Test-SDAFReadiness.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + function Show-Menu($data) { Write-Host "================ $Title ================" $i = 1 diff --git a/deploy/scripts/Test-SDAFURLs.ps1 b/deploy/scripts/Test-SDAFURLs.ps1 index b7434e2648..d8407ddf84 100644 --- a/deploy/scripts/Test-SDAFURLs.ps1 +++ b/deploy/scripts/Test-SDAFURLs.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + function Show-Menu($data) { Write-Host "================ $Title ================" $i = 1 diff --git a/deploy/scripts/advanced_state_management.sh b/deploy/scripts/advanced_state_management.sh index 51c7ff7059..8a98dbec25 100755 --- a/deploy/scripts/advanced_state_management.sh +++ b/deploy/scripts/advanced_state_management.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/bin/bash #colors for terminal diff --git a/deploy/scripts/check_bom.sh b/deploy/scripts/check_bom.sh index c94d115c79..ef2ac6cbfe 100755 --- a/deploy/scripts/check_bom.sh +++ b/deploy/scripts/check_bom.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/bin/bash # Usage diff --git a/deploy/scripts/check_bom.yml b/deploy/scripts/check_bom.yml index 4608d8bd59..471756526d 100755 --- a/deploy/scripts/check_bom.yml +++ b/deploy/scripts/check_bom.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- - hosts: localhost diff --git a/deploy/scripts/configure_ansible.ps1 b/deploy/scripts/configure_ansible.ps1 index bec73cb05c..05170dbbae 100644 --- a/deploy/scripts/configure_ansible.ps1 +++ b/deploy/scripts/configure_ansible.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 $url = "https://aka.ms/sdaf-ansible" $file = "$env:temp\ConfigureRemotingForAnsible.ps1" diff --git a/deploy/scripts/configure_deployer.sh b/deploy/scripts/configure_deployer.sh index e54c766d65..f051489fed 100755 --- a/deploy/scripts/configure_deployer.sh +++ b/deploy/scripts/configure_deployer.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/bin/bash # diff --git a/deploy/scripts/create_devops_artifacts.sh b/deploy/scripts/create_devops_artifacts.sh index bbfe89d14a..541f324f43 100755 --- a/deploy/scripts/create_devops_artifacts.sh +++ b/deploy/scripts/create_devops_artifacts.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/bin/bash # diff --git a/deploy/scripts/create_fencingagent_role.sh b/deploy/scripts/create_fencingagent_role.sh index 34567603d4..f6ac7b8f50 100755 --- a/deploy/scripts/create_fencingagent_role.sh +++ b/deploy/scripts/create_fencingagent_role.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/bin/bash echo "" echo "#########################################################################################" diff --git a/deploy/scripts/deploy_controlplane.sh b/deploy/scripts/deploy_controlplane.sh index c6d762e5fa..102583a315 100755 --- a/deploy/scripts/deploy_controlplane.sh +++ b/deploy/scripts/deploy_controlplane.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/bin/bash ################################################################################################ diff --git a/deploy/scripts/deploy_utils.sh b/deploy/scripts/deploy_utils.sh index 17c9efd9e6..e4c020e391 100755 --- a/deploy/scripts/deploy_utils.sh +++ b/deploy/scripts/deploy_utils.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/bin/bash if [ -d /opt/terraform/bin ]; then diff --git a/deploy/scripts/generate_bom.sh b/deploy/scripts/generate_bom.sh index 7b952b1c38..8d368fa964 100755 --- a/deploy/scripts/generate_bom.sh +++ b/deploy/scripts/generate_bom.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/bin/bash # Requires: diff --git a/deploy/scripts/helpers/check_workstation.sh b/deploy/scripts/helpers/check_workstation.sh index c1d15e79f3..97be42eb8f 100755 --- a/deploy/scripts/helpers/check_workstation.sh +++ b/deploy/scripts/helpers/check_workstation.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/usr/bin/env bash ############################################################################### diff --git a/deploy/scripts/helpers/common_utils.sh b/deploy/scripts/helpers/common_utils.sh index cd1f05dec2..42d7baeb95 100755 --- a/deploy/scripts/helpers/common_utils.sh +++ b/deploy/scripts/helpers/common_utils.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/usr/bin/env bash ############################################################################### diff --git a/deploy/scripts/helpers/script_helpers.sh b/deploy/scripts/helpers/script_helpers.sh index 07742cf248..6690eff1fa 100755 --- a/deploy/scripts/helpers/script_helpers.sh +++ b/deploy/scripts/helpers/script_helpers.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/bin/bash #colors for terminal bold_red_underscore="\e[1;4;31m" diff --git a/deploy/scripts/install_deployer.sh b/deploy/scripts/install_deployer.sh index c2e61b2fa6..56f09c6b81 100755 --- a/deploy/scripts/install_deployer.sh +++ b/deploy/scripts/install_deployer.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/bin/bash #error codes include those from /usr/include/sysexits.h diff --git a/deploy/scripts/install_library.sh b/deploy/scripts/install_library.sh index 45a988402a..4cad31efb6 100755 --- a/deploy/scripts/install_library.sh +++ b/deploy/scripts/install_library.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/bin/bash #error codes include those from /usr/include/sysexits.h diff --git a/deploy/scripts/install_workloadzone.sh b/deploy/scripts/install_workloadzone.sh index bca7e162b4..eaefa38300 100755 --- a/deploy/scripts/install_workloadzone.sh +++ b/deploy/scripts/install_workloadzone.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/bin/bash # Ensure that the exit status of a pipeline command is non-zero if any diff --git a/deploy/scripts/installer.sh b/deploy/scripts/installer.sh index 8f88a54f59..9b1130eae4 100755 --- a/deploy/scripts/installer.sh +++ b/deploy/scripts/installer.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/usr/bin/env bash # Ensure that the exit status of a pipeline command is non-zero if any diff --git a/deploy/scripts/log_utils.sh b/deploy/scripts/log_utils.sh index 05958022ec..b1dc1a8c79 100755 --- a/deploy/scripts/log_utils.sh +++ b/deploy/scripts/log_utils.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/bin/bash # we only want to source the file once if [[ $__isLibSourced ]]; then diff --git a/deploy/scripts/persist_environment_variables.sh b/deploy/scripts/persist_environment_variables.sh index eaabad87b6..21d0e39f4c 100755 --- a/deploy/scripts/persist_environment_variables.sh +++ b/deploy/scripts/persist_environment_variables.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + tf_bin=$(which terraform) ansible_bin=$(which ansible) # Ensure that the user's account is logged in to Azure with specified creds diff --git a/deploy/scripts/pipeline_scripts/01-control-plane-deploy.sh b/deploy/scripts/pipeline_scripts/01-control-plane-deploy.sh index bf3dbbb561..259f353a94 100644 --- a/deploy/scripts/pipeline_scripts/01-control-plane-deploy.sh +++ b/deploy/scripts/pipeline_scripts/01-control-plane-deploy.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/bin/bash echo "##vso[build.updatebuildnumber]Deploying the control plane defined in $DEPLOYER_FOLDERNAME $LIBRARY_FOLDERNAME" green="\e[1;32m" diff --git a/deploy/scripts/pipeline_scripts/01-control-plane-prepare.sh b/deploy/scripts/pipeline_scripts/01-control-plane-prepare.sh index 7d3bdeded5..4068a07069 100644 --- a/deploy/scripts/pipeline_scripts/01-control-plane-prepare.sh +++ b/deploy/scripts/pipeline_scripts/01-control-plane-prepare.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/bin/bash echo "##vso[build.updatebuildnumber]Deploying the control plane defined in $DEPLOYER_FOLDERNAME $LIBRARY_FOLDERNAME" green="\e[1;32m" diff --git a/deploy/scripts/pipeline_scripts/02-sap-workload-zone.sh b/deploy/scripts/pipeline_scripts/02-sap-workload-zone.sh index b3a72e7ff3..9d6da28f58 100644 --- a/deploy/scripts/pipeline_scripts/02-sap-workload-zone.sh +++ b/deploy/scripts/pipeline_scripts/02-sap-workload-zone.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/bin/bash green="\e[1;32m" reset="\e[0m" diff --git a/deploy/scripts/pipeline_scripts/03-sap-system-deployment.sh b/deploy/scripts/pipeline_scripts/03-sap-system-deployment.sh index f26ace2da5..34cfdd80e0 100644 --- a/deploy/scripts/pipeline_scripts/03-sap-system-deployment.sh +++ b/deploy/scripts/pipeline_scripts/03-sap-system-deployment.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/bin/bash green="\e[1;32m" reset="\e[0m" diff --git a/deploy/scripts/pipeline_scripts/04-sap-software-download-prepare.sh b/deploy/scripts/pipeline_scripts/04-sap-software-download-prepare.sh index 7ee410ea34..a8f932aa08 100644 --- a/deploy/scripts/pipeline_scripts/04-sap-software-download-prepare.sh +++ b/deploy/scripts/pipeline_scripts/04-sap-software-download-prepare.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/bin/bash green="\e[1;32m" reset="\e[0m" diff --git a/deploy/scripts/pipeline_scripts/04-sap-software-download.sh b/deploy/scripts/pipeline_scripts/04-sap-software-download.sh index ab87114e9e..d4918f3f2c 100644 --- a/deploy/scripts/pipeline_scripts/04-sap-software-download.sh +++ b/deploy/scripts/pipeline_scripts/04-sap-software-download.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/bin/bash green="\e[1;32m" reset="\e[0m" diff --git a/deploy/scripts/pipeline_scripts/05-DB-and-SAP-installation-prepare.sh b/deploy/scripts/pipeline_scripts/05-DB-and-SAP-installation-prepare.sh index 1707e9ff0c..88f83e9cb2 100644 --- a/deploy/scripts/pipeline_scripts/05-DB-and-SAP-installation-prepare.sh +++ b/deploy/scripts/pipeline_scripts/05-DB-and-SAP-installation-prepare.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/bin/bash green="\e[1;32m" reset="\e[0m" diff --git a/deploy/scripts/pipeline_scripts/05-run-ansible.sh b/deploy/scripts/pipeline_scripts/05-run-ansible.sh index eea330c7a9..7af11627cd 100644 --- a/deploy/scripts/pipeline_scripts/05-run-ansible.sh +++ b/deploy/scripts/pipeline_scripts/05-run-ansible.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/bin/bash # Exit immediately if a command exits with a non-zero status. # Treat unset variables as an error when substituting. diff --git a/deploy/scripts/pipeline_scripts/10-remover-terraform-system.sh b/deploy/scripts/pipeline_scripts/10-remover-terraform-system.sh index db84850126..f35d88d4d2 100644 --- a/deploy/scripts/pipeline_scripts/10-remover-terraform-system.sh +++ b/deploy/scripts/pipeline_scripts/10-remover-terraform-system.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/bin/bash #!/bin/bash echo "##vso[build.updatebuildnumber]Removing the SAP System defined in $SAP_SYSTEM_FOLDERNAME" diff --git a/deploy/scripts/pipeline_scripts/10-remover-terraform-workload-zone.sh b/deploy/scripts/pipeline_scripts/10-remover-terraform-workload-zone.sh index 2df786ade6..fc217cf5d9 100644 --- a/deploy/scripts/pipeline_scripts/10-remover-terraform-workload-zone.sh +++ b/deploy/scripts/pipeline_scripts/10-remover-terraform-workload-zone.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/bin/bash #!/bin/bash echo "##vso[build.updatebuildnumber]Removing the SAP Workload zone defined in $WORKLOAD_ZONE_FOLDERNAME" diff --git a/deploy/scripts/pipeline_scripts/11-remover-arm-fallback-control-plane.sh b/deploy/scripts/pipeline_scripts/11-remover-arm-fallback-control-plane.sh index fd11e377ea..039e7a921c 100644 --- a/deploy/scripts/pipeline_scripts/11-remover-arm-fallback-control-plane.sh +++ b/deploy/scripts/pipeline_scripts/11-remover-arm-fallback-control-plane.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/bin/bash green="\e[1;32m" reset="\e[0m" diff --git a/deploy/scripts/pipeline_scripts/11-remover-arm-fallback-system.sh b/deploy/scripts/pipeline_scripts/11-remover-arm-fallback-system.sh index 3121162eb4..03ef0c7e8d 100644 --- a/deploy/scripts/pipeline_scripts/11-remover-arm-fallback-system.sh +++ b/deploy/scripts/pipeline_scripts/11-remover-arm-fallback-system.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/bin/bash green="\e[1;32m" reset="\e[0m" diff --git a/deploy/scripts/pipeline_scripts/11-remover-arm-fallback-workload-zone.sh b/deploy/scripts/pipeline_scripts/11-remover-arm-fallback-workload-zone.sh index ea34541b06..2e43185a74 100644 --- a/deploy/scripts/pipeline_scripts/11-remover-arm-fallback-workload-zone.sh +++ b/deploy/scripts/pipeline_scripts/11-remover-arm-fallback-workload-zone.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/bin/bash green="\e[1;32m" reset="\e[0m" diff --git a/deploy/scripts/pipeline_scripts/12-remove-control-plane-finalize.sh b/deploy/scripts/pipeline_scripts/12-remove-control-plane-finalize.sh index 5e26da3283..a907d60129 100644 --- a/deploy/scripts/pipeline_scripts/12-remove-control-plane-finalize.sh +++ b/deploy/scripts/pipeline_scripts/12-remove-control-plane-finalize.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/bin/bash echo "##vso[build.updatebuildnumber]Removing the control plane defined in $DEPLOYER_FOLDERNAME $LIBRARY_FOLDERNAME" diff --git a/deploy/scripts/pipeline_scripts/12-remove-control-plane.sh b/deploy/scripts/pipeline_scripts/12-remove-control-plane.sh index a7586f6978..4189c5241e 100644 --- a/deploy/scripts/pipeline_scripts/12-remove-control-plane.sh +++ b/deploy/scripts/pipeline_scripts/12-remove-control-plane.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/bin/bash echo "##vso[build.updatebuildnumber]Removing the control plane defined in $DEPLOYER_FOLDERNAME $LIBRARY_FOLDERNAME" diff --git a/deploy/scripts/pipeline_scripts/helper.sh b/deploy/scripts/pipeline_scripts/helper.sh index 13a10feeab..c7a3996993 100644 --- a/deploy/scripts/pipeline_scripts/helper.sh +++ b/deploy/scripts/pipeline_scripts/helper.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/bin/bash function getVariableFromVariableGroup() { diff --git a/deploy/scripts/prepare_region.sh b/deploy/scripts/prepare_region.sh index 5b99d1bbb9..3ebb5c9cd1 100755 --- a/deploy/scripts/prepare_region.sh +++ b/deploy/scripts/prepare_region.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/bin/bash ################################################################################################ diff --git a/deploy/scripts/pwsh/SAPDeploymentUtilities/Internal/helper_functions.ps1 b/deploy/scripts/pwsh/SAPDeploymentUtilities/Internal/helper_functions.ps1 index 94fa2d6f77..27be188755 100644 --- a/deploy/scripts/pwsh/SAPDeploymentUtilities/Internal/helper_functions.ps1 +++ b/deploy/scripts/pwsh/SAPDeploymentUtilities/Internal/helper_functions.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + function Get-IniContent { <# .SYNOPSIS diff --git a/deploy/scripts/pwsh/SAPDeploymentUtilities/Internal/new_deploymentregion.ps1 b/deploy/scripts/pwsh/SAPDeploymentUtilities/Internal/new_deploymentregion.ps1 index a209d18bfc..10623f5886 100644 --- a/deploy/scripts/pwsh/SAPDeploymentUtilities/Internal/new_deploymentregion.ps1 +++ b/deploy/scripts/pwsh/SAPDeploymentUtilities/Internal/new_deploymentregion.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + function New-SAPAutomationRegion { <# .SYNOPSIS diff --git a/deploy/scripts/pwsh/SAPDeploymentUtilities/Internal/new_sapdeployer.ps1 b/deploy/scripts/pwsh/SAPDeploymentUtilities/Internal/new_sapdeployer.ps1 index 014ec78116..d1f111d429 100644 --- a/deploy/scripts/pwsh/SAPDeploymentUtilities/Internal/new_sapdeployer.ps1 +++ b/deploy/scripts/pwsh/SAPDeploymentUtilities/Internal/new_sapdeployer.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + function New-SAPDeployer { <# diff --git a/deploy/scripts/pwsh/SAPDeploymentUtilities/Internal/new_sapdeployment.ps1 b/deploy/scripts/pwsh/SAPDeploymentUtilities/Internal/new_sapdeployment.ps1 index 6220eabf38..5b059d7a86 100644 --- a/deploy/scripts/pwsh/SAPDeploymentUtilities/Internal/new_sapdeployment.ps1 +++ b/deploy/scripts/pwsh/SAPDeploymentUtilities/Internal/new_sapdeployment.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + function New-SAPSystem { <# .SYNOPSIS diff --git a/deploy/scripts/pwsh/SAPDeploymentUtilities/Internal/new_saplibrary.ps1 b/deploy/scripts/pwsh/SAPDeploymentUtilities/Internal/new_saplibrary.ps1 index 0ff1eaf2e8..d0da1c2f23 100644 --- a/deploy/scripts/pwsh/SAPDeploymentUtilities/Internal/new_saplibrary.ps1 +++ b/deploy/scripts/pwsh/SAPDeploymentUtilities/Internal/new_saplibrary.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + function New-SAPLibrary { <# .SYNOPSIS diff --git a/deploy/scripts/pwsh/SAPDeploymentUtilities/Internal/new_sapworkloadzone.ps1 b/deploy/scripts/pwsh/SAPDeploymentUtilities/Internal/new_sapworkloadzone.ps1 index d89d4dc67c..fb48256577 100644 --- a/deploy/scripts/pwsh/SAPDeploymentUtilities/Internal/new_sapworkloadzone.ps1 +++ b/deploy/scripts/pwsh/SAPDeploymentUtilities/Internal/new_sapworkloadzone.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + function New-SAPWorkloadZone { <# .SYNOPSIS diff --git a/deploy/scripts/pwsh/SAPDeploymentUtilities/Internal/read_template.ps1 b/deploy/scripts/pwsh/SAPDeploymentUtilities/Internal/read_template.ps1 index 289fbe5a7a..68d3e9a6f5 100644 --- a/deploy/scripts/pwsh/SAPDeploymentUtilities/Internal/read_template.ps1 +++ b/deploy/scripts/pwsh/SAPDeploymentUtilities/Internal/read_template.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + function Read-KVNode { param( [Parameter(Mandatory = $true)][String]$source, diff --git a/deploy/scripts/pwsh/SAPDeploymentUtilities/Internal/remove_deploymentregion.ps1 b/deploy/scripts/pwsh/SAPDeploymentUtilities/Internal/remove_deploymentregion.ps1 index 7a010782b4..9b936c1093 100644 --- a/deploy/scripts/pwsh/SAPDeploymentUtilities/Internal/remove_deploymentregion.ps1 +++ b/deploy/scripts/pwsh/SAPDeploymentUtilities/Internal/remove_deploymentregion.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + function Remove-SAPAutomationRegion { <# .SYNOPSIS diff --git a/deploy/scripts/pwsh/SAPDeploymentUtilities/Internal/remove_sapsystem.ps1 b/deploy/scripts/pwsh/SAPDeploymentUtilities/Internal/remove_sapsystem.ps1 index c5ef6d720f..bbdf4f3af1 100644 --- a/deploy/scripts/pwsh/SAPDeploymentUtilities/Internal/remove_sapsystem.ps1 +++ b/deploy/scripts/pwsh/SAPDeploymentUtilities/Internal/remove_sapsystem.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + function Remove-SAPSystem { <# .SYNOPSIS diff --git a/deploy/scripts/pwsh/SAPDeploymentUtilities/Internal/set_secrets.ps1 b/deploy/scripts/pwsh/SAPDeploymentUtilities/Internal/set_secrets.ps1 index 7126ee0cc8..14e6236e58 100644 --- a/deploy/scripts/pwsh/SAPDeploymentUtilities/Internal/set_secrets.ps1 +++ b/deploy/scripts/pwsh/SAPDeploymentUtilities/Internal/set_secrets.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #> Function Set-SAPSPNSecrets { <# diff --git a/deploy/scripts/pwsh/SAPDeploymentUtilities/Internal/types.ps1 b/deploy/scripts/pwsh/SAPDeploymentUtilities/Internal/types.ps1 index 5cd9c115dc..b405d74694 100644 --- a/deploy/scripts/pwsh/SAPDeploymentUtilities/Internal/types.ps1 +++ b/deploy/scripts/pwsh/SAPDeploymentUtilities/Internal/types.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + Add-Type -TypeDefinition @" public enum SAP_Types { diff --git a/deploy/scripts/pwsh/SAPDeploymentUtilities/SAPDeploymentUtilities.build.ps1 b/deploy/scripts/pwsh/SAPDeploymentUtilities/SAPDeploymentUtilities.build.ps1 index 32671c7459..931843ae9c 100644 --- a/deploy/scripts/pwsh/SAPDeploymentUtilities/SAPDeploymentUtilities.build.ps1 +++ b/deploy/scripts/pwsh/SAPDeploymentUtilities/SAPDeploymentUtilities.build.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + task . Clean, Build, ExportHelp, Stats task CreateManifest CopyPSD, UpdatPublicFunctionsToExport diff --git a/deploy/scripts/remove_controlplane.sh b/deploy/scripts/remove_controlplane.sh index fdf0653ad7..a5fe98655e 100755 --- a/deploy/scripts/remove_controlplane.sh +++ b/deploy/scripts/remove_controlplane.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/bin/bash #error codes include those from /usr/include/sysexits.h diff --git a/deploy/scripts/remove_deployer.sh b/deploy/scripts/remove_deployer.sh index a1ed349f6d..7cc488258c 100755 --- a/deploy/scripts/remove_deployer.sh +++ b/deploy/scripts/remove_deployer.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/bin/bash #error codes include those from /usr/include/sysexits.h diff --git a/deploy/scripts/remove_region.sh b/deploy/scripts/remove_region.sh index a476192dbf..4e56d5e2a7 100755 --- a/deploy/scripts/remove_region.sh +++ b/deploy/scripts/remove_region.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/bin/bash #error codes include those from /usr/include/sysexits.h diff --git a/deploy/scripts/remover.sh b/deploy/scripts/remover.sh index 7d36a7af3c..5ae3d8602b 100755 --- a/deploy/scripts/remover.sh +++ b/deploy/scripts/remover.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/bin/bash #error codes include those from /usr/include/sysexits.h diff --git a/deploy/scripts/set_secrets.sh b/deploy/scripts/set_secrets.sh index 0f8ddef746..333fc23c59 100755 --- a/deploy/scripts/set_secrets.sh +++ b/deploy/scripts/set_secrets.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/bin/bash #error codes include those from /usr/include/sysexits.h diff --git a/deploy/scripts/setup_ado.sh b/deploy/scripts/setup_ado.sh index 61c40a1f39..ef06594fae 100755 --- a/deploy/scripts/setup_ado.sh +++ b/deploy/scripts/setup_ado.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/bin/bash # https://github.com/Microsoft/azure-pipelines-agent/releases diff --git a/deploy/scripts/setup_devops.ps1 b/deploy/scripts/setup_devops.ps1 index 65304d3622..ecc2b4c951 100644 --- a/deploy/scripts/setup_devops.ps1 +++ b/deploy/scripts/setup_devops.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #region Initialize # Initialize variables from Environment variables diff --git a/deploy/scripts/sync_deployer.sh b/deploy/scripts/sync_deployer.sh index 43a7292ec0..c58629ad69 100755 --- a/deploy/scripts/sync_deployer.sh +++ b/deploy/scripts/sync_deployer.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/bin/bash #error codes include those from /usr/include/sysexits.h diff --git a/deploy/scripts/update_devops_credentials.ps1 b/deploy/scripts/update_devops_credentials.ps1 index 66878e8f96..32002f277f 100644 --- a/deploy/scripts/update_devops_credentials.ps1 +++ b/deploy/scripts/update_devops_credentials.ps1 @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #---------------------- # Set $Organization # Input or $Env:ADO_ORGANIZATION diff --git a/deploy/scripts/update_sas_token.sh b/deploy/scripts/update_sas_token.sh index ab01dcb420..c9ecb077b0 100755 --- a/deploy/scripts/update_sas_token.sh +++ b/deploy/scripts/update_sas_token.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # This is the SAP library’s storage account for sap binaries if [ ! -n "${SAP_LIBRARY_TF}" ] ;then read -p "Please provide the saplib storage account name (SAP_LIBRARY)? " saplib diff --git a/deploy/scripts/validate.sh b/deploy/scripts/validate.sh index 72991bc557..3597c1a9c1 100755 --- a/deploy/scripts/validate.sh +++ b/deploy/scripts/validate.sh @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #!/bin/bash export PATH=/opt/terraform/bin:/opt/ansible/bin:${PATH} diff --git a/deploy/scripts/validate_dict.yml b/deploy/scripts/validate_dict.yml index 13de7ee3cc..9d6ae5e264 100755 --- a/deploy/scripts/validate_dict.yml +++ b/deploy/scripts/validate_dict.yml @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + --- - name: Determine list of dict keys ansible.builtin.set_fact: diff --git a/deploy/terraform/bootstrap/sap_deployer/backend.tf b/deploy/terraform/bootstrap/sap_deployer/backend.tf index e407cb73e3..b886f36298 100644 --- a/deploy/terraform/bootstrap/sap_deployer/backend.tf +++ b/deploy/terraform/bootstrap/sap_deployer/backend.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + /* Description: diff --git a/deploy/terraform/bootstrap/sap_deployer/deployer_scp.tmpl b/deploy/terraform/bootstrap/sap_deployer/deployer_scp.tmpl index e22ba5c0ba..b1dde88855 100644 --- a/deploy/terraform/bootstrap/sap_deployer/deployer_scp.tmpl +++ b/deploy/terraform/bootstrap/sap_deployer/deployer_scp.tmpl @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + local_file_dir=$(cd "$(dirname "$BASH_SOURCE")" && pwd) workspace=$(basename $${local_file_dir}) remote_dir="~/Azure_SAP_Automated_Deployment/WORKSPACES/LOCAL/$${workspace}" diff --git a/deploy/terraform/bootstrap/sap_deployer/module.tf b/deploy/terraform/bootstrap/sap_deployer/module.tf index d75caf6b53..cc4fdf1762 100644 --- a/deploy/terraform/bootstrap/sap_deployer/module.tf +++ b/deploy/terraform/bootstrap/sap_deployer/module.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + /* Description: diff --git a/deploy/terraform/bootstrap/sap_deployer/output.tf b/deploy/terraform/bootstrap/sap_deployer/output.tf index 67dca961fb..e0c4f02e75 100644 --- a/deploy/terraform/bootstrap/sap_deployer/output.tf +++ b/deploy/terraform/bootstrap/sap_deployer/output.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # # Resource group definitioms # diff --git a/deploy/terraform/bootstrap/sap_deployer/providers.tf b/deploy/terraform/bootstrap/sap_deployer/providers.tf index 0e82d9b221..56e7feafbb 100644 --- a/deploy/terraform/bootstrap/sap_deployer/providers.tf +++ b/deploy/terraform/bootstrap/sap_deployer/providers.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + /* Description: diff --git a/deploy/terraform/bootstrap/sap_deployer/tfvar_variables.tf b/deploy/terraform/bootstrap/sap_deployer/tfvar_variables.tf index 7122438592..91af5b90a8 100644 --- a/deploy/terraform/bootstrap/sap_deployer/tfvar_variables.tf +++ b/deploy/terraform/bootstrap/sap_deployer/tfvar_variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # # Environment definitioms # diff --git a/deploy/terraform/bootstrap/sap_deployer/transform.tf b/deploy/terraform/bootstrap/sap_deployer/transform.tf index e8ad384aaf..d6c557f5ad 100644 --- a/deploy/terraform/bootstrap/sap_deployer/transform.tf +++ b/deploy/terraform/bootstrap/sap_deployer/transform.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + locals { diff --git a/deploy/terraform/bootstrap/sap_deployer/variables_global.tf b/deploy/terraform/bootstrap/sap_deployer/variables_global.tf index c957bf04e0..c898da6ade 100644 --- a/deploy/terraform/bootstrap/sap_deployer/variables_global.tf +++ b/deploy/terraform/bootstrap/sap_deployer/variables_global.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # # Variable definitioms # diff --git a/deploy/terraform/bootstrap/sap_deployer/variables_local.tf b/deploy/terraform/bootstrap/sap_deployer/variables_local.tf index 85ed951f84..0fc2163f7c 100644 --- a/deploy/terraform/bootstrap/sap_deployer/variables_local.tf +++ b/deploy/terraform/bootstrap/sap_deployer/variables_local.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # # Local variables # diff --git a/deploy/terraform/bootstrap/sap_library/backend.tf b/deploy/terraform/bootstrap/sap_library/backend.tf index 46f46ba45a..f25ec9db92 100644 --- a/deploy/terraform/bootstrap/sap_library/backend.tf +++ b/deploy/terraform/bootstrap/sap_library/backend.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + /* Description: To use local to deploy sap library(s). diff --git a/deploy/terraform/bootstrap/sap_library/imports.tf b/deploy/terraform/bootstrap/sap_library/imports.tf index 0c5075dc4b..02d0e66891 100644 --- a/deploy/terraform/bootstrap/sap_library/imports.tf +++ b/deploy/terraform/bootstrap/sap_library/imports.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + /* Description: Import deployer resources diff --git a/deploy/terraform/bootstrap/sap_library/module.tf b/deploy/terraform/bootstrap/sap_library/module.tf index c991ff4144..8c47a957dc 100644 --- a/deploy/terraform/bootstrap/sap_library/module.tf +++ b/deploy/terraform/bootstrap/sap_library/module.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + /* Description: Setup sap library diff --git a/deploy/terraform/bootstrap/sap_library/output.tf b/deploy/terraform/bootstrap/sap_library/output.tf index 82cac8ea67..f183eeeaaa 100644 --- a/deploy/terraform/bootstrap/sap_library/output.tf +++ b/deploy/terraform/bootstrap/sap_library/output.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # # Resource group definitioms # diff --git a/deploy/terraform/bootstrap/sap_library/providers.tf b/deploy/terraform/bootstrap/sap_library/providers.tf index 6c85b154ad..bf1067cdd5 100644 --- a/deploy/terraform/bootstrap/sap_library/providers.tf +++ b/deploy/terraform/bootstrap/sap_library/providers.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + /* Description: diff --git a/deploy/terraform/bootstrap/sap_library/tfvar_variables.tf b/deploy/terraform/bootstrap/sap_library/tfvar_variables.tf index d6af5fb0b5..cb811aa54a 100644 --- a/deploy/terraform/bootstrap/sap_library/tfvar_variables.tf +++ b/deploy/terraform/bootstrap/sap_library/tfvar_variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # # Environment definitioms # diff --git a/deploy/terraform/bootstrap/sap_library/transform.tf b/deploy/terraform/bootstrap/sap_library/transform.tf index c5413509a5..f60496901a 100644 --- a/deploy/terraform/bootstrap/sap_library/transform.tf +++ b/deploy/terraform/bootstrap/sap_library/transform.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + locals { infrastructure = { diff --git a/deploy/terraform/bootstrap/sap_library/variables_global.tf b/deploy/terraform/bootstrap/sap_library/variables_global.tf index 358719c707..382d621f45 100644 --- a/deploy/terraform/bootstrap/sap_library/variables_global.tf +++ b/deploy/terraform/bootstrap/sap_library/variables_global.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # # Variable definitioms # diff --git a/deploy/terraform/bootstrap/sap_library/variables_local.tf b/deploy/terraform/bootstrap/sap_library/variables_local.tf index 503283cb6b..567daf94b2 100644 --- a/deploy/terraform/bootstrap/sap_library/variables_local.tf +++ b/deploy/terraform/bootstrap/sap_library/variables_local.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # # Local variables # diff --git a/deploy/terraform/run/sap_deployer/backend.tf b/deploy/terraform/run/sap_deployer/backend.tf index 121a60e573..1a245bd0b9 100644 --- a/deploy/terraform/run/sap_deployer/backend.tf +++ b/deploy/terraform/run/sap_deployer/backend.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + /* Description: diff --git a/deploy/terraform/run/sap_deployer/imports.tf b/deploy/terraform/run/sap_deployer/imports.tf index 5d5a0fd92e..0fe1b3e74b 100644 --- a/deploy/terraform/run/sap_deployer/imports.tf +++ b/deploy/terraform/run/sap_deployer/imports.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # # Deployment credentials # diff --git a/deploy/terraform/run/sap_deployer/module.tf b/deploy/terraform/run/sap_deployer/module.tf index dee5b5ca91..3a36847693 100644 --- a/deploy/terraform/run/sap_deployer/module.tf +++ b/deploy/terraform/run/sap_deployer/module.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + /* Description: diff --git a/deploy/terraform/run/sap_deployer/output.tf b/deploy/terraform/run/sap_deployer/output.tf index 49dd553f1d..1fdd96e885 100644 --- a/deploy/terraform/run/sap_deployer/output.tf +++ b/deploy/terraform/run/sap_deployer/output.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # # Resource group definitioms # diff --git a/deploy/terraform/run/sap_deployer/providers.tf b/deploy/terraform/run/sap_deployer/providers.tf index 8ba54492db..1729799453 100644 --- a/deploy/terraform/run/sap_deployer/providers.tf +++ b/deploy/terraform/run/sap_deployer/providers.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + /* Description: diff --git a/deploy/terraform/run/sap_deployer/tfvar_variables.tf b/deploy/terraform/run/sap_deployer/tfvar_variables.tf index c110aeb46e..fa1d973c5d 100644 --- a/deploy/terraform/run/sap_deployer/tfvar_variables.tf +++ b/deploy/terraform/run/sap_deployer/tfvar_variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # # Environment definitioms # diff --git a/deploy/terraform/run/sap_deployer/transform.tf b/deploy/terraform/run/sap_deployer/transform.tf index 187a706b0f..f732709897 100644 --- a/deploy/terraform/run/sap_deployer/transform.tf +++ b/deploy/terraform/run/sap_deployer/transform.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + locals { infrastructure = { diff --git a/deploy/terraform/run/sap_deployer/variables_global.tf b/deploy/terraform/run/sap_deployer/variables_global.tf index 80f36b4701..193858daf1 100644 --- a/deploy/terraform/run/sap_deployer/variables_global.tf +++ b/deploy/terraform/run/sap_deployer/variables_global.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # # Variable definitioms # diff --git a/deploy/terraform/run/sap_deployer/variables_local.tf b/deploy/terraform/run/sap_deployer/variables_local.tf index 9e8c483ee6..ef88e52cb1 100644 --- a/deploy/terraform/run/sap_deployer/variables_local.tf +++ b/deploy/terraform/run/sap_deployer/variables_local.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # # Local variables # diff --git a/deploy/terraform/run/sap_landscape/backend.tf b/deploy/terraform/run/sap_landscape/backend.tf index 0bc3091869..ff161db67a 100644 --- a/deploy/terraform/run/sap_landscape/backend.tf +++ b/deploy/terraform/run/sap_landscape/backend.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + /* Description: diff --git a/deploy/terraform/run/sap_landscape/imports.tf b/deploy/terraform/run/sap_landscape/imports.tf index 5628f06f17..127b644cde 100644 --- a/deploy/terraform/run/sap_landscape/imports.tf +++ b/deploy/terraform/run/sap_landscape/imports.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + /* Description: Retrieve remote tfstate file of Deployer and current environment's SPN diff --git a/deploy/terraform/run/sap_landscape/module.tf b/deploy/terraform/run/sap_landscape/module.tf index 00797a61d1..6c6854c44e 100644 --- a/deploy/terraform/run/sap_landscape/module.tf +++ b/deploy/terraform/run/sap_landscape/module.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + /* Description: Setup common infrastructure diff --git a/deploy/terraform/run/sap_landscape/output.tf b/deploy/terraform/run/sap_landscape/output.tf index 5c4e958fbe..719848a3e4 100644 --- a/deploy/terraform/run/sap_landscape/output.tf +++ b/deploy/terraform/run/sap_landscape/output.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # diff --git a/deploy/terraform/run/sap_landscape/providers.tf b/deploy/terraform/run/sap_landscape/providers.tf index 72da7a1455..3425190fc7 100644 --- a/deploy/terraform/run/sap_landscape/providers.tf +++ b/deploy/terraform/run/sap_landscape/providers.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + /* Description: Constraining provider versions diff --git a/deploy/terraform/run/sap_landscape/tfvar_variables.tf b/deploy/terraform/run/sap_landscape/tfvar_variables.tf index fa23784710..1165d7be2d 100644 --- a/deploy/terraform/run/sap_landscape/tfvar_variables.tf +++ b/deploy/terraform/run/sap_landscape/tfvar_variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # # Environment definitioms # diff --git a/deploy/terraform/run/sap_landscape/transform.tf b/deploy/terraform/run/sap_landscape/transform.tf index 91812cd338..c572074b90 100644 --- a/deploy/terraform/run/sap_landscape/transform.tf +++ b/deploy/terraform/run/sap_landscape/transform.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + locals { subnet_admin_defined = ( diff --git a/deploy/terraform/run/sap_landscape/variables_global.tf b/deploy/terraform/run/sap_landscape/variables_global.tf index d545c790e7..cc95c964ba 100644 --- a/deploy/terraform/run/sap_landscape/variables_global.tf +++ b/deploy/terraform/run/sap_landscape/variables_global.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # # Variable definitioms # diff --git a/deploy/terraform/run/sap_landscape/variables_local.tf b/deploy/terraform/run/sap_landscape/variables_local.tf index 9ad928dd0c..419ad60bfa 100644 --- a/deploy/terraform/run/sap_landscape/variables_local.tf +++ b/deploy/terraform/run/sap_landscape/variables_local.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # diff --git a/deploy/terraform/run/sap_library/backend.tf b/deploy/terraform/run/sap_library/backend.tf index e1f2595ea4..7bb6e2e768 100644 --- a/deploy/terraform/run/sap_library/backend.tf +++ b/deploy/terraform/run/sap_library/backend.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + /* Description: To use remote backend to deploy sap library. diff --git a/deploy/terraform/run/sap_library/imports.tf b/deploy/terraform/run/sap_library/imports.tf index d5f0648134..fb007346a7 100644 --- a/deploy/terraform/run/sap_library/imports.tf +++ b/deploy/terraform/run/sap_library/imports.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + /* Description: Import deployer resources diff --git a/deploy/terraform/run/sap_library/module.tf b/deploy/terraform/run/sap_library/module.tf index 5db46c94c6..5cefb7ba22 100644 --- a/deploy/terraform/run/sap_library/module.tf +++ b/deploy/terraform/run/sap_library/module.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + /* Description: Setup sap library diff --git a/deploy/terraform/run/sap_library/output.tf b/deploy/terraform/run/sap_library/output.tf index 58aec90ff8..f99fe9abfc 100644 --- a/deploy/terraform/run/sap_library/output.tf +++ b/deploy/terraform/run/sap_library/output.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # # Resource group definitioms # diff --git a/deploy/terraform/run/sap_library/providers.tf b/deploy/terraform/run/sap_library/providers.tf index 5453b37c08..11621c7a83 100644 --- a/deploy/terraform/run/sap_library/providers.tf +++ b/deploy/terraform/run/sap_library/providers.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + /* Description: diff --git a/deploy/terraform/run/sap_library/tfvar_variables.tf b/deploy/terraform/run/sap_library/tfvar_variables.tf index 9ed8ea2db5..9acb026a3f 100644 --- a/deploy/terraform/run/sap_library/tfvar_variables.tf +++ b/deploy/terraform/run/sap_library/tfvar_variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # # Environment definitioms # diff --git a/deploy/terraform/run/sap_library/transform.tf b/deploy/terraform/run/sap_library/transform.tf index 56f5f412d3..5710fcb2d6 100644 --- a/deploy/terraform/run/sap_library/transform.tf +++ b/deploy/terraform/run/sap_library/transform.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + locals { infrastructure = { diff --git a/deploy/terraform/run/sap_library/variables_global.tf b/deploy/terraform/run/sap_library/variables_global.tf index abd34819c8..5541dda4d2 100644 --- a/deploy/terraform/run/sap_library/variables_global.tf +++ b/deploy/terraform/run/sap_library/variables_global.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # # Variable definitioms # diff --git a/deploy/terraform/run/sap_library/variables_local.tf b/deploy/terraform/run/sap_library/variables_local.tf index 17066a12e7..3039599c92 100644 --- a/deploy/terraform/run/sap_library/variables_local.tf +++ b/deploy/terraform/run/sap_library/variables_local.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + ############################################################################### # # diff --git a/deploy/terraform/run/sap_system/backend.tf b/deploy/terraform/run/sap_system/backend.tf index 70dddc1207..bd3310a84f 100644 --- a/deploy/terraform/run/sap_system/backend.tf +++ b/deploy/terraform/run/sap_system/backend.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + /* Description: To use remote backend to deploy sap system(s) diff --git a/deploy/terraform/run/sap_system/imports.tf b/deploy/terraform/run/sap_system/imports.tf index 546134195c..b20dbf8ce8 100644 --- a/deploy/terraform/run/sap_system/imports.tf +++ b/deploy/terraform/run/sap_system/imports.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + /* Description: diff --git a/deploy/terraform/run/sap_system/module.tf b/deploy/terraform/run/sap_system/module.tf index e75fa20b8c..6416526584 100644 --- a/deploy/terraform/run/sap_system/module.tf +++ b/deploy/terraform/run/sap_system/module.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + ######################################################################################### # # diff --git a/deploy/terraform/run/sap_system/output.tf b/deploy/terraform/run/sap_system/output.tf index 349c8650c3..7be6197574 100644 --- a/deploy/terraform/run/sap_system/output.tf +++ b/deploy/terraform/run/sap_system/output.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # diff --git a/deploy/terraform/run/sap_system/providers.tf b/deploy/terraform/run/sap_system/providers.tf index a56a8f45c9..49ad520e64 100644 --- a/deploy/terraform/run/sap_system/providers.tf +++ b/deploy/terraform/run/sap_system/providers.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + /* Description: Constraining provider versions diff --git a/deploy/terraform/run/sap_system/tfvar_variables.tf b/deploy/terraform/run/sap_system/tfvar_variables.tf index 4b58a8af3f..8d431388cd 100644 --- a/deploy/terraform/run/sap_system/tfvar_variables.tf +++ b/deploy/terraform/run/sap_system/tfvar_variables.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # # Environment definitioms # diff --git a/deploy/terraform/run/sap_system/transform.tf b/deploy/terraform/run/sap_system/transform.tf index 6733d272bb..7abbb3d721 100644 --- a/deploy/terraform/run/sap_system/transform.tf +++ b/deploy/terraform/run/sap_system/transform.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + locals { diff --git a/deploy/terraform/run/sap_system/variables_global.tf b/deploy/terraform/run/sap_system/variables_global.tf index c4dd720340..a0c73911c7 100644 --- a/deploy/terraform/run/sap_system/variables_global.tf +++ b/deploy/terraform/run/sap_system/variables_global.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + variable "application_tier" { description = "Details of the Application layer" default = { diff --git a/deploy/terraform/run/sap_system/variables_local.tf b/deploy/terraform/run/sap_system/variables_local.tf index 2d55e9a8c0..3c89d4d467 100644 --- a/deploy/terraform/run/sap_system/variables_local.tf +++ b/deploy/terraform/run/sap_system/variables_local.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + locals { diff --git a/deploy/terraform/terraform-units/modules/sap_deployer/app_service.tf b/deploy/terraform/terraform-units/modules/sap_deployer/app_service.tf index 61e047beea..a0deadf858 100644 --- a/deploy/terraform/terraform-units/modules/sap_deployer/app_service.tf +++ b/deploy/terraform/terraform-units/modules/sap_deployer/app_service.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # # Web App subnet - Check if locally provided # diff --git a/deploy/terraform/terraform-units/modules/sap_deployer/bastion.tf b/deploy/terraform/terraform-units/modules/sap_deployer/bastion.tf index 7b9dff2172..9898e2a853 100644 --- a/deploy/terraform/terraform-units/modules/sap_deployer/bastion.tf +++ b/deploy/terraform/terraform-units/modules/sap_deployer/bastion.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # # Bastion subnet - Check if locally provided # diff --git a/deploy/terraform/terraform-units/modules/sap_deployer/configure-deployer.tf b/deploy/terraform/terraform-units/modules/sap_deployer/configure-deployer.tf index 1c4afaea38..c7c59c87aa 100644 --- a/deploy/terraform/terraform-units/modules/sap_deployer/configure-deployer.tf +++ b/deploy/terraform/terraform-units/modules/sap_deployer/configure-deployer.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # # Configures the Deployer after creation. # diff --git a/deploy/terraform/terraform-units/modules/sap_deployer/firewall.tf b/deploy/terraform/terraform-units/modules/sap_deployer/firewall.tf index 5984d44916..b0bab4a767 100644 --- a/deploy/terraform/terraform-units/modules/sap_deployer/firewall.tf +++ b/deploy/terraform/terraform-units/modules/sap_deployer/firewall.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # # Firewall subnet - Check if locally provided # diff --git a/deploy/terraform/terraform-units/modules/sap_deployer/infrastructure.tf b/deploy/terraform/terraform-units/modules/sap_deployer/infrastructure.tf index d5ec23fe53..e24e6b46d8 100644 --- a/deploy/terraform/terraform-units/modules/sap_deployer/infrastructure.tf +++ b/deploy/terraform/terraform-units/modules/sap_deployer/infrastructure.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + /* Description: @@ -97,6 +100,7 @@ resource "azurerm_storage_account" "deployer" { network_rules { default_action = var.enable_firewall_for_keyvaults_and_storage ? "Deny" : "Allow" virtual_network_subnet_ids = var.use_service_endpoint ? [(local.management_subnet_exists) ? local.management_subnet_arm_id : azurerm_subnet.subnet_mgmt[0].id] : null + bypass = ["Metrics", "Logging", "AzureServices"] } } diff --git a/deploy/terraform/terraform-units/modules/sap_deployer/key_vault.tf b/deploy/terraform/terraform-units/modules/sap_deployer/key_vault.tf index 0fdb1edaf3..d6215beb9d 100644 --- a/deploy/terraform/terraform-units/modules/sap_deployer/key_vault.tf +++ b/deploy/terraform/terraform-units/modules/sap_deployer/key_vault.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + // Create private KV with access policy data "azurerm_client_config" "deployer" { provider = azurerm.main @@ -20,41 +23,32 @@ resource "azurerm_key_vault" "kv_user" { azurerm_resource_group.deployer[0].location ) tenant_id = length(var.deployer.user_assigned_identity_id) == 0 ? azurerm_user_assigned_identity.deployer[0].tenant_id : data.azurerm_user_assigned_identity.deployer[0].tenant_id - soft_delete_retention_days = var.soft_delete_retention_days purge_protection_enabled = var.enable_purge_control_for_keyvaults - sku_name = "standard" - public_network_access_enabled = var.public_network_access_enabled - - dynamic "network_acls" { - for_each = range(var.public_network_access_enabled ? 1 : 0) - content { - - bypass = "AzureServices" - default_action = var.enable_firewall_for_keyvaults_and_storage ? "Deny" : "Allow" - - ip_rules = compact( - [ - local.enable_deployer_public_ip ? ( - azurerm_public_ip.deployer[0].ip_address) : ( - ""), - length(var.Agent_IP) > 0 ? var.Agent_IP : "" - ] - ) - - virtual_network_subnet_ids = compact(local.management_subnet_exists ? (var.use_webapp ? ( - flatten([data.azurerm_subnet.subnet_mgmt[0].id, data.azurerm_subnet.webapp[0].id, var.subnets_to_add, var.additional_network_id])) : ( - flatten([data.azurerm_subnet.subnet_mgmt[0].id, var.subnets_to_add, var.additional_network_id])) - ) : (var.use_webapp ? ( - compact(flatten([azurerm_subnet.subnet_mgmt[0].id, try(azurerm_subnet.webapp[0].id, null), var.subnets_to_add, var.additional_network_id]))) : ( - flatten([azurerm_subnet.subnet_mgmt[0].id, var.subnets_to_add, var.additional_network_id]) - ) - )) - } - } + network_acls { + bypass = "AzureServices" + default_action = var.enable_firewall_for_keyvaults_and_storage ? "Deny" : "Allow" + ip_rules = compact( + [ + local.enable_deployer_public_ip ? ( + azurerm_public_ip.deployer[0].ip_address) : ( + ""), + length(var.Agent_IP) > 0 ? var.Agent_IP : "" + ] + ) + virtual_network_subnet_ids = compact(local.management_subnet_exists ? (var.use_webapp ? ( + flatten([data.azurerm_subnet.subnet_mgmt[0].id, data.azurerm_subnet.webapp[0].id, var.subnets_to_add, var.additional_network_id])) : ( + flatten([data.azurerm_subnet.subnet_mgmt[0].id, var.subnets_to_add, var.additional_network_id])) + ) : (var.use_webapp ? ( + compact(flatten([azurerm_subnet.subnet_mgmt[0].id, try(azurerm_subnet.webapp[0].id, null), var.subnets_to_add, var.additional_network_id]))) : ( + flatten([azurerm_subnet.subnet_mgmt[0].id, var.subnets_to_add, var.additional_network_id]) + ) + ) + ) + } lifecycle { ignore_changes = [network_acls] @@ -99,6 +93,7 @@ resource "azurerm_key_vault_secret" "ppk" { time_offset.secret_expiry_date.rfc3339) : ( null ) + content_type = "secret" } resource "azurerm_key_vault_secret" "pk" { @@ -119,6 +114,7 @@ resource "azurerm_key_vault_secret" "pk" { time_offset.secret_expiry_date.rfc3339) : ( null ) + content_type = "secret" } resource "azurerm_key_vault_secret" "username" { count = (local.enable_key && !local.key_exist) ? ( @@ -145,6 +141,7 @@ resource "azurerm_key_vault_secret" "username" { time_offset.secret_expiry_date.rfc3339) : ( null ) + content_type = "configuration" } resource "azurerm_key_vault_secret" "pat" { @@ -172,6 +169,7 @@ resource "azurerm_key_vault_secret" "pat" { time_offset.secret_expiry_date.rfc3339) : ( null ) + content_type = "secret" } # resource "azurerm_key_vault_secret" "web_pwd" { @@ -229,6 +227,7 @@ resource "azurerm_key_vault_secret" "pwd" { time_offset.secret_expiry_date.rfc3339) : ( null ) + content_type = "secret" } data "azurerm_key_vault_secret" "pk" { diff --git a/deploy/terraform/terraform-units/modules/sap_deployer/nsg-mgmt.tf b/deploy/terraform/terraform-units/modules/sap_deployer/nsg-mgmt.tf index 506924ce98..3790ec3755 100644 --- a/deploy/terraform/terraform-units/modules/sap_deployer/nsg-mgmt.tf +++ b/deploy/terraform/terraform-units/modules/sap_deployer/nsg-mgmt.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + /* Description: diff --git a/deploy/terraform/terraform-units/modules/sap_deployer/output.tf b/deploy/terraform/terraform-units/modules/sap_deployer/output.tf index a203a69b95..070dc1e681 100644 --- a/deploy/terraform/terraform-units/modules/sap_deployer/output.tf +++ b/deploy/terraform/terraform-units/modules/sap_deployer/output.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + /* Description: diff --git a/deploy/terraform/terraform-units/modules/sap_deployer/providers.tf b/deploy/terraform/terraform-units/modules/sap_deployer/providers.tf index cc341e169a..80cd1f0cf8 100644 --- a/deploy/terraform/terraform-units/modules/sap_deployer/providers.tf +++ b/deploy/terraform/terraform-units/modules/sap_deployer/providers.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + terraform { required_providers { azurerm = { diff --git a/deploy/terraform/terraform-units/modules/sap_deployer/randomid.tf b/deploy/terraform/terraform-units/modules/sap_deployer/randomid.tf index f4e0842ab1..ea4f9b40d5 100644 --- a/deploy/terraform/terraform-units/modules/sap_deployer/randomid.tf +++ b/deploy/terraform/terraform-units/modules/sap_deployer/randomid.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # Generates random text for boot diagnostics storage account name resource "random_id" "deployer" { byte_length = 4 diff --git a/deploy/terraform/terraform-units/modules/sap_deployer/templates/configure_deployer.sh.tmpl b/deploy/terraform/terraform-units/modules/sap_deployer/templates/configure_deployer.sh.tmpl index f295dc65ba..837b3ced4b 100644 --- a/deploy/terraform/terraform-units/modules/sap_deployer/templates/configure_deployer.sh.tmpl +++ b/deploy/terraform/terraform-units/modules/sap_deployer/templates/configure_deployer.sh.tmpl @@ -1,5 +1,6 @@ #!/bin/bash - +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. # # configure_deployer.sh # diff --git a/deploy/terraform/terraform-units/modules/sap_deployer/variables_global.tf b/deploy/terraform/terraform-units/modules/sap_deployer/variables_global.tf index c0120058e4..2f5fa4bbcd 100644 --- a/deploy/terraform/terraform-units/modules/sap_deployer/variables_global.tf +++ b/deploy/terraform/terraform-units/modules/sap_deployer/variables_global.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # # Parameters # diff --git a/deploy/terraform/terraform-units/modules/sap_deployer/variables_local.tf b/deploy/terraform/terraform-units/modules/sap_deployer/variables_local.tf index 15f9685410..88e49cdca7 100644 --- a/deploy/terraform/terraform-units/modules/sap_deployer/variables_local.tf +++ b/deploy/terraform/terraform-units/modules/sap_deployer/variables_local.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + ############################################################################### # # diff --git a/deploy/terraform/terraform-units/modules/sap_deployer/vm-deployer.tf b/deploy/terraform/terraform-units/modules/sap_deployer/vm-deployer.tf index b5f28f699a..8a95fc88ce 100644 --- a/deploy/terraform/terraform-units/modules/sap_deployer/vm-deployer.tf +++ b/deploy/terraform/terraform-units/modules/sap_deployer/vm-deployer.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + /* Description: diff --git a/deploy/terraform/terraform-units/modules/sap_landscape/ams.tf b/deploy/terraform/terraform-units/modules/sap_landscape/ams.tf index f5711f1c0e..fc2422d35a 100644 --- a/deploy/terraform/terraform-units/modules/sap_landscape/ams.tf +++ b/deploy/terraform/terraform-units/modules/sap_landscape/ams.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + // Imports data of existing AMS subnet data "azurerm_subnet" "ams" { provider = azurerm.main diff --git a/deploy/terraform/terraform-units/modules/sap_landscape/anf.tf b/deploy/terraform/terraform-units/modules/sap_landscape/anf.tf index 5ff59aed41..26197dfffb 100644 --- a/deploy/terraform/terraform-units/modules/sap_landscape/anf.tf +++ b/deploy/terraform/terraform-units/modules/sap_landscape/anf.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # diff --git a/deploy/terraform/terraform-units/modules/sap_landscape/dns.tf b/deploy/terraform/terraform-units/modules/sap_landscape/dns.tf index 4c388445b9..4149d6a71f 100644 --- a/deploy/terraform/terraform-units/modules/sap_landscape/dns.tf +++ b/deploy/terraform/terraform-units/modules/sap_landscape/dns.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # diff --git a/deploy/terraform/terraform-units/modules/sap_landscape/infrastructure.tf b/deploy/terraform/terraform-units/modules/sap_landscape/infrastructure.tf index 03eb24e50c..2e79151290 100644 --- a/deploy/terraform/terraform-units/modules/sap_landscape/infrastructure.tf +++ b/deploy/terraform/terraform-units/modules/sap_landscape/infrastructure.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # diff --git a/deploy/terraform/terraform-units/modules/sap_landscape/iscsi.tf b/deploy/terraform/terraform-units/modules/sap_landscape/iscsi.tf index 3f7f257801..1ff7841cb2 100644 --- a/deploy/terraform/terraform-units/modules/sap_landscape/iscsi.tf +++ b/deploy/terraform/terraform-units/modules/sap_landscape/iscsi.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # # iSCSI # @@ -261,15 +264,14 @@ resource "azurerm_key_vault_secret" "iscsi_ppk" { azurerm_key_vault_access_policy.kv_user_msi, azurerm_private_endpoint.kv_user ] - content_type = "" + content_type = "secret" name = local.iscsi_ppk_name value = local.iscsi_private_key key_vault_id = local.user_keyvault_exist ? local.user_key_vault_id : azurerm_key_vault.kv_user[0].id - expiration_date = var.key_vault.set_secret_expiry ? ( + expiration_date = var.key_vault.set_secret_expiry ? ( time_offset.secret_expiry_date.rfc3339) : ( null ) - } resource "azurerm_key_vault_secret" "iscsi_pk" { @@ -282,11 +284,11 @@ resource "azurerm_key_vault_secret" "iscsi_pk" { azurerm_key_vault_access_policy.kv_user_msi, azurerm_private_endpoint.kv_user ] - content_type = "" + content_type = "secret" name = local.iscsi_pk_name value = local.iscsi_public_key key_vault_id = local.user_keyvault_exist ? local.user_key_vault_id : azurerm_key_vault.kv_user[0].id - expiration_date = var.key_vault.set_secret_expiry ? ( + expiration_date = var.key_vault.set_secret_expiry ? ( time_offset.secret_expiry_date.rfc3339) : ( null ) @@ -302,11 +304,11 @@ resource "azurerm_key_vault_secret" "iscsi_username" { azurerm_key_vault_access_policy.kv_user_msi, azurerm_private_endpoint.kv_user ] - content_type = "" + content_type = "configuration" name = local.iscsi_username_name value = local.iscsi_auth_username key_vault_id = local.user_keyvault_exist ? local.user_key_vault_id : azurerm_key_vault.kv_user[0].id - expiration_date = var.key_vault.set_secret_expiry ? ( + expiration_date = var.key_vault.set_secret_expiry ? ( time_offset.secret_expiry_date.rfc3339) : ( null ) @@ -322,7 +324,7 @@ resource "azurerm_key_vault_secret" "iscsi_password" { azurerm_key_vault_access_policy.kv_user_msi, azurerm_private_endpoint.kv_user ] - content_type = "" + content_type = "secret" name = local.iscsi_pwd_name value = local.iscsi_auth_password key_vault_id = local.user_keyvault_exist ? local.user_key_vault_id : azurerm_key_vault.kv_user[0].id diff --git a/deploy/terraform/terraform-units/modules/sap_landscape/key_vault_sap_landscape.tf b/deploy/terraform/terraform-units/modules/sap_landscape/key_vault_sap_landscape.tf index 69082f3fa6..61a68e72ed 100644 --- a/deploy/terraform/terraform-units/modules/sap_landscape/key_vault_sap_landscape.tf +++ b/deploy/terraform/terraform-units/modules/sap_landscape/key_vault_sap_landscape.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + data "azuread_client_config" "current" {} @@ -32,35 +35,29 @@ resource "azurerm_key_vault" "kv_user" { public_network_access_enabled = var.public_network_access_enabled tags = var.tags - dynamic "network_acls" { - for_each = range(var.enable_firewall_for_keyvaults_and_storage ? 1 : 0) - content { - - bypass = "AzureServices" - default_action = var.enable_firewall_for_keyvaults_and_storage ? "Deny" : "Allow" - - ip_rules = compact( - [ - length(local.deployer_public_ip_address) > 0 ? local.deployer_public_ip_address : "", - length(var.Agent_IP) > 0 ? var.Agent_IP : "" - ] - ) - - virtual_network_subnet_ids = compact( - [ - local.database_subnet_defined ? ( - local.database_subnet_existing ? var.infrastructure.virtual_networks.sap.subnet_db.arm_id : azurerm_subnet.db[0].id) : ( - "" - ), local.application_subnet_defined ? ( - local.application_subnet_existing ? var.infrastructure.virtual_networks.sap.subnet_app.arm_id : azurerm_subnet.app[0].id) : ( - "" - ), - local.deployer_subnet_management_id, - var.additional_network_id - ] - ) - } - } + network_acls { + bypass = "AzureServices" + default_action = var.enable_firewall_for_keyvaults_and_storage ? "Deny" : "Allow" + ip_rules = compact( + [ + length(local.deployer_public_ip_address) > 0 ? local.deployer_public_ip_address : "", + length(var.Agent_IP) > 0 ? var.Agent_IP : "" + ] + ) + virtual_network_subnet_ids = compact( + [ + local.database_subnet_defined ? ( + local.database_subnet_existing ? var.infrastructure.virtual_networks.sap.subnet_db.arm_id : azurerm_subnet.db[0].id) : ( + "" + ), local.application_subnet_defined ? ( + local.application_subnet_existing ? var.infrastructure.virtual_networks.sap.subnet_app.arm_id : azurerm_subnet.app[0].id) : ( + "" + ), + local.deployer_subnet_management_id, + var.additional_network_id + ] + ) + } lifecycle { ignore_changes = [ @@ -224,14 +221,14 @@ resource "azurerm_key_vault_secret" "sid_ppk" { time_sleep.wait_for_private_endpoints ] count = !local.sid_key_exist ? 1 : 0 - content_type = "" - name = local.sid_ppk_name - value = local.sid_private_key - key_vault_id = local.user_keyvault_exist ? ( + content_type = "secret" + name = local.sid_ppk_name + value = local.sid_private_key + key_vault_id = local.user_keyvault_exist ? ( data.azurerm_key_vault.kv_user[0].id) : ( azurerm_key_vault.kv_user[0].id ) - expiration_date = var.key_vault.set_secret_expiry ? ( + expiration_date = var.key_vault.set_secret_expiry ? ( time_offset.secret_expiry_date.rfc3339) : ( null ) @@ -253,14 +250,14 @@ resource "azurerm_key_vault_secret" "sid_pk" { time_sleep.wait_for_private_endpoints ] count = !local.sid_key_exist ? 1 : 0 - content_type = "" + content_type = "secret" name = local.sid_pk_name value = local.sid_public_key key_vault_id = local.user_keyvault_exist ? ( data.azurerm_key_vault.kv_user[0].id) : ( azurerm_key_vault.kv_user[0].id ) - expiration_date = var.key_vault.set_secret_expiry ? ( + expiration_date = var.key_vault.set_secret_expiry ? ( time_offset.secret_expiry_date.rfc3339) : ( null ) @@ -290,14 +287,14 @@ resource "azurerm_key_vault_secret" "sid_username" { time_sleep.wait_for_private_endpoints ] count = (!local.sid_credentials_secret_exist) ? 1 : 0 - content_type = "" + content_type = "configuration" name = local.sid_username_secret_name value = local.input_sid_username key_vault_id = local.user_keyvault_exist ? ( data.azurerm_key_vault.kv_user[0].id) : ( azurerm_key_vault.kv_user[0].id ) - expiration_date = var.key_vault.set_secret_expiry ? ( + expiration_date = var.key_vault.set_secret_expiry ? ( time_offset.secret_expiry_date.rfc3339) : ( null ) @@ -326,7 +323,7 @@ resource "azurerm_key_vault_secret" "sid_password" { ] count = (!local.sid_credentials_secret_exist) ? 1 : 0 name = local.sid_password_secret_name - content_type = "" + content_type = "secret" value = local.input_sid_password key_vault_id = local.user_keyvault_exist ? ( data.azurerm_key_vault.kv_user[0].id) : ( @@ -362,7 +359,7 @@ resource "azurerm_key_vault_secret" "witness_access_key" { time_sleep.wait_for_private_endpoints ] count = 1 - content_type = "" + content_type = "secret" name = replace( format("%s%s%s", length(local.prefix) > 0 ? ( @@ -399,7 +396,7 @@ resource "azurerm_key_vault_secret" "witness_name" { time_sleep.wait_for_private_endpoints ] count = 1 - content_type = "" + content_type = "configuration" name = replace( format("%s%s%s", length(local.prefix) > 0 ? ( @@ -435,7 +432,7 @@ resource "azurerm_key_vault_secret" "deployer_keyvault_user_name" { azurerm_private_endpoint.kv_user, time_sleep.wait_for_private_endpoints ] - content_type = "" + content_type = "configuration" name = "deployer-kv-name" value = local.deployer_keyvault_user_name key_vault_id = local.user_keyvault_exist ? ( diff --git a/deploy/terraform/terraform-units/modules/sap_landscape/nat_gateway.tf b/deploy/terraform/terraform-units/modules/sap_landscape/nat_gateway.tf index f248baa49f..e491275446 100644 --- a/deploy/terraform/terraform-units/modules/sap_landscape/nat_gateway.tf +++ b/deploy/terraform/terraform-units/modules/sap_landscape/nat_gateway.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # https://github.com/hashicorp/terraform-provider-azurerm/issues/18741 # public IP address for the natGateway resource "azurerm_public_ip" "ng_pip" { diff --git a/deploy/terraform/terraform-units/modules/sap_landscape/nsg.tf b/deploy/terraform/terraform-units/modules/sap_landscape/nsg.tf index 2bd61fa42a..232783ce2f 100644 --- a/deploy/terraform/terraform-units/modules/sap_landscape/nsg.tf +++ b/deploy/terraform/terraform-units/modules/sap_landscape/nsg.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # # Network security groups # diff --git a/deploy/terraform/terraform-units/modules/sap_landscape/outputs.tf b/deploy/terraform/terraform-units/modules/sap_landscape/outputs.tf index 37d2058f7c..269fb8c830 100644 --- a/deploy/terraform/terraform-units/modules/sap_landscape/outputs.tf +++ b/deploy/terraform/terraform-units/modules/sap_landscape/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # # This file contains the output variables for the SAP landscape module # diff --git a/deploy/terraform/terraform-units/modules/sap_landscape/providers.tf b/deploy/terraform/terraform-units/modules/sap_landscape/providers.tf index da18c1a325..3f180ef536 100644 --- a/deploy/terraform/terraform-units/modules/sap_landscape/providers.tf +++ b/deploy/terraform/terraform-units/modules/sap_landscape/providers.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + terraform { required_providers { azurerm = { diff --git a/deploy/terraform/terraform-units/modules/sap_landscape/randomid.tf b/deploy/terraform/terraform-units/modules/sap_landscape/randomid.tf index caf9cf939b..3d0fd720d0 100644 --- a/deploy/terraform/terraform-units/modules/sap_landscape/randomid.tf +++ b/deploy/terraform/terraform-units/modules/sap_landscape/randomid.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + // Generates random text for boot diagnostics storage account name resource "random_id" "random_id" { byte_length = 4 diff --git a/deploy/terraform/terraform-units/modules/sap_landscape/storage_accounts.tf b/deploy/terraform/terraform-units/modules/sap_landscape/storage_accounts.tf index c0b2b2fcf1..45fbb32d48 100644 --- a/deploy/terraform/terraform-units/modules/sap_landscape/storage_accounts.tf +++ b/deploy/terraform/terraform-units/modules/sap_landscape/storage_accounts.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + ################################################################################ # # # Diagnostics storage account # @@ -33,6 +36,31 @@ resource "azurerm_storage_account" "storage_bootdiag" { tags = var.tags shared_access_key_enabled = var.infrastructure.shared_access_key_enabled public_network_access_enabled = var.public_network_access_enabled + network_rules { + default_action = var.enable_firewall_for_keyvaults_and_storage ? "Deny" : "Allow" + virtual_network_subnet_ids = var.public_network_access_enabled ? compact([ + local.database_subnet_defined ? ( + local.database_subnet_existing ? var.infrastructure.virtual_networks.sap.subnet_db.arm_id : azurerm_subnet.db[0].id) : ( + null + ), local.application_subnet_defined ? ( + local.application_subnet_existing ? var.infrastructure.virtual_networks.sap.subnet_app.arm_id : azurerm_subnet.app[0].id) : ( + null + ), local.web_subnet_defined ? ( + local.web_subnet_existing ? var.infrastructure.virtual_networks.sap.subnet_web.arm_id : azurerm_subnet.web[0].id) : ( + null + ), local.enable_sub_iscsi ? ( + local.sub_iscsi_exists ? var.infrastructure.virtual_networks.sap.subnet_iscsi.arm_id : azurerm_subnet.iscsi[0].id) : ( + null + ), length(local.deployer_subnet_management_id) > 0 ? local.deployer_subnet_management_id : null, + length(var.additional_network_id) > 0 ? var.additional_network_id : null + ] + ) : null + ip_rules = var.public_network_access_enabled ? compact([ + length(local.deployer_public_ip_address) > 0 ? local.deployer_public_ip_address : "", + length(var.Agent_IP) > 0 ? var.Agent_IP : "" + ]) : null + bypass = ["Metrics", "Logging", "AzureServices"] + } } @@ -156,6 +184,7 @@ resource "azurerm_storage_account" "witness_storage" { length(local.deployer_public_ip_address) > 0 ? local.deployer_public_ip_address : "", length(var.Agent_IP) > 0 ? var.Agent_IP : "" ]) : null + bypass = ["Metrics", "Logging", "AzureServices"] } @@ -293,6 +322,7 @@ resource "azurerm_storage_account" "transport" { length(local.deployer_public_ip_address) > 0 ? local.deployer_public_ip_address : "", length(var.Agent_IP) > 0 ? var.Agent_IP : "" ]) : null + bypass = ["Metrics", "Logging", "AzureServices"] } @@ -500,7 +530,7 @@ resource "azurerm_storage_account_network_rules" "install" { length(local.deployer_subnet_management_id) > 0 ? local.deployer_subnet_management_id : null ] ) : null - + bypass = ["Metrics", "Logging", "AzureServices"] lifecycle { ignore_changes = [virtual_network_subnet_ids] } diff --git a/deploy/terraform/terraform-units/modules/sap_landscape/subnets.tf b/deploy/terraform/terraform-units/modules/sap_landscape/subnets.tf index f317c4726e..95fc17cbea 100644 --- a/deploy/terraform/terraform-units/modules/sap_landscape/subnets.tf +++ b/deploy/terraform/terraform-units/modules/sap_landscape/subnets.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + // Creates admin subnet of SAP VNET resource "azurerm_subnet" "admin" { provider = azurerm.main diff --git a/deploy/terraform/terraform-units/modules/sap_landscape/variables_global.tf b/deploy/terraform/terraform-units/modules/sap_landscape/variables_global.tf index 6de388c852..cfd190bca5 100644 --- a/deploy/terraform/terraform-units/modules/sap_landscape/variables_global.tf +++ b/deploy/terraform/terraform-units/modules/sap_landscape/variables_global.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # # This file contains the input variables for the SAP landscape module # diff --git a/deploy/terraform/terraform-units/modules/sap_landscape/variables_local.tf b/deploy/terraform/terraform-units/modules/sap_landscape/variables_local.tf index 501aef467e..490198f99e 100644 --- a/deploy/terraform/terraform-units/modules/sap_landscape/variables_local.tf +++ b/deploy/terraform/terraform-units/modules/sap_landscape/variables_local.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + ############################################################################### # # diff --git a/deploy/terraform/terraform-units/modules/sap_landscape/vm.tf b/deploy/terraform/terraform-units/modules/sap_landscape/vm.tf index b42038027f..d56f33b218 100644 --- a/deploy/terraform/terraform-units/modules/sap_landscape/vm.tf +++ b/deploy/terraform/terraform-units/modules/sap_landscape/vm.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + ######################################################################################### # # # Primary Network Interface # diff --git a/deploy/terraform/terraform-units/modules/sap_library/dns.tf b/deploy/terraform/terraform-units/modules/sap_library/dns.tf index 8bc9cd9720..5a67bc10da 100644 --- a/deploy/terraform/terraform-units/modules/sap_library/dns.tf +++ b/deploy/terraform/terraform-units/modules/sap_library/dns.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # # DNS Information # diff --git a/deploy/terraform/terraform-units/modules/sap_library/infrastructure.tf b/deploy/terraform/terraform-units/modules/sap_library/infrastructure.tf index dd70adb561..1f05f59519 100644 --- a/deploy/terraform/terraform-units/modules/sap_library/infrastructure.tf +++ b/deploy/terraform/terraform-units/modules/sap_library/infrastructure.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # # Resource Group Information # diff --git a/deploy/terraform/terraform-units/modules/sap_library/key_vault.tf b/deploy/terraform/terraform-units/modules/sap_library/key_vault.tf index adf95fbdf4..af7c38cbe1 100644 --- a/deploy/terraform/terraform-units/modules/sap_library/key_vault.tf +++ b/deploy/terraform/terraform-units/modules/sap_library/key_vault.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # @@ -25,6 +28,7 @@ resource "azurerm_key_vault_secret" "saplibrary_access_key" { azurerm_private_endpoint.kv_user, time_sleep.wait_for_private_endpoints ] + content_type = "secret" name = "sapbits-access-key" value = local.sa_sapbits_exists ? ( data.azurerm_storage_account.storage_sapbits[0].primary_access_key) : ( @@ -50,6 +54,7 @@ resource "azurerm_key_vault_secret" "sapbits_location_base_path" { azurerm_private_endpoint.kv_user, time_sleep.wait_for_private_endpoints ] + content_type = "configuration" name = "sapbits-location-base-path" value = format("https://%s.blob.core.windows.net/%s", length(var.storage_account_sapbits.arm_id) > 0 ? split("/", var.storage_account_sapbits.arm_id)[8] : local.sa_sapbits_name, @@ -75,6 +80,7 @@ resource "azurerm_key_vault_secret" "sa_connection_string" { time_sleep.wait_for_private_endpoints ] count = length(try(var.key_vault.kv_spn_id, "")) > 0 ? 1 : 0 + content_type = "secret" name = "sa-connection-string" value = local.sa_tfstate_exists ? ( data.azurerm_storage_account.storage_tfstate[0].primary_connection_string) : ( @@ -98,6 +104,7 @@ resource "azurerm_key_vault_secret" "tfstate" { time_sleep.wait_for_private_endpoints ] count = length(try(var.key_vault.kv_spn_id, "")) > 0 ? 1 : 0 + content_type = "configuration" name = "tfstate" value = format("https://%s.blob.core.windows.net", local.sa_tfstate_exists ? (data.azurerm_storage_account.storage_tfstate[0].name) : (azurerm_storage_account.storage_tfstate[0].name)) key_vault_id = var.key_vault.kv_spn_id diff --git a/deploy/terraform/terraform-units/modules/sap_library/keyvault_endpoint.tf b/deploy/terraform/terraform-units/modules/sap_library/keyvault_endpoint.tf index 061f06c12d..e4fa337b03 100644 --- a/deploy/terraform/terraform-units/modules/sap_library/keyvault_endpoint.tf +++ b/deploy/terraform/terraform-units/modules/sap_library/keyvault_endpoint.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # diff --git a/deploy/terraform/terraform-units/modules/sap_library/output.tf b/deploy/terraform/terraform-units/modules/sap_library/output.tf index e3a28b89c3..3b28db7999 100644 --- a/deploy/terraform/terraform-units/modules/sap_library/output.tf +++ b/deploy/terraform/terraform-units/modules/sap_library/output.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + ############################################################################### # # diff --git a/deploy/terraform/terraform-units/modules/sap_library/providers.tf b/deploy/terraform/terraform-units/modules/sap_library/providers.tf index 0c3039d74d..7b4f24a2e3 100644 --- a/deploy/terraform/terraform-units/modules/sap_library/providers.tf +++ b/deploy/terraform/terraform-units/modules/sap_library/providers.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + terraform { required_providers { azurerm = { diff --git a/deploy/terraform/terraform-units/modules/sap_library/randomid.tf b/deploy/terraform/terraform-units/modules/sap_library/randomid.tf index ae641b38b2..7eca2c07a3 100644 --- a/deploy/terraform/terraform-units/modules/sap_library/randomid.tf +++ b/deploy/terraform/terraform-units/modules/sap_library/randomid.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # Generates random text for boot diagnostics storage account name resource "random_id" "post_fix" { byte_length = 4 diff --git a/deploy/terraform/terraform-units/modules/sap_library/storage_accounts.tf b/deploy/terraform/terraform-units/modules/sap_library/storage_accounts.tf index aea169716e..4d577ae67c 100644 --- a/deploy/terraform/terraform-units/modules/sap_library/storage_accounts.tf +++ b/deploy/terraform/terraform-units/modules/sap_library/storage_accounts.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # @@ -82,7 +85,7 @@ resource "azurerm_storage_account_network_rules" "storage_tfstate" { ) virtual_network_subnet_ids = local.virtual_additional_network_ids - + bypass = ["Metrics", "Logging", "AzureServices"] lifecycle { ignore_changes = [virtual_network_subnet_ids] } @@ -318,6 +321,7 @@ resource "azurerm_storage_account_network_rules" "storage_sapbits" { ] ) virtual_network_subnet_ids = local.virtual_additional_network_ids + bypass = ["Metrics", "Logging", "AzureServices"] lifecycle { ignore_changes = [virtual_network_subnet_ids] diff --git a/deploy/terraform/terraform-units/modules/sap_library/variables_global.tf b/deploy/terraform/terraform-units/modules/sap_library/variables_global.tf index 11a885c230..0a337f4195 100644 --- a/deploy/terraform/terraform-units/modules/sap_library/variables_global.tf +++ b/deploy/terraform/terraform-units/modules/sap_library/variables_global.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + variable "infrastructure" { description = "Details of the Azure infrastructure to deploy the SAP library into" default = {} diff --git a/deploy/terraform/terraform-units/modules/sap_library/variables_local.tf b/deploy/terraform/terraform-units/modules/sap_library/variables_local.tf index 06b143dcbd..9c9fccdb16 100644 --- a/deploy/terraform/terraform-units/modules/sap_library/variables_local.tf +++ b/deploy/terraform/terraform-units/modules/sap_library/variables_local.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + locals { diff --git a/deploy/terraform/terraform-units/modules/sap_namegenerator/keyvault.tf b/deploy/terraform/terraform-units/modules/sap_namegenerator/keyvault.tf index d477589912..a87c74a006 100644 --- a/deploy/terraform/terraform-units/modules/sap_namegenerator/keyvault.tf +++ b/deploy/terraform/terraform-units/modules/sap_namegenerator/keyvault.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + locals { sdu_private_keyvault_name = format("%s%s%s%sp%s", replace(local.env_verified, "/[^A-Za-z0-9]/", ""), local.location_short, replace(local.sap_vnet_verified, "/[^A-Za-z0-9]/", ""), var.sap_sid, local.random_id_verified) diff --git a/deploy/terraform/terraform-units/modules/sap_namegenerator/output.tf b/deploy/terraform/terraform-units/modules/sap_namegenerator/output.tf index 414a86c07c..d41845004d 100644 --- a/deploy/terraform/terraform-units/modules/sap_namegenerator/output.tf +++ b/deploy/terraform/terraform-units/modules/sap_namegenerator/output.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + output "naming" { description = "values for naming convention" value = { diff --git a/deploy/terraform/terraform-units/modules/sap_namegenerator/ppg-avset.tf b/deploy/terraform/terraform-units/modules/sap_namegenerator/ppg-avset.tf index 6dd01aa759..6071b05ab4 100644 --- a/deploy/terraform/terraform-units/modules/sap_namegenerator/ppg-avset.tf +++ b/deploy/terraform/terraform-units/modules/sap_namegenerator/ppg-avset.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + locals { ppg_names = local.zonal_deployment ? ( diff --git a/deploy/terraform/terraform-units/modules/sap_namegenerator/resourcegroup.tf b/deploy/terraform/terraform-units/modules/sap_namegenerator/resourcegroup.tf index 5bbaab6ea8..7412b69092 100644 --- a/deploy/terraform/terraform-units/modules/sap_namegenerator/resourcegroup.tf +++ b/deploy/terraform/terraform-units/modules/sap_namegenerator/resourcegroup.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + locals { sdu_name = length(var.codename) > 0 ? ( diff --git a/deploy/terraform/terraform-units/modules/sap_namegenerator/variables_global.tf b/deploy/terraform/terraform-units/modules/sap_namegenerator/variables_global.tf index 909018e19b..3ebc50f0e6 100644 --- a/deploy/terraform/terraform-units/modules/sap_namegenerator/variables_global.tf +++ b/deploy/terraform/terraform-units/modules/sap_namegenerator/variables_global.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + variable "environment" { description = "Environment type (Prod, Test, Sand, QA)" diff --git a/deploy/terraform/terraform-units/modules/sap_namegenerator/variables_local.tf b/deploy/terraform/terraform-units/modules/sap_namegenerator/variables_local.tf index 6d335e4d6c..22b4160f7e 100644 --- a/deploy/terraform/terraform-units/modules/sap_namegenerator/variables_local.tf +++ b/deploy/terraform/terraform-units/modules/sap_namegenerator/variables_local.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + locals { location_short = upper(try(var.region_mapping[var.location], "unkn")) diff --git a/deploy/terraform/terraform-units/modules/sap_namegenerator/vm.tf b/deploy/terraform/terraform-units/modules/sap_namegenerator/vm.tf index f6741628d9..105bdd2704 100644 --- a/deploy/terraform/terraform-units/modules/sap_namegenerator/vm.tf +++ b/deploy/terraform/terraform-units/modules/sap_namegenerator/vm.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + locals { db_oscode = upper(var.db_ostype) == "LINUX" ? "l" : "w" diff --git a/deploy/terraform/terraform-units/modules/sap_system/anydb_node/infrastructure.tf b/deploy/terraform/terraform-units/modules/sap_system/anydb_node/infrastructure.tf index 75f85135e1..87c767c615 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/anydb_node/infrastructure.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/anydb_node/infrastructure.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # diff --git a/deploy/terraform/terraform-units/modules/sap_system/anydb_node/outputs.tf b/deploy/terraform/terraform-units/modules/sap_system/anydb_node/outputs.tf index b711793c5f..54a762fec8 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/anydb_node/outputs.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/anydb_node/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # # AnyDB definitions # diff --git a/deploy/terraform/terraform-units/modules/sap_system/anydb_node/providers.tf b/deploy/terraform/terraform-units/modules/sap_system/anydb_node/providers.tf index 49aaed0d9a..4c8d850b9e 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/anydb_node/providers.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/anydb_node/providers.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + terraform { required_providers { azurerm = { diff --git a/deploy/terraform/terraform-units/modules/sap_system/anydb_node/variables_global.tf b/deploy/terraform/terraform-units/modules/sap_system/anydb_node/variables_global.tf index e814c7ff26..bb8f827c1b 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/anydb_node/variables_global.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/anydb_node/variables_global.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # # Parameters # diff --git a/deploy/terraform/terraform-units/modules/sap_system/anydb_node/variables_local.tf b/deploy/terraform/terraform-units/modules/sap_system/anydb_node/variables_local.tf index 6c0a8dac4b..0b46fc7082 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/anydb_node/variables_local.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/anydb_node/variables_local.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # # Local variables # diff --git a/deploy/terraform/terraform-units/modules/sap_system/anydb_node/vm-anydb.tf b/deploy/terraform/terraform-units/modules/sap_system/anydb_node/vm-anydb.tf index 137dbfbbc1..74161aa8fa 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/anydb_node/vm-anydb.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/anydb_node/vm-anydb.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # diff --git a/deploy/terraform/terraform-units/modules/sap_system/anydb_node/vm-observer.tf b/deploy/terraform/terraform-units/modules/sap_system/anydb_node/vm-observer.tf index 5c42c95ad1..7a0f1914af 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/anydb_node/vm-observer.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/anydb_node/vm-observer.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 diff --git a/deploy/terraform/terraform-units/modules/sap_system/app_tier/disk_logic.tf b/deploy/terraform/terraform-units/modules/sap_system/app_tier/disk_logic.tf index d4f4b6e552..3b6e059d9c 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/app_tier/disk_logic.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/app_tier/disk_logic.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + locals { base_app_data_disk_per_node = (local.application_server_count > 0) ? flatten( [ diff --git a/deploy/terraform/terraform-units/modules/sap_system/app_tier/infrastructure.tf b/deploy/terraform/terraform-units/modules/sap_system/app_tier/infrastructure.tf index d3bc5e1bfb..736972d846 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/app_tier/infrastructure.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/app_tier/infrastructure.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + // In brownfield scenarios the subnets are often defined in the workload // If subnet information is specified in the parameter file use it // As either of the arm_id or the prefix need to be specified to create diff --git a/deploy/terraform/terraform-units/modules/sap_system/app_tier/nsg-app-subnet.tf b/deploy/terraform/terraform-units/modules/sap_system/app_tier/nsg-app-subnet.tf index 6b4666b19b..1313e71658 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/app_tier/nsg-app-subnet.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/app_tier/nsg-app-subnet.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # # Application NSG - Check if locally provided # diff --git a/deploy/terraform/terraform-units/modules/sap_system/app_tier/nsg-webdisp.tf b/deploy/terraform/terraform-units/modules/sap_system/app_tier/nsg-webdisp.tf index 5122a86af3..6fbab13b38 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/app_tier/nsg-webdisp.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/app_tier/nsg-webdisp.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # # Web NSG - Check if locally provided # diff --git a/deploy/terraform/terraform-units/modules/sap_system/app_tier/outputs.tf b/deploy/terraform/terraform-units/modules/sap_system/app_tier/outputs.tf index 88bd803538..e11842c14b 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/app_tier/outputs.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/app_tier/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # diff --git a/deploy/terraform/terraform-units/modules/sap_system/app_tier/providers.tf b/deploy/terraform/terraform-units/modules/sap_system/app_tier/providers.tf index 49aaed0d9a..4c8d850b9e 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/app_tier/providers.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/app_tier/providers.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + terraform { required_providers { azurerm = { diff --git a/deploy/terraform/terraform-units/modules/sap_system/app_tier/variables_global.tf b/deploy/terraform/terraform-units/modules/sap_system/app_tier/variables_global.tf index 360b72eb09..1395903f10 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/app_tier/variables_global.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/app_tier/variables_global.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # # Parameters # diff --git a/deploy/terraform/terraform-units/modules/sap_system/app_tier/variables_local.tf b/deploy/terraform/terraform-units/modules/sap_system/app_tier/variables_local.tf index 3e43ffe52b..cbf1c406a9 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/app_tier/variables_local.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/app_tier/variables_local.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # # Local variables # diff --git a/deploy/terraform/terraform-units/modules/sap_system/app_tier/vm-app.tf b/deploy/terraform/terraform-units/modules/sap_system/app_tier/vm-app.tf index 47d783662f..ae704e38ba 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/app_tier/vm-app.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/app_tier/vm-app.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # diff --git a/deploy/terraform/terraform-units/modules/sap_system/app_tier/vm-scs.tf b/deploy/terraform/terraform-units/modules/sap_system/app_tier/vm-scs.tf index b380dcc93d..baf043a990 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/app_tier/vm-scs.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/app_tier/vm-scs.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # diff --git a/deploy/terraform/terraform-units/modules/sap_system/app_tier/vm-webdisp.tf b/deploy/terraform/terraform-units/modules/sap_system/app_tier/vm-webdisp.tf index c80866af48..1b81c79b63 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/app_tier/vm-webdisp.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/app_tier/vm-webdisp.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # diff --git a/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/anf.tf b/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/anf.tf index 27899db66e..5bf9196704 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/anf.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/anf.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # # Azure NetApp Volumes # diff --git a/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/infrastructure.tf b/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/infrastructure.tf index d81b1be2c7..bb5ce2c384 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/infrastructure.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/infrastructure.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # diff --git a/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/key_vault_sap_system.tf b/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/key_vault_sap_system.tf index 783bdac4c9..e32f2e684c 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/key_vault_sap_system.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/key_vault_sap_system.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + ############################################################################### # # # Retrieve secrets from workload zone key vault # @@ -104,6 +107,7 @@ resource "random_password" "password" { resource "azurerm_key_vault_secret" "auth_username" { provider = azurerm.main count = local.enable_sid_deployment && local.use_local_credentials ? 1 : 0 + content_type = "configuration" name = format("%s-username", try(coalesce(var.naming.resource_prefixes.sdu_secret, local.prefix), "")) value = local.sid_auth_username key_vault_id = length(local.user_key_vault_id) > 0 ? data.azurerm_key_vault.sid_keyvault_user[0].id : azurerm_key_vault.sid_keyvault_user[0].id @@ -114,6 +118,7 @@ resource "azurerm_key_vault_secret" "auth_username" { resource "azurerm_key_vault_secret" "auth_password" { provider = azurerm.main count = local.enable_sid_deployment && local.use_local_credentials ? 1 : 0 + content_type = "secret" name = format("%s-password", try(coalesce(var.naming.resource_prefixes.sdu_secret, local.prefix), "")) value = local.sid_auth_password key_vault_id = length(local.user_key_vault_id) > 0 ? data.azurerm_key_vault.sid_keyvault_user[0].id : azurerm_key_vault.sid_keyvault_user[0].id @@ -134,6 +139,7 @@ resource "tls_private_key" "sdu" { resource "azurerm_key_vault_secret" "sdu_private_key" { provider = azurerm.main count = local.enable_sid_deployment && local.use_local_credentials ? 1 : 0 + content_type = "secret" name = format("%s-sshkey", try(coalesce(var.naming.resource_prefixes.sdu_secret, local.prefix), "")) value = local.sid_private_key key_vault_id = length(local.user_key_vault_id) > 0 ? data.azurerm_key_vault.sid_keyvault_user[0].id : azurerm_key_vault.sid_keyvault_user[0].id @@ -143,6 +149,7 @@ resource "azurerm_key_vault_secret" "sdu_private_key" { resource "azurerm_key_vault_secret" "sdu_public_key" { provider = azurerm.main count = local.enable_sid_deployment && local.use_local_credentials ? 1 : 0 + content_type = "secret" name = format("%s-sshkey-pub", try(coalesce(var.naming.resource_prefixes.sdu_secret, local.prefix), "")) value = local.sid_public_key key_vault_id = length(local.user_key_vault_id) > 0 ? data.azurerm_key_vault.sid_keyvault_user[0].id : azurerm_key_vault.sid_keyvault_user[0].id diff --git a/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/nsgs.tf b/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/nsgs.tf index 92e666bb57..68f31aa044 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/nsgs.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/nsgs.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + /*-----------------------------------------------------------------------------8 | | | NSG | diff --git a/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/outputs.tf b/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/outputs.tf index 71f7b0914b..3d7fd74e87 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/outputs.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + ############################################################################### # # # Resource Group # diff --git a/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/providers.tf b/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/providers.tf index 1bca6c973d..bc897884ca 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/providers.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/providers.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + terraform { required_providers { azurerm = { diff --git a/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/randomid.tf b/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/randomid.tf index 36ac3263a7..86ce110d74 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/randomid.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/randomid.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # Generates random text for boot diagnostics storage account name resource "random_id" "random_id" { byte_length = 4 diff --git a/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/storage_accounts.tf b/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/storage_accounts.tf index 6b7f5f3e60..b460d909e8 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/storage_accounts.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/storage_accounts.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # @@ -44,12 +47,10 @@ resource "azurerm_storage_account" "sapmnt" { public_network_access_enabled = try(var.landscape_tfstate.public_network_access_enabled, true) tags = var.tags - dynamic "network_rules" { - for_each = range(var.enable_firewall_for_keyvaults_and_storage ? 1 : 0) - content { - - default_action = var.enable_firewall_for_keyvaults_and_storage ? "Deny" : "Allow" - virtual_network_subnet_ids = compact( + network_rules { + default_action = var.enable_firewall_for_keyvaults_and_storage ? "Deny" : "Allow" + bypass = ["Metrics", "Logging", "AzureServices"] + virtual_network_subnet_ids = compact( [ try(var.landscape_tfstate.admin_subnet_id, ""), try(var.landscape_tfstate.app_subnet_id, ""), @@ -58,15 +59,7 @@ resource "azurerm_storage_account" "sapmnt" { try(var.landscape_tfstate.subnet_mgmt_id, "") ] ) - ip_rules = compact( - [ - length(var.Agent_IP) > 0 ? var.Agent_IP : "" - ] - ) - - } - } - + } } diff --git a/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/subnets.tf b/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/subnets.tf index fa859f1ff8..be3845ee65 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/subnets.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/subnets.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # # Admin Subnet # diff --git a/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/variables_global.tf b/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/variables_global.tf index cfbeed14bf..059a0a9dc5 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/variables_global.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/variables_global.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + variable "application_tier" { validation { condition = ( diff --git a/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/variables_local.tf b/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/variables_local.tf index 624cc62e00..d30303b343 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/variables_local.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/variables_local.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + /* Description: Define local variables diff --git a/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/vm-anchor.tf b/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/vm-anchor.tf index 9c2a826350..969e4d5d15 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/vm-anchor.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/common_infrastructure/vm-anchor.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # Create Anchor VM resource "azurerm_network_interface" "anchor" { diff --git a/deploy/terraform/terraform-units/modules/sap_system/hdb_node/anf.tf b/deploy/terraform/terraform-units/modules/sap_system/hdb_node/anf.tf index b1634f6cbe..8bf13067ac 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/hdb_node/anf.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/hdb_node/anf.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # # Azure Net App Volumes for HANA # diff --git a/deploy/terraform/terraform-units/modules/sap_system/hdb_node/avg.tf b/deploy/terraform/terraform-units/modules/sap_system/hdb_node/avg.tf index e6865cdf64..bd9d8f19e2 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/hdb_node/avg.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/hdb_node/avg.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # # Azure Net App Application Volume groupss for HANA # diff --git a/deploy/terraform/terraform-units/modules/sap_system/hdb_node/infrastructure.tf b/deploy/terraform/terraform-units/modules/sap_system/hdb_node/infrastructure.tf index 2e6e6bb750..1a7cf17081 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/hdb_node/infrastructure.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/hdb_node/infrastructure.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + // AVAILABILITY SET resource "azurerm_availability_set" "hdb" { provider = azurerm.main diff --git a/deploy/terraform/terraform-units/modules/sap_system/hdb_node/outputs.tf b/deploy/terraform/terraform-units/modules/sap_system/hdb_node/outputs.tf index 1182134f7a..78f607dc70 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/hdb_node/outputs.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/hdb_node/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # # AnyDB definitions # diff --git a/deploy/terraform/terraform-units/modules/sap_system/hdb_node/providers.tf b/deploy/terraform/terraform-units/modules/sap_system/hdb_node/providers.tf index 0c3039d74d..7b4f24a2e3 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/hdb_node/providers.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/hdb_node/providers.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + terraform { required_providers { azurerm = { diff --git a/deploy/terraform/terraform-units/modules/sap_system/hdb_node/storage_accounts.tf b/deploy/terraform/terraform-units/modules/sap_system/hdb_node/storage_accounts.tf index dec8654a23..c046abaa25 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/hdb_node/storage_accounts.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/hdb_node/storage_accounts.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + resource "azurerm_storage_account" "hanashared" { provider = azurerm.main @@ -33,31 +36,19 @@ resource "azurerm_storage_account" "hanashared" { shared_access_key_enabled = var.infrastructure.shared_access_key_enabled_nfs tags = var.tags - dynamic "network_rules" { - for_each = range(var.enable_firewall_for_keyvaults_and_storage ? 1 : 0) - content { - - default_action = var.enable_firewall_for_keyvaults_and_storage ? "Deny" : "Allow" - virtual_network_subnet_ids = compact( - [ - try(var.landscape_tfstate.admin_subnet_id, ""), - try(var.landscape_tfstate.app_subnet_id, ""), - try(var.landscape_tfstate.db_subnet_id, ""), - try(var.landscape_tfstate.web_subnet_id, ""), - try(var.landscape_tfstate.subnet_mgmt_id, "") - ] - ) - ip_rules = compact( - [ - length(var.Agent_IP) > 0 ? var.Agent_IP : "" - ] - ) - - } - } - - - + network_rules { + default_action = var.enable_firewall_for_keyvaults_and_storage ? "Deny" : "Allow" + bypass = ["Metrics", "Logging", "AzureServices"] + virtual_network_subnet_ids = compact( + [ + try(var.landscape_tfstate.admin_subnet_id, ""), + try(var.landscape_tfstate.app_subnet_id, ""), + try(var.landscape_tfstate.db_subnet_id, ""), + try(var.landscape_tfstate.web_subnet_id, ""), + try(var.landscape_tfstate.subnet_mgmt_id, "") + ] + ) + } } ######################################################################################### diff --git a/deploy/terraform/terraform-units/modules/sap_system/hdb_node/variables_global.tf b/deploy/terraform/terraform-units/modules/sap_system/hdb_node/variables_global.tf index 1a100b3133..0dc6885636 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/hdb_node/variables_global.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/hdb_node/variables_global.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + variable "admin_subnet" { description = "Information about SAP admin subnet" } variable "anchor_vm" { description = "Deployed anchor VM" diff --git a/deploy/terraform/terraform-units/modules/sap_system/hdb_node/variables_local.tf b/deploy/terraform/terraform-units/modules/sap_system/hdb_node/variables_local.tf index 384d9d5360..9faa6c0b33 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/hdb_node/variables_local.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/hdb_node/variables_local.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + locals { // Resources naming diff --git a/deploy/terraform/terraform-units/modules/sap_system/hdb_node/vm-hdb.tf b/deploy/terraform/terraform-units/modules/sap_system/hdb_node/vm-hdb.tf index 444624d787..6192c8462e 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/hdb_node/vm-hdb.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/hdb_node/vm-hdb.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + /*-----------------------------------------------------------------------------8 | | | HANA - VMs | diff --git a/deploy/terraform/terraform-units/modules/sap_system/hdb_node/vm-observer.tf b/deploy/terraform/terraform-units/modules/sap_system/hdb_node/vm-observer.tf index 63b1ae57ca..442d2f91c0 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/hdb_node/vm-observer.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/hdb_node/vm-observer.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 diff --git a/deploy/terraform/terraform-units/modules/sap_system/output_files/dns_records.tf b/deploy/terraform/terraform-units/modules/sap_system/output_files/dns_records.tf index bfba050e28..fca687db2a 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/output_files/dns_records.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/output_files/dns_records.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + resource "azurerm_private_dns_a_record" "app_secondary" { provider = azurerm.dnsmanagement count = var.dns_a_records_for_secondary_names && var.use_secondary_ips && !var.use_custom_dns_a_registration && length(var.dns) > 0 ? var.app_server_count : 0 diff --git a/deploy/terraform/terraform-units/modules/sap_system/output_files/inventory.tf b/deploy/terraform/terraform-units/modules/sap_system/output_files/inventory.tf index 9c3f8d60e5..89eec1e8a0 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/output_files/inventory.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/output_files/inventory.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + #######################################4#######################################8 # # # Logic for Hosts file # diff --git a/deploy/terraform/terraform-units/modules/sap_system/output_files/naming.tf b/deploy/terraform/terraform-units/modules/sap_system/output_files/naming.tf index 3c1997d61d..fad1d876a7 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/output_files/naming.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/output_files/naming.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + resource "local_file" "naming" { count = var.save_naming_information ? 1 : 0 diff --git a/deploy/terraform/terraform-units/modules/sap_system/output_files/outputs.tf b/deploy/terraform/terraform-units/modules/sap_system/output_files/outputs.tf index 10266b0018..83c1ebacf4 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/output_files/outputs.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/output_files/outputs.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + # output "output_json" { # value = local_file.output_json # } diff --git a/deploy/terraform/terraform-units/modules/sap_system/output_files/providers.tf b/deploy/terraform/terraform-units/modules/sap_system/output_files/providers.tf index 09e19a0a6f..18253da3d8 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/output_files/providers.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/output_files/providers.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + terraform { required_providers { azurerm = { diff --git a/deploy/terraform/terraform-units/modules/sap_system/output_files/variables_global.tf b/deploy/terraform/terraform-units/modules/sap_system/output_files/variables_global.tf index c21e997e5a..93eeabb0b8 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/output_files/variables_global.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/output_files/variables_global.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + variable "subnet_cidr_anf" { description = "address prefix for the ANF subnet" } variable "ansible_user" { description = "The ansible remote user account to use" diff --git a/deploy/terraform/terraform-units/modules/sap_system/output_files/variables_local.tf b/deploy/terraform/terraform-units/modules/sap_system/output_files/variables_local.tf index f2c772059c..9fc3f94d73 100644 --- a/deploy/terraform/terraform-units/modules/sap_system/output_files/variables_local.tf +++ b/deploy/terraform/terraform-units/modules/sap_system/output_files/variables_local.tf @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + locals {