From 7fd4ae861b571def63765b82fd685ccfcdb58527 Mon Sep 17 00:00:00 2001 From: Jeleel Muibi <120250699+jeleel-muibi@users.noreply.github.com> Date: Thu, 26 Nov 2026 16:05:00 +0000 Subject: [PATCH] release: transition common to Apache-2.0 --- CHANGELOG.md | 5 +- LICENSE | 202 ++++++++++++++++++ NOTICE | 2 + README.md | 2 +- galaxy.yml | 2 +- roles/connectivity_test/README.md | 4 +- .../tasks/compile_results.yml | 2 +- roles/connectivity_test/tasks/main.yml | 2 +- .../tests/inventory/test_inventory.ini | 2 +- roles/connectivity_test/tests/smoke.yml | 2 +- .../tests/validate_artifacts.yml | 2 +- roles/docker_engine/README.md | 2 +- roles/edge_observability/README.md | 2 +- roles/env_guard/README.md | 4 +- roles/env_guard/meta/main.yml | 2 +- roles/env_guard/tasks/audit_logging.yml | 2 +- roles/env_guard/tasks/main.yml | 2 +- roles/env_guard/tests/test_env_validation.yml | 2 +- .../tests/test_env_validation_ci.yml | 2 +- .../.showcase/gen_inventory_showcase.txt | 2 +- roles/gen_inventory/README.md | 4 +- roles/gen_inventory/defaults/main.yml | 2 +- roles/gen_inventory/meta/argument_specs.yml | 2 +- roles/gen_inventory/tasks/_validate.yml | 2 +- roles/gen_inventory/tasks/gen_inventories.yml | 2 +- roles/gen_inventory/tasks/main.yml | 2 +- roles/gen_inventory/tests/ci_smoke.yml | 2 +- roles/gen_inventory/tests/smoke.yml | 2 +- .../.showcase/Host-Selector_Showcase.txt | 2 +- roles/host_selector/README.md | 4 +- roles/host_selector/defaults/main.yml | 2 +- .../tasks/dynamic_group_creation.yml | 2 +- roles/host_selector/tasks/input_handling.yml | 2 +- roles/host_selector/tasks/main.yml | 2 +- roles/host_selector/tasks/method_a_manual.yml | 2 +- roles/host_selector/tasks/method_b_groups.yml | 2 +- .../tasks/method_c_hierarchical.yml | 2 +- .../tasks/method_d_all_hosts.yml | 2 +- .../tests/inventory/test_inventory.ini | 2 +- roles/host_selector/tests/smoke.yml | 2 +- roles/host_selector/vars/main.yml | 2 +- roles/ip_mapper/README.md | 4 +- roles/ip_mapper/defaults/main.yml | 2 +- roles/ip_mapper/tasks/main.yml | 2 +- roles/ip_mapper/tasks/set_ansible_host.yml | 2 +- roles/ip_mapper/tasks/validate_mapping.yml | 2 +- .../tasks/validate_prerequisites.yml | 2 +- roles/ip_mapper/tests/group_vars/all.yml | 2 +- .../tests/inventory/test_inventory.ini | 2 +- roles/ip_mapper/tests/smoke.yml | 2 +- roles/postgresql_service/README.md | 2 +- roles/postgresql_service/meta/main.yml | 2 +- 52 files changed, 262 insertions(+), 55 deletions(-) create mode 100644 LICENSE create mode 100644 NOTICE diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f0cccf..45c3dfc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -- No unreleased changes yet. +### Changed + +- Relicensed the collection from MIT-0 to Apache-2.0 and added the standard + distribution notice. ## [0.1.7] - 2026-09-12 diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..d645695 --- /dev/null +++ b/LICENSE @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/NOTICE b/NOTICE new file mode 100644 index 0000000..3a54959 --- /dev/null +++ b/NOTICE @@ -0,0 +1,2 @@ +HybridOps Common Collection +Copyright 2025-2026 Jeleel Muibi and HybridOps contributors diff --git a/README.md b/README.md index 0147d2c..ba91af2 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ collections: ## License -- Code: [MIT-0](https://spdx.org/licenses/MIT-0.html) +- Code: [Apache-2.0](https://spdx.org/licenses/Apache-2.0.html) - Documentation: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) See the project licensing guidance at [docs.hybridops.tech](https://docs.hybridops.tech). diff --git a/galaxy.yml b/galaxy.yml index 464dd84..6d9c9ab 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -17,7 +17,7 @@ authors: - HybridOps.Tech license: - - MIT-0 + - Apache-2.0 tags: - hybridops diff --git a/roles/connectivity_test/README.md b/roles/connectivity_test/README.md index 971e019..a1a399a 100644 --- a/roles/connectivity_test/README.md +++ b/roles/connectivity_test/README.md @@ -3,7 +3,7 @@ Connectivity validation across ICMP, SSH, Telnet, HTTP, and HTTPS. Designed to integrate with the Environment Guard Framework (EGF) and produce structured results suitable for CI gates and reviewable run records. -**License:** MIT-0 (code), CC BY 4.0 (docs) +**License:** Apache-2.0 (code), CC BY 4.0 (docs) --- @@ -228,7 +228,7 @@ When used from Ansible Galaxy, treat this README as the primary reference and us ## License -- Code: [MIT-0](https://spdx.org/licenses/MIT-0.html) +- Code: [Apache-2.0](https://spdx.org/licenses/Apache-2.0.html) - Documentation & diagrams: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) See the [HybridOps licensing overview](https://docs.hybridops.tech/briefings/legal/licensing/) diff --git a/roles/connectivity_test/tasks/compile_results.yml b/roles/connectivity_test/tasks/compile_results.yml index 9b82bcb..e5982e9 100644 --- a/roles/connectivity_test/tasks/compile_results.yml +++ b/roles/connectivity_test/tasks/compile_results.yml @@ -1,5 +1,5 @@ --- -# SPDX-License-Identifier: MIT-0 +# SPDX-License-Identifier: Apache-2.0 # purpose: Compile per-host connectivity results into a structured test_results fact # adr: ADR-0600-environment-guard-framework # maintainer: HybridOps.Tech diff --git a/roles/connectivity_test/tasks/main.yml b/roles/connectivity_test/tasks/main.yml index 9275be8..048eeee 100644 --- a/roles/connectivity_test/tasks/main.yml +++ b/roles/connectivity_test/tasks/main.yml @@ -1,5 +1,5 @@ --- -# SPDX-License-Identifier: MIT-0 +# SPDX-License-Identifier: Apache-2.0 # purpose: Orchestrate connectivity tests, result compilation, and central persistence # adr: ADR-0600-environment-guard-framework # maintainer: HybridOps.Tech diff --git a/roles/connectivity_test/tests/inventory/test_inventory.ini b/roles/connectivity_test/tests/inventory/test_inventory.ini index 8c99215..ce77621 100644 --- a/roles/connectivity_test/tests/inventory/test_inventory.ini +++ b/roles/connectivity_test/tests/inventory/test_inventory.ini @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT-0 +# SPDX-License-Identifier: Apache-2.0 # purpose: Isolated test inventory for connectivity_test role demonstration # adr: ADR-0600-environment-guard-framework # maintainer: HybridOps.Tech diff --git a/roles/connectivity_test/tests/smoke.yml b/roles/connectivity_test/tests/smoke.yml index f29427b..37eb8da 100644 --- a/roles/connectivity_test/tests/smoke.yml +++ b/roles/connectivity_test/tests/smoke.yml @@ -1,5 +1,5 @@ --- -# SPDX-License-Identifier: MIT-0 +# SPDX-License-Identifier: Apache-2.0 # purpose: Smoke-test connectivity_test role against cicd_test inventory # adr: ADR-0600-environment-guard-framework # maintainer: HybridOps.Tech diff --git a/roles/connectivity_test/tests/validate_artifacts.yml b/roles/connectivity_test/tests/validate_artifacts.yml index 1a1c5ea..cf7c510 100644 --- a/roles/connectivity_test/tests/validate_artifacts.yml +++ b/roles/connectivity_test/tests/validate_artifacts.yml @@ -1,5 +1,5 @@ --- -# SPDX-License-Identifier: MIT-0 +# SPDX-License-Identifier: Apache-2.0 # purpose: Validate connectivity_test artifacts and copy into tests/output for evidence # adr: ADR-0600-environment-guard-framework # maintainer: HybridOps.Tech diff --git a/roles/docker_engine/README.md b/roles/docker_engine/README.md index cfdd409..f16327a 100644 --- a/roles/docker_engine/README.md +++ b/roles/docker_engine/README.md @@ -68,7 +68,7 @@ A lightweight verification step runs `docker version` for diagnostics. ## License -- Code: [MIT-0](https://spdx.org/licenses/MIT-0.html) +- Code: [Apache-2.0](https://spdx.org/licenses/Apache-2.0.html) - Documentation & diagrams: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) See the [HybridOps licensing overview](https://docs.hybridops.tech/briefings/legal/licensing/) for project-wide licence details, including branding and trademark notes. diff --git a/roles/edge_observability/README.md b/roles/edge_observability/README.md index 3babd5c..6feb198 100644 --- a/roles/edge_observability/README.md +++ b/roles/edge_observability/README.md @@ -76,5 +76,5 @@ Key inputs: ## License -- Code: [MIT-0](https://spdx.org/licenses/MIT-0.html) +- Code: [Apache-2.0](https://spdx.org/licenses/Apache-2.0.html) - Documentation & diagrams: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) diff --git a/roles/env_guard/README.md b/roles/env_guard/README.md index b59fd15..4d07ddb 100644 --- a/roles/env_guard/README.md +++ b/roles/env_guard/README.md @@ -2,7 +2,7 @@ **Deployment governance for Ansible infrastructure** -[![License: MIT-0](https://img.shields.io/badge/License-MIT--0-blue.svg)](https://opensource.org/licenses/MIT-0) +[![License: Apache-2.0](https://img.shields.io/badge/License-Apache--2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![Ansible](https://img.shields.io/badge/ansible-2.13%2B-red.svg)](https://ansible.com) **ADR:** [ADR-0600 – Environment Guard Framework](https://docs.hybridops.tech/adr/ADR-0600-environment-guard-framework/) @@ -249,7 +249,7 @@ env_guard ## License -- Code: [MIT-0](https://spdx.org/licenses/MIT-0.html) +- Code: [Apache-2.0](https://spdx.org/licenses/Apache-2.0.html) - Documentation & diagrams: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) See the [HybridOps licensing overview](https://docs.hybridops.tech/briefings/legal/licensing/) diff --git a/roles/env_guard/meta/main.yml b/roles/env_guard/meta/main.yml index 30cc662..442eca9 100644 --- a/roles/env_guard/meta/main.yml +++ b/roles/env_guard/meta/main.yml @@ -1,5 +1,5 @@ --- -# SPDX-License-Identifier: MIT-0 +# SPDX-License-Identifier: Apache-2.0 # purpose: Ansible Galaxy metadata for the env_guard role # adr: ADR-0600-environment-guard-framework # maintainer: HybridOps.Tech diff --git a/roles/env_guard/tasks/audit_logging.yml b/roles/env_guard/tasks/audit_logging.yml index c20e7cd..4ab0ccf 100644 --- a/roles/env_guard/tasks/audit_logging.yml +++ b/roles/env_guard/tasks/audit_logging.yml @@ -1,5 +1,5 @@ --- -# SPDX-License-Identifier: MIT-0 +# SPDX-License-Identifier: Apache-2.0 # purpose: Environment guard audit trail and report generation # adr: ADR-0600-environment-guard-framework # maintainer: HybridOps.Tech diff --git a/roles/env_guard/tasks/main.yml b/roles/env_guard/tasks/main.yml index e920e18..04e2e01 100644 --- a/roles/env_guard/tasks/main.yml +++ b/roles/env_guard/tasks/main.yml @@ -1,5 +1,5 @@ --- -# SPDX-License-Identifier: MIT-0 +# SPDX-License-Identifier: Apache-2.0 # purpose: Environment guard framework (selection, risk checks, approvals, audit) # adr: ADR-0600-environment-guard-framework # maintainer: HybridOps.Tech diff --git a/roles/env_guard/tests/test_env_validation.yml b/roles/env_guard/tests/test_env_validation.yml index 7594ce6..d47e263 100644 --- a/roles/env_guard/tests/test_env_validation.yml +++ b/roles/env_guard/tests/test_env_validation.yml @@ -1,5 +1,5 @@ --- -# SPDX-License-Identifier: MIT-0 +# SPDX-License-Identifier: Apache-2.0 # purpose: Smoke-test env_guard (selection, correlation ID, audit artifacts) # adr: ADR-0600-environment-guard-framework # maintainer: HybridOps.Tech diff --git a/roles/env_guard/tests/test_env_validation_ci.yml b/roles/env_guard/tests/test_env_validation_ci.yml index c461888..76401a2 100644 --- a/roles/env_guard/tests/test_env_validation_ci.yml +++ b/roles/env_guard/tests/test_env_validation_ci.yml @@ -1,5 +1,5 @@ --- -# SPDX-License-Identifier: MIT-0 +# SPDX-License-Identifier: Apache-2.0 # purpose: CI smoke test for env_guard (non-interactive, CI_ENV-driven) # adr: ADR-0600-environment-guard-framework # maintainer: HybridOps.Tech diff --git a/roles/gen_inventory/.showcase/gen_inventory_showcase.txt b/roles/gen_inventory/.showcase/gen_inventory_showcase.txt index ed10701..6fb20eb 100644 --- a/roles/gen_inventory/.showcase/gen_inventory_showcase.txt +++ b/roles/gen_inventory/.showcase/gen_inventory_showcase.txt @@ -59,7 +59,7 @@ Ansible automation, dynamic inventory, hybrid cloud, governance, security, compl 🔗 Role: https://github.com/hybridops/gen_inventory 🌐 Website: https://hybridops.tech -📦 License: MIT-0 +📦 License: Apache-2.0 #Ansible #DevSecOps #HybridCloud #Automation #HybridOpsTech diff --git a/roles/gen_inventory/README.md b/roles/gen_inventory/README.md index 9f9c9f3..94f0f80 100644 --- a/roles/gen_inventory/README.md +++ b/roles/gen_inventory/README.md @@ -2,7 +2,7 @@ Generate placeholder Ansible inventories for the Environment Guard Framework (EGF). -[![License: MIT-0](https://img.shields.io/badge/License-MIT--0-blue.svg)](https://opensource.org/licenses/MIT-0) +[![License: Apache-2.0](https://img.shields.io/badge/License-Apache--2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![Ansible](https://img.shields.io/badge/ansible-2.13%2B-red.svg)](https://ansible.com) **Status:** Optional / legacy-friendly @@ -119,7 +119,7 @@ In NetBox-based environments, prefer: ## License -- Code: [MIT-0](https://spdx.org/licenses/MIT-0.html) +- Code: [Apache-2.0](https://spdx.org/licenses/Apache-2.0.html) - Documentation & diagrams: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) See the [HybridOps licensing overview](https://docs.hybridops.tech/briefings/legal/licensing/) diff --git a/roles/gen_inventory/defaults/main.yml b/roles/gen_inventory/defaults/main.yml index 2034ba6..b31cb90 100644 --- a/roles/gen_inventory/defaults/main.yml +++ b/roles/gen_inventory/defaults/main.yml @@ -1,5 +1,5 @@ --- -# SPDX-License-Identifier: MIT-0 +# SPDX-License-Identifier: Apache-2.0 # purpose: Core variables for inventory resolution and runtime configuration # maintainer: HybridOps.Tech diff --git a/roles/gen_inventory/meta/argument_specs.yml b/roles/gen_inventory/meta/argument_specs.yml index 6591463..0488ea6 100644 --- a/roles/gen_inventory/meta/argument_specs.yml +++ b/roles/gen_inventory/meta/argument_specs.yml @@ -1,5 +1,5 @@ --- -# SPDX-License-Identifier: MIT-0 +# SPDX-License-Identifier: Apache-2.0 # purpose: Argument specification for dynamic inventory generation role # maintainer: HybridOps.Tech diff --git a/roles/gen_inventory/tasks/_validate.yml b/roles/gen_inventory/tasks/_validate.yml index 4872c2d..fc18ecf 100644 --- a/roles/gen_inventory/tasks/_validate.yml +++ b/roles/gen_inventory/tasks/_validate.yml @@ -1,5 +1,5 @@ --- -# SPDX-License-Identifier: MIT-0 +# SPDX-License-Identifier: Apache-2.0 # purpose: Argument validation for dynamic inventory generation role # maintainer: HybridOps.Tech diff --git a/roles/gen_inventory/tasks/gen_inventories.yml b/roles/gen_inventory/tasks/gen_inventories.yml index 93b5346..0431f12 100644 --- a/roles/gen_inventory/tasks/gen_inventories.yml +++ b/roles/gen_inventory/tasks/gen_inventories.yml @@ -1,5 +1,5 @@ --- -# SPDX-License-Identifier: MIT-0 +# SPDX-License-Identifier: Apache-2.0 # purpose: Render environment-specific inventory and optional test copy # maintainer: HybridOps.Tech diff --git a/roles/gen_inventory/tasks/main.yml b/roles/gen_inventory/tasks/main.yml index 4a8ca3b..66533ec 100644 --- a/roles/gen_inventory/tasks/main.yml +++ b/roles/gen_inventory/tasks/main.yml @@ -1,5 +1,5 @@ --- -# SPDX-License-Identifier: MIT-0 +# SPDX-License-Identifier: Apache-2.0 # purpose: Resolve project root, validate inputs, and load environment data for dynamic inventory # maintainer: HybridOps.Tech diff --git a/roles/gen_inventory/tests/ci_smoke.yml b/roles/gen_inventory/tests/ci_smoke.yml index 1a97175..430bcde 100644 --- a/roles/gen_inventory/tests/ci_smoke.yml +++ b/roles/gen_inventory/tests/ci_smoke.yml @@ -1,5 +1,5 @@ --- -# SPDX-License-Identifier: MIT-0 +# SPDX-License-Identifier: Apache-2.0 # purpose: Smoke test for gen_inventory role (CI-safe, non-interactive) # adr: ADR-0600-environment-guard-framework # maintainer: HybridOps.Tech diff --git a/roles/gen_inventory/tests/smoke.yml b/roles/gen_inventory/tests/smoke.yml index b045662..323f9af 100644 --- a/roles/gen_inventory/tests/smoke.yml +++ b/roles/gen_inventory/tests/smoke.yml @@ -1,5 +1,5 @@ --- -# SPDX-License-Identifier: MIT-0 +# SPDX-License-Identifier: Apache-2.0 # purpose: Test the gen_inventory role with an optional interactive env prompt. # purpose: Copy generated hosts.ini into a local output folder. # adr: ADR-0600-environment-guard-framework diff --git a/roles/host_selector/.showcase/Host-Selector_Showcase.txt b/roles/host_selector/.showcase/Host-Selector_Showcase.txt index 953c3e5..9327241 100644 --- a/roles/host_selector/.showcase/Host-Selector_Showcase.txt +++ b/roles/host_selector/.showcase/Host-Selector_Showcase.txt @@ -130,4 +130,4 @@ HASHTAGS • Governance inputs: validated_env, correlation_id • Test playbook: tests/test_role.yml -License: MIT-0 — hybridops.tech +License: Apache-2.0 — hybridops.tech diff --git a/roles/host_selector/README.md b/roles/host_selector/README.md index d41ea24..983f6b2 100644 --- a/roles/host_selector/README.md +++ b/roles/host_selector/README.md @@ -2,7 +2,7 @@ **Host targeting with governance integration** -[![License: MIT-0](https://img.shields.io/badge/License-MIT--0-blue.svg)](https://opensource.org/licenses/MIT-0) +[![License: Apache-2.0](https://img.shields.io/badge/License-Apache--2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![Ansible](https://img.shields.io/badge/ansible-2.13%2B-red.svg)](https://ansible.com) --- @@ -152,7 +152,7 @@ Typical upstream and downstream roles: ## License -- Code: [MIT-0](https://spdx.org/licenses/MIT-0.html) +- Code: [Apache-2.0](https://spdx.org/licenses/Apache-2.0.html) - Documentation & diagrams: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) See the [HybridOps licensing overview](https://docs.hybridops.tech/briefings/legal/licensing/) diff --git a/roles/host_selector/defaults/main.yml b/roles/host_selector/defaults/main.yml index 8ec3001..da4c33e 100644 --- a/roles/host_selector/defaults/main.yml +++ b/roles/host_selector/defaults/main.yml @@ -1,5 +1,5 @@ --- -# SPDX-License-Identifier: MIT-0 +# SPDX-License-Identifier: Apache-2.0 # purpose: Canonical category mappings and CID defaults for host selection. # adr: ADR-0600-environment-guard-framework # maintainer: HybridOps.Tech diff --git a/roles/host_selector/tasks/dynamic_group_creation.yml b/roles/host_selector/tasks/dynamic_group_creation.yml index 7f2bd96..4001f61 100644 --- a/roles/host_selector/tasks/dynamic_group_creation.yml +++ b/roles/host_selector/tasks/dynamic_group_creation.yml @@ -1,5 +1,5 @@ --- -# SPDX-License-Identifier: MIT-0 +# SPDX-License-Identifier: Apache-2.0 # purpose: Create dynamic inventory groups for selected hosts. # adr: ADR-0600-environment-guard-framework # maintainer: HybridOps.Tech diff --git a/roles/host_selector/tasks/input_handling.yml b/roles/host_selector/tasks/input_handling.yml index e5e4119..63757ad 100644 --- a/roles/host_selector/tasks/input_handling.yml +++ b/roles/host_selector/tasks/input_handling.yml @@ -1,5 +1,5 @@ --- -# SPDX-License-Identifier: MIT-0 +# SPDX-License-Identifier: Apache-2.0 # purpose: Capture host selection method and validate input. # adr: ADR-0600-environment-guard-framework # maintainer: HybridOps.Tech diff --git a/roles/host_selector/tasks/main.yml b/roles/host_selector/tasks/main.yml index 78e7768..d5e35c0 100644 --- a/roles/host_selector/tasks/main.yml +++ b/roles/host_selector/tasks/main.yml @@ -1,5 +1,5 @@ --- -# SPDX-License-Identifier: MIT-0 +# SPDX-License-Identifier: Apache-2.0 # purpose: Orchestrate host selection; assumes env_guard has validated the environment. # adr: ADR-0600-environment-guard-framework # maintainer: HybridOps.Tech diff --git a/roles/host_selector/tasks/method_a_manual.yml b/roles/host_selector/tasks/method_a_manual.yml index 74932b0..1c44232 100644 --- a/roles/host_selector/tasks/method_a_manual.yml +++ b/roles/host_selector/tasks/method_a_manual.yml @@ -1,5 +1,5 @@ --- -# SPDX-License-Identifier: MIT-0 +# SPDX-License-Identifier: Apache-2.0 # purpose: Accept manual targets, validate format, and set target_hosts. # adr: ADR-0600-environment-guard-framework # maintainer: HybridOps.Tech diff --git a/roles/host_selector/tasks/method_b_groups.yml b/roles/host_selector/tasks/method_b_groups.yml index 47e0c00..d937727 100644 --- a/roles/host_selector/tasks/method_b_groups.yml +++ b/roles/host_selector/tasks/method_b_groups.yml @@ -1,5 +1,5 @@ --- -# SPDX-License-Identifier: MIT-0 +# SPDX-License-Identifier: Apache-2.0 # purpose: Accept group names, validate existence, and expand to target_hosts. # adr: ADR-0600-environment-guard-framework # maintainer: HybridOps.Tech diff --git a/roles/host_selector/tasks/method_c_hierarchical.yml b/roles/host_selector/tasks/method_c_hierarchical.yml index af8e6f1..1b3eb29 100644 --- a/roles/host_selector/tasks/method_c_hierarchical.yml +++ b/roles/host_selector/tasks/method_c_hierarchical.yml @@ -1,5 +1,5 @@ --- -# SPDX-License-Identifier: MIT-0 +# SPDX-License-Identifier: Apache-2.0 # purpose: Navigate categories and groups, then set target_hosts. # adr: ADR-0600-environment-guard-framework # maintainer: HybridOps.Tech diff --git a/roles/host_selector/tasks/method_d_all_hosts.yml b/roles/host_selector/tasks/method_d_all_hosts.yml index 1e383e1..4fe283d 100644 --- a/roles/host_selector/tasks/method_d_all_hosts.yml +++ b/roles/host_selector/tasks/method_d_all_hosts.yml @@ -1,5 +1,5 @@ --- -# SPDX-License-Identifier: MIT-0 +# SPDX-License-Identifier: Apache-2.0 # purpose: Select all hosts by flattening category groups into target_hosts. # adr: ADR-0600-environment-guard-framework # maintainer: HybridOps.Tech diff --git a/roles/host_selector/tests/inventory/test_inventory.ini b/roles/host_selector/tests/inventory/test_inventory.ini index 6071c55..a1be1cf 100644 --- a/roles/host_selector/tests/inventory/test_inventory.ini +++ b/roles/host_selector/tests/inventory/test_inventory.ini @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT-0 +# SPDX-License-Identifier: Apache-2.0 # purpose: Isolated inventory for host_selector role # adr: ADR-0600-environment-guard-framework # maintainer: HybridOps.Tech diff --git a/roles/host_selector/tests/smoke.yml b/roles/host_selector/tests/smoke.yml index 5a01954..012cddf 100644 --- a/roles/host_selector/tests/smoke.yml +++ b/roles/host_selector/tests/smoke.yml @@ -1,5 +1,5 @@ --- -# SPDX-License-Identifier: MIT-0 +# SPDX-License-Identifier: Apache-2.0 # purpose: Smoke-test host_selector role with interactive or automated environment input # adr: ADR-0600-environment-guard-framework # maintainer: HybridOps.Tech diff --git a/roles/host_selector/vars/main.yml b/roles/host_selector/vars/main.yml index b2732bd..ca5036e 100644 --- a/roles/host_selector/vars/main.yml +++ b/roles/host_selector/vars/main.yml @@ -1,5 +1,5 @@ --- -# SPDX-License-Identifier: MIT-0 +# SPDX-License-Identifier: Apache-2.0 # purpose: Defines menu text, category mappings, and validation messages for host_selector. # maintainer: HybridOps.Tech diff --git a/roles/ip_mapper/README.md b/roles/ip_mapper/README.md index 2cc12f2..5ec51b7 100644 --- a/roles/ip_mapper/README.md +++ b/roles/ip_mapper/README.md @@ -2,7 +2,7 @@ **Environment-aware IP mapping with governance integration** -[![License: MIT-0](https://img.shields.io/badge/License-MIT--0-blue.svg)](https://opensource.org/licenses/MIT-0) +[![License: Apache-2.0](https://img.shields.io/badge/License-Apache--2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![Ansible](https://img.shields.io/badge/ansible-2.13%2B-red.svg)](https://ansible.com) > **Status:** Bridge role. In NetBox‑first deployments, this role becomes **optional** or a **fallback**. @@ -157,7 +157,7 @@ Common test assertions: ## License -- Code: [MIT-0](https://spdx.org/licenses/MIT-0.html) +- Code: [Apache-2.0](https://spdx.org/licenses/Apache-2.0.html) - Documentation & diagrams: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) See the [HybridOps licensing overview](https://docs.hybridops.tech/briefings/legal/licensing/) diff --git a/roles/ip_mapper/defaults/main.yml b/roles/ip_mapper/defaults/main.yml index 6b4907e..22bc9aa 100644 --- a/roles/ip_mapper/defaults/main.yml +++ b/roles/ip_mapper/defaults/main.yml @@ -1,5 +1,5 @@ --- -# SPDX-License-Identifier: MIT-0 +# SPDX-License-Identifier: Apache-2.0 # purpose: Correlation ID defaults for ip_mapper (logging-only). # adr: ADR-0600-environment-guard-framework # maintainer: HybridOps.Tech diff --git a/roles/ip_mapper/tasks/main.yml b/roles/ip_mapper/tasks/main.yml index 35b5270..7dfea5f 100644 --- a/roles/ip_mapper/tasks/main.yml +++ b/roles/ip_mapper/tasks/main.yml @@ -1,5 +1,5 @@ --- -# SPDX-License-Identifier: MIT-0 +# SPDX-License-Identifier: Apache-2.0 # purpose: Orchestrate IP mapping flow: validate, resolve ansible_host, and verify results. # adr: ADR-0600-environment-guard-framework # maintainer: HybridOps.Tech diff --git a/roles/ip_mapper/tasks/set_ansible_host.yml b/roles/ip_mapper/tasks/set_ansible_host.yml index 08c86d9..b015434 100644 --- a/roles/ip_mapper/tasks/set_ansible_host.yml +++ b/roles/ip_mapper/tasks/set_ansible_host.yml @@ -1,5 +1,5 @@ --- -# SPDX-License-Identifier: MIT-0 +# SPDX-License-Identifier: Apache-2.0 # purpose: Resolve ansible_host dynamically from environment mappings and track successful mappings. # adr: ADR-0600-environment-guard-framework # maintainer: HybridOps.Tech diff --git a/roles/ip_mapper/tasks/validate_mapping.yml b/roles/ip_mapper/tasks/validate_mapping.yml index b7c9048..878615b 100644 --- a/roles/ip_mapper/tasks/validate_mapping.yml +++ b/roles/ip_mapper/tasks/validate_mapping.yml @@ -1,5 +1,5 @@ --- -# SPDX-License-Identifier: MIT-0 +# SPDX-License-Identifier: Apache-2.0 # purpose: Validate IP mapping results and enforce audit traceability using correlation ID (CID). # adr: ADR-0600-environment-guard-framework # maintainer: HybridOps.Tech diff --git a/roles/ip_mapper/tasks/validate_prerequisites.yml b/roles/ip_mapper/tasks/validate_prerequisites.yml index 6ef300b..791378e 100644 --- a/roles/ip_mapper/tasks/validate_prerequisites.yml +++ b/roles/ip_mapper/tasks/validate_prerequisites.yml @@ -1,5 +1,5 @@ --- -# SPDX-License-Identifier: MIT-0 +# SPDX-License-Identifier: Apache-2.0 # purpose: Validate prerequisites for IP mapping and seed correlation ID (CID) for traceable logging. # adr: ADR-0600-environment-guard-framework # maintainer: HybridOps.Tech diff --git a/roles/ip_mapper/tests/group_vars/all.yml b/roles/ip_mapper/tests/group_vars/all.yml index dd487c1..ccc14a1 100644 --- a/roles/ip_mapper/tests/group_vars/all.yml +++ b/roles/ip_mapper/tests/group_vars/all.yml @@ -1,5 +1,5 @@ --- -# SPDX-License-Identifier: MIT-0 +# SPDX-License-Identifier: Apache-2.0 # purpose: Test inventory mappings for ip_mapper smoke tests # maintainer: HybridOps.Tech diff --git a/roles/ip_mapper/tests/inventory/test_inventory.ini b/roles/ip_mapper/tests/inventory/test_inventory.ini index 270eb24..785a61f 100644 --- a/roles/ip_mapper/tests/inventory/test_inventory.ini +++ b/roles/ip_mapper/tests/inventory/test_inventory.ini @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: MIT-0 +# SPDX-License-Identifier: Apache-2.0 # purpose: Isolated test inventory for ip_mapper role demonstration # adr: ADR-0600-environment-guard-framework # maintainer: HybridOps.Tech diff --git a/roles/ip_mapper/tests/smoke.yml b/roles/ip_mapper/tests/smoke.yml index be5127c..4f801c1 100644 --- a/roles/ip_mapper/tests/smoke.yml +++ b/roles/ip_mapper/tests/smoke.yml @@ -1,5 +1,5 @@ --- -# SPDX-License-Identifier: MIT-0 +# SPDX-License-Identifier: Apache-2.0 # purpose: Smoke-test ip_mapper role; validate mapping and CID logging for a selected environment. # adr: ADR-0600-environment-guard-framework # maintainer: HybridOps.Tech diff --git a/roles/postgresql_service/README.md b/roles/postgresql_service/README.md index abd4490..61402e8 100644 --- a/roles/postgresql_service/README.md +++ b/roles/postgresql_service/README.md @@ -207,7 +207,7 @@ postgresql_service_allowed_clients: ## License -- Code: [MIT-0](https://spdx.org/licenses/MIT-0.html) +- Code: [Apache-2.0](https://spdx.org/licenses/Apache-2.0.html) - Documentation & diagrams: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) See the [HybridOps licensing overview](https://docs.hybridops.tech/briefings/legal/licensing/) diff --git a/roles/postgresql_service/meta/main.yml b/roles/postgresql_service/meta/main.yml index 8840e86..c732d7a 100644 --- a/roles/postgresql_service/meta/main.yml +++ b/roles/postgresql_service/meta/main.yml @@ -8,7 +8,7 @@ galaxy_info: author: HybridOps.Tech description: >- Wrapper for geerlingguy.postgresql with HybridOps defaults and evidence hooks - license: MIT-0 + license: Apache-2.0 min_ansible_version: "2.14" platforms: