diff --git a/.gitattributes b/.gitattributes index c307bb0..096fbde 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,2 @@ *.yml linguist-detectable -*.yaml linguist-detectable \ No newline at end of file +*.yaml linguist-detectable diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..0cd7a6f --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,19 @@ +# Description + +## Type of Change + +- [ ] feat: A new feature +- [ ] fix: A bug fix +- [ ] docs: Documentation changes +- [ ] style: Formatting, missing semi colons, etc; no code change +- [ ] refactor: Refactoring production code +- [ ] test: Adding missing tests, refactoring tests; no production code change +- [ ] chore: Updating configs, etc; no production code change + +## Pull Request Title + +> **Note:** Please ensure your PR title follows [Conventional Commits](https://www.conventionalcommits.org/en/v2.0.0/). +> Example: `feat: add role` + +- [ ] I have formatted my PR title correctly. +- [ ] I have added `[skip ci]` to the title (Maintainers only, if no release is needed). \ No newline at end of file diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 28a4751..b6f68ad 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,12 +5,12 @@ default_install_hook_types: repos: - - repo: https://github.com/compilerla/conventional-pre-commit - rev: v4.3.0 - hooks: - - id: conventional-pre-commit - stages: [commit-msg] - args: [--verbose] + # - repo: https://github.com/compilerla/conventional-pre-commit + # rev: v4.3.0 + # hooks: + # - id: conventional-pre-commit + # stages: [commit-msg] + # args: [--verbose] - repo: https://github.com/pre-commit/pre-commit-hooks rev: v6.0.0 @@ -18,7 +18,7 @@ repos: - id: check-merge-conflict - id: check-symlinks - id: debug-statements - # - id: end-of-file-fixer + - id: end-of-file-fixer - id: no-commit-to-branch args: [--branch, main] - id: trailing-whitespace diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 0164155..bf829d8 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -1,3 +1,4 @@ # Community Code of Conduct -Please see the official [Ansible Community Code of Conduct](https://docs.ansible.com/ansible/latest/community/code_of_conduct.html). +Please see the official +[Ansible Community Code of Conduct](https://docs.ansible.com/ansible/latest/community/code_of_conduct.html). diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ddfc843..1f479c5 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,12 +1,12 @@ # Welcome to the Ansible for OpenShift Virtualization Migration collection! -Please check our [Contributor's Guide](https://github.com/redhat-cop/openshift-virtualization-migration-documentation/-/blob/main/CONTRIBUTING.md). +Please check our [Contributor's Guide](https://github.com/redhat-cop/openshift-virtualization-migration-documentation/blob/main/CONTRIBUTING.md). The [documentation repository](https://github.com/redhat-cop/openshift-virtualization-migration-documentation) contains information on how to get started, links to other resources, deployment guides and more. ## Using Red Hat Developer Sandbox -NOTE: As this repository is currently not public you will need to create a personal access token and add that to your Developer Sandbox profile. Please perform the steps in the contribution guide [Using Red Hat Developer Sandbox](https://github.com/redhat-cop/openshift-virtualization-migration-documentation/-/blob/main/CONTRIBUTING.md#contribute-using-red-hat-developer-sandbox) section. +NOTE: As this repository is currently not public you will need to create a personal access token and add that to your Developer Sandbox profile. Please perform the steps in the contribution guide [Using Red Hat Developer Sandbox](https://github.com/redhat-cop/openshift-virtualization-migration-documentation/blob/main/CONTRIBUTING.md#contribute-using-red-hat-developer-sandbox) section. Click the link below to launch your IDE hosted in the Developer Sandbox: diff --git a/LICENSE b/LICENSE index df32efd..f288702 100644 --- a/LICENSE +++ b/LICENSE @@ -645,7 +645,7 @@ the "copyright" line and a pointer to where the full notice is found. GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program. If not, see . + along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. @@ -664,11 +664,11 @@ might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see -. +. The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read -. \ No newline at end of file +. diff --git a/galaxy.yml b/galaxy.yml index 13db257..28434c1 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -42,19 +42,26 @@ dependencies: repository: >- https://github.com/redhat-cop/openshift_virtualization_migration -manifest: - directives: - - include meta/*.yml README.md inventory.yml CHANGELOG.md CODEOWNERS LICENSE MANIFEST.json FILES.json - - include requirements-dev.yml - - recursive-include docs **.rst **.yml **.yaml **.json **.j2 **.txt - - recursive-include roles **.yml **.yaml **.json **.j2 **.md - - recursive-include playbooks **.yml **.yaml **.json - - recursive-include changelogs **.yml **.yaml - - recursive-include plugins * - - recursive-include tests **.yml **.yaml **.py - - exclude infra-openshift_virtualization_migration-*.tar.gz - - recursive-exclude tests/output ** - - global-exclude /.* /__pycache__ - - include .ansible-lint .yamllint tox* pyproject.toml config.yml - omit_default_directives: true +build_ignore: + - .ansible + - .ansible-lint + - .git + - .gitattributes + - .github + - .gitignore + - .isort.cfg + - .markdownlint-cli2.yaml + - .pre-commit-config.yaml + - .prettierignore + - .tox + - .yamllint + - collection-build.log + - pyproject.toml + - requirements-dev.txt + - requirements-ci.txt + - scripts + - test-requirements.txt + - tox-ansible.ini + - tox.ini + - "*.sarif" ... diff --git a/roles/aap_deploy/README.md b/roles/aap_deploy/README.md index 2ebc6eb..deb175d 100644 --- a/roles/aap_deploy/README.md +++ b/roles/aap_deploy/README.md @@ -214,4 +214,4 @@ GPL-3.0-only No platforms specified. - \ No newline at end of file + diff --git a/roles/aap_deploy/tests/inventory b/roles/aap_deploy/tests/inventory index 878877b..2fbb50c 100644 --- a/roles/aap_deploy/tests/inventory +++ b/roles/aap_deploy/tests/inventory @@ -1,2 +1 @@ localhost - diff --git a/roles/aap_machine_credentials/README.md b/roles/aap_machine_credentials/README.md index a08ace0..f1653b5 100644 --- a/roles/aap_machine_credentials/README.md +++ b/roles/aap_machine_credentials/README.md @@ -213,4 +213,4 @@ GPL-3.0-only No platforms specified. - \ No newline at end of file + diff --git a/roles/aap_machine_credentials/tests/inventory b/roles/aap_machine_credentials/tests/inventory index 878877b..2fbb50c 100644 --- a/roles/aap_machine_credentials/tests/inventory +++ b/roles/aap_machine_credentials/tests/inventory @@ -1,2 +1 @@ localhost - diff --git a/roles/aap_seed/README.md b/roles/aap_seed/README.md index 68f703f..e0aabed 100644 --- a/roles/aap_seed/README.md +++ b/roles/aap_seed/README.md @@ -1358,4 +1358,4 @@ GPL-3.0-only No platforms specified. - \ No newline at end of file + diff --git a/roles/aap_seed/templates/git_credential.yml.j2 b/roles/aap_seed/templates/git_credential.yml.j2 index 1873b7e..3f84f6e 100644 --- a/roles/aap_seed/templates/git_credential.yml.j2 +++ b/roles/aap_seed/templates/git_credential.yml.j2 @@ -13,4 +13,4 @@ inputs: {% endif %} {% if aap_seed_git_ssh_key_passphrase %} ssh_key_unlock: "{{ aap_seed_git_ssh_key_passphrase }}" -{% endif %} \ No newline at end of file +{% endif %} diff --git a/roles/aap_seed/templates/migration_factory_configuration_workflow.yml.j2 b/roles/aap_seed/templates/migration_factory_configuration_workflow.yml.j2 index c88e43a..32d747d 100644 --- a/roles/aap_seed/templates/migration_factory_configuration_workflow.yml.j2 +++ b/roles/aap_seed/templates/migration_factory_configuration_workflow.yml.j2 @@ -14,4 +14,4 @@ simplified_workflow_nodes: - Target Configuration - all_parents_must_converge: false identifier: Target Configuration - unified_job_template: Configure OpenShift Virtualization Migration - Configure Migration Targets \ No newline at end of file + unified_job_template: Configure OpenShift Virtualization Migration - Configure Migration Targets diff --git a/roles/aap_seed/templates/mtv_all_targets_workflow.yml.j2 b/roles/aap_seed/templates/mtv_all_targets_workflow.yml.j2 index 84bafaa..289e1a4 100644 --- a/roles/aap_seed/templates/mtv_all_targets_workflow.yml.j2 +++ b/roles/aap_seed/templates/mtv_all_targets_workflow.yml.j2 @@ -11,4 +11,4 @@ simplified_workflow_nodes: - all_parents_must_converge: false identifier: {{ workflow }} unified_job_template: {{ workflow }} -{% endfor %} \ No newline at end of file +{% endfor %} diff --git a/roles/aap_seed/templates/mtv_workflow.yml.j2 b/roles/aap_seed/templates/mtv_workflow.yml.j2 index 68700e9..19fce1f 100644 --- a/roles/aap_seed/templates/mtv_workflow.yml.j2 +++ b/roles/aap_seed/templates/mtv_workflow.yml.j2 @@ -11,4 +11,4 @@ simplified_workflow_nodes: - all_parents_must_converge: false identifier: {{ workflow }} unified_job_template: {{ workflow }} -{% endfor %} \ No newline at end of file +{% endfor %} diff --git a/roles/aap_seed/templates/openshift_virtualization_migration_cac.yml.j2 b/roles/aap_seed/templates/openshift_virtualization_migration_cac.yml.j2 index e42af8d..985dea3 100644 --- a/roles/aap_seed/templates/openshift_virtualization_migration_cac.yml.j2 +++ b/roles/aap_seed/templates/openshift_virtualization_migration_cac.yml.j2 @@ -11,4 +11,4 @@ aap_inventory: "{{ aap_seed_aap_inventory }}" aap_job_template_extra_vars: "{{ aap_seed_aap_job_template_extra_vars | to_yaml }}" aap_version: "{{ aap_seed_aap_version }}" - migration_targets: '{{ _aap_seed_cluster_migration_targets | to_json }}' \ No newline at end of file + migration_targets: '{{ _aap_seed_cluster_migration_targets | to_json }}' diff --git a/roles/aap_seed/templates/operator_job_template.yml.j2 b/roles/aap_seed/templates/operator_job_template.yml.j2 index 5f474ea..a4940a3 100644 --- a/roles/aap_seed/templates/operator_job_template.yml.j2 +++ b/roles/aap_seed/templates/operator_job_template.yml.j2 @@ -8,4 +8,4 @@ playbook: playbooks/operator_management.yml inventory: "{{ aap_seed_aap_inventory }}" execution_environment: "{{ aap_seed_aap_execution_environment }}" credentials: - - Kubeconfig - {{ _mf_host }} \ No newline at end of file + - Kubeconfig - {{ _mf_host }} diff --git a/roles/aap_seed/templates/operator_workflow.yml.j2 b/roles/aap_seed/templates/operator_workflow.yml.j2 index 7826ac2..efd7fd4 100644 --- a/roles/aap_seed/templates/operator_workflow.yml.j2 +++ b/roles/aap_seed/templates/operator_workflow.yml.j2 @@ -11,4 +11,4 @@ simplified_workflow_nodes: - all_parents_must_converge: false identifier: Configure OpenShift Virtualization Migration Operators - {{ _mf_host }} unified_job_template: OpenShift Virtualization Migration - Configure Operators - {{ _mf_host }} -{% endfor %} \ No newline at end of file +{% endfor %} diff --git a/roles/aap_seed/templates/ovirt/migrate_job_template.j2 b/roles/aap_seed/templates/ovirt/migrate_job_template.j2 index ff41ff9..fc02539 100644 --- a/roles/aap_seed/templates/ovirt/migrate_job_template.j2 +++ b/roles/aap_seed/templates/ovirt/migrate_job_template.j2 @@ -9,4 +9,4 @@ playbook: playbooks/mtv_migrate.yml inventory: "{{ aap_seed_aap_inventory }}" execution_environment: "{{ aap_seed_aap_execution_environment }}" credentials: - - Kubeconfig - {{ _mf_host }} \ No newline at end of file + - Kubeconfig - {{ _mf_host }} diff --git a/roles/aap_seed/templates/ovirt/mtv_mapping_job_template.yaml.j2 b/roles/aap_seed/templates/ovirt/mtv_mapping_job_template.yaml.j2 index 73efd40..f8429cf 100644 --- a/roles/aap_seed/templates/ovirt/mtv_mapping_job_template.yaml.j2 +++ b/roles/aap_seed/templates/ovirt/mtv_mapping_job_template.yaml.j2 @@ -11,4 +11,4 @@ execution_environment: "{{ aap_seed_aap_execution_environment }}" credentials: - {{ _kubeconfig_credential }} - {{ _target_credential }} - - {{ _mf_cac_credential }} \ No newline at end of file + - {{ _mf_cac_credential }} diff --git a/roles/aap_seed/templates/vmware/migrate_job_template.j2 b/roles/aap_seed/templates/vmware/migrate_job_template.j2 index ff41ff9..fc02539 100644 --- a/roles/aap_seed/templates/vmware/migrate_job_template.j2 +++ b/roles/aap_seed/templates/vmware/migrate_job_template.j2 @@ -9,4 +9,4 @@ playbook: playbooks/mtv_migrate.yml inventory: "{{ aap_seed_aap_inventory }}" execution_environment: "{{ aap_seed_aap_execution_environment }}" credentials: - - Kubeconfig - {{ _mf_host }} \ No newline at end of file + - Kubeconfig - {{ _mf_host }} diff --git a/roles/aap_seed/templates/vmware/mtv_vddk_job_template.yaml.j2 b/roles/aap_seed/templates/vmware/mtv_vddk_job_template.yaml.j2 index 8a1b23e..eea1c37 100644 --- a/roles/aap_seed/templates/vmware/mtv_vddk_job_template.yaml.j2 +++ b/roles/aap_seed/templates/vmware/mtv_vddk_job_template.yaml.j2 @@ -12,4 +12,4 @@ credentials: - {{ _kubeconfig_credential }} - {{ _target_credential }} - {{ _mf_cac_credential }} -{% endif %} \ No newline at end of file +{% endif %} diff --git a/roles/bootstrap/README.md b/roles/bootstrap/README.md index a214713..4f7b07e 100644 --- a/roles/bootstrap/README.md +++ b/roles/bootstrap/README.md @@ -256,4 +256,4 @@ GPL-3.0-only No platforms specified. - \ No newline at end of file + diff --git a/roles/create_mf_aap_token/README.md b/roles/create_mf_aap_token/README.md index 291410f..92359dc 100644 --- a/roles/create_mf_aap_token/README.md +++ b/roles/create_mf_aap_token/README.md @@ -104,4 +104,4 @@ GPL-3.0-only No platforms specified. - \ No newline at end of file + diff --git a/roles/mtv_management/README.md b/roles/mtv_management/README.md index 025d505..01dcc29 100644 --- a/roles/mtv_management/README.md +++ b/roles/mtv_management/README.md @@ -589,4 +589,4 @@ GPL-3.0-only * **EL**: ['all'] - \ No newline at end of file + diff --git a/roles/mtv_management/templates/ovirt_provider_skeleton.yml.j2 b/roles/mtv_management/templates/ovirt_provider_skeleton.yml.j2 index 2e34b17..3bdeb3c 100644 --- a/roles/mtv_management/templates/ovirt_provider_skeleton.yml.j2 +++ b/roles/mtv_management/templates/ovirt_provider_skeleton.yml.j2 @@ -8,4 +8,4 @@ spec: name: "{{ mtv_management_ovirt_provider_secret_name }}" namespace: "{{ mtv_management_ovirt_provider_secret_namespace }}" type: ovirt - url: "{{ mtv_management_mtv_ovirt_url }}" \ No newline at end of file + url: "{{ mtv_management_mtv_ovirt_url }}" diff --git a/roles/mtv_management/tests/inventory b/roles/mtv_management/tests/inventory index 878877b..2fbb50c 100644 --- a/roles/mtv_management/tests/inventory +++ b/roles/mtv_management/tests/inventory @@ -1,2 +1 @@ localhost - diff --git a/roles/mtv_migrate/README.md b/roles/mtv_migrate/README.md index c7abcef..a6cb355 100644 --- a/roles/mtv_migrate/README.md +++ b/roles/mtv_migrate/README.md @@ -587,4 +587,4 @@ GPL-3.0-only * **EL**: ['all'] - \ No newline at end of file + diff --git a/roles/mtv_migrate/tests/inventory b/roles/mtv_migrate/tests/inventory index 878877b..2fbb50c 100644 --- a/roles/mtv_migrate/tests/inventory +++ b/roles/mtv_migrate/tests/inventory @@ -1,2 +1 @@ localhost - diff --git a/roles/network_mgmt/README.md b/roles/network_mgmt/README.md index 0c3db0c..aaee6e3 100644 --- a/roles/network_mgmt/README.md +++ b/roles/network_mgmt/README.md @@ -360,4 +360,4 @@ GPL-3.0-only No platforms specified. - \ No newline at end of file + diff --git a/roles/network_mgmt/templates/linux-bridge/nad.yaml.j2 b/roles/network_mgmt/templates/linux-bridge/nad.yaml.j2 index bca5322..01ebc4b 100644 --- a/roles/network_mgmt/templates/linux-bridge/nad.yaml.j2 +++ b/roles/network_mgmt/templates/linux-bridge/nad.yaml.j2 @@ -37,4 +37,3 @@ spec: "vlan": {{ portgroup.vlan.vlan_id | int }} {% endif %} } - diff --git a/roles/network_mgmt/templates/linux-bridge/nncp.yaml.j2 b/roles/network_mgmt/templates/linux-bridge/nncp.yaml.j2 index 66ed411..a5c5f2b 100644 --- a/roles/network_mgmt/templates/linux-bridge/nncp.yaml.j2 +++ b/roles/network_mgmt/templates/linux-bridge/nncp.yaml.j2 @@ -53,4 +53,3 @@ spec: maxUnavailable: {{ network_mgmt_nncp_max_unavailable }} nodeSelector: {{ network_mgmt_nncp_nodeselector }} - diff --git a/roles/network_mgmt/templates/manual-lb/nad.yaml.j2 b/roles/network_mgmt/templates/manual-lb/nad.yaml.j2 index b15278d..7550b97 100644 --- a/roles/network_mgmt/templates/manual-lb/nad.yaml.j2 +++ b/roles/network_mgmt/templates/manual-lb/nad.yaml.j2 @@ -47,4 +47,3 @@ spec: "netAttachDefName": "{{ nad.namespace | default(network_mgmt_nad_namespace) }}/{{ nad.name }}" } {% endif %} - diff --git a/roles/network_mgmt/templates/manual-lb/nncp.yaml.j2 b/roles/network_mgmt/templates/manual-lb/nncp.yaml.j2 index 0f7b03d..5a20c6e 100644 --- a/roles/network_mgmt/templates/manual-lb/nncp.yaml.j2 +++ b/roles/network_mgmt/templates/manual-lb/nncp.yaml.j2 @@ -46,4 +46,3 @@ spec: maxUnavailable: {{ network_mgmt_nncp_max_unavailable }} nodeSelector: {{ network_mgmt_nncp_nodeselector }} - diff --git a/roles/network_mgmt/templates/ovs-bridge/nad.yaml.j2 b/roles/network_mgmt/templates/ovs-bridge/nad.yaml.j2 index f780df5..ae7947d 100644 --- a/roles/network_mgmt/templates/ovs-bridge/nad.yaml.j2 +++ b/roles/network_mgmt/templates/ovs-bridge/nad.yaml.j2 @@ -17,4 +17,4 @@ spec: "netAttachDefName": "{{ network_mgmt_nad_namespace }}/{{ portgroup.name | infra.openshift_virtualization_migration.rfc1123(network_mgmt_nad_name_prefix, "^[\d]+") }}", "mtu": {{ (network_mgmt_switches_to_migrate | selectattr('name','equalto', portgroup.switch) | first).mtu }}, "vlanID": {{ portgroup.vlan.vlan_id | int }} - } \ No newline at end of file + } diff --git a/roles/network_mgmt/templates/ovs-bridge/nncp.yaml.j2 b/roles/network_mgmt/templates/ovs-bridge/nncp.yaml.j2 index 3d19199..924154b 100644 --- a/roles/network_mgmt/templates/ovs-bridge/nncp.yaml.j2 +++ b/roles/network_mgmt/templates/ovs-bridge/nncp.yaml.j2 @@ -65,4 +65,3 @@ spec: maxUnavailable: {{ network_mgmt_nncp_max_unavailable }} nodeSelector: {{ network_mgmt_nncp_nodeselector }} - diff --git a/roles/network_mgmt/tests/inventory b/roles/network_mgmt/tests/inventory index 878877b..2fbb50c 100644 --- a/roles/network_mgmt/tests/inventory +++ b/roles/network_mgmt/tests/inventory @@ -1,2 +1 @@ localhost - diff --git a/roles/operator_management/README.md b/roles/operator_management/README.md index db80a55..b4764d6 100644 --- a/roles/operator_management/README.md +++ b/roles/operator_management/README.md @@ -677,4 +677,4 @@ GPL-3.0-only No platforms specified. - \ No newline at end of file + diff --git a/roles/operator_management/tests/inventory b/roles/operator_management/tests/inventory index 878877b..2fbb50c 100644 --- a/roles/operator_management/tests/inventory +++ b/roles/operator_management/tests/inventory @@ -1,2 +1 @@ localhost - diff --git a/roles/validate_migration/README.md b/roles/validate_migration/README.md index 09b3974..221b5e7 100644 --- a/roles/validate_migration/README.md +++ b/roles/validate_migration/README.md @@ -284,4 +284,4 @@ GPL-3.0-only No platforms specified. - \ No newline at end of file + diff --git a/roles/validate_migration/tests/inventory b/roles/validate_migration/tests/inventory index 878877b..2fbb50c 100644 --- a/roles/validate_migration/tests/inventory +++ b/roles/validate_migration/tests/inventory @@ -1,2 +1 @@ localhost - diff --git a/roles/vm_backup_restore/README.md b/roles/vm_backup_restore/README.md index 838b2e7..b3d2df2 100644 --- a/roles/vm_backup_restore/README.md +++ b/roles/vm_backup_restore/README.md @@ -237,4 +237,4 @@ GPL-3.0-only No platforms specified. - \ No newline at end of file + diff --git a/roles/vm_backup_restore/tests/inventory b/roles/vm_backup_restore/tests/inventory index 878877b..2fbb50c 100644 --- a/roles/vm_backup_restore/tests/inventory +++ b/roles/vm_backup_restore/tests/inventory @@ -1,2 +1 @@ localhost - diff --git a/roles/vm_collect/README.md b/roles/vm_collect/README.md index d6bf167..719a053 100644 --- a/roles/vm_collect/README.md +++ b/roles/vm_collect/README.md @@ -121,4 +121,4 @@ GPL-3.0-only No platforms specified. - \ No newline at end of file + diff --git a/roles/vm_collect/tests/inventory b/roles/vm_collect/tests/inventory index 878877b..2fbb50c 100644 --- a/roles/vm_collect/tests/inventory +++ b/roles/vm_collect/tests/inventory @@ -1,2 +1 @@ localhost - diff --git a/roles/vm_hot_plug/README.md b/roles/vm_hot_plug/README.md index 31668da..84d48ba 100644 --- a/roles/vm_hot_plug/README.md +++ b/roles/vm_hot_plug/README.md @@ -208,4 +208,4 @@ GPL-3.0-only No platforms specified. - \ No newline at end of file + diff --git a/roles/vm_hot_plug/templates/compute_patch.yml.j2 b/roles/vm_hot_plug/templates/compute_patch.yml.j2 index a512af2..bcc24ec 100644 --- a/roles/vm_hot_plug/templates/compute_patch.yml.j2 +++ b/roles/vm_hot_plug/templates/compute_patch.yml.j2 @@ -16,4 +16,3 @@ value: {{ vm_hot_plug_compute['memory'] }} {% endif %} {% endif %} - diff --git a/roles/vm_hot_plug/templates/storage_datavolume_request.yml.j2 b/roles/vm_hot_plug/templates/storage_datavolume_request.yml.j2 index d739c20..ea48d78 100644 --- a/roles/vm_hot_plug/templates/storage_datavolume_request.yml.j2 +++ b/roles/vm_hot_plug/templates/storage_datavolume_request.yml.j2 @@ -9,4 +9,4 @@ volumeSource: name: {{ vm_hot_plug_storage_instance.name }} {% else %} name: {{ vm_hot_plug_storage_instance.name }} -{% endif %} \ No newline at end of file +{% endif %} diff --git a/roles/vm_hot_plug/tests/inventory b/roles/vm_hot_plug/tests/inventory index 878877b..2fbb50c 100644 --- a/roles/vm_hot_plug/tests/inventory +++ b/roles/vm_hot_plug/tests/inventory @@ -1,2 +1 @@ localhost - diff --git a/roles/vm_lifecycle/README.md b/roles/vm_lifecycle/README.md index 7675f91..224ba51 100644 --- a/roles/vm_lifecycle/README.md +++ b/roles/vm_lifecycle/README.md @@ -240,4 +240,4 @@ GPL-3.0-only No platforms specified. - \ No newline at end of file + diff --git a/roles/vm_lifecycle/tests/inventory b/roles/vm_lifecycle/tests/inventory index 878877b..2fbb50c 100644 --- a/roles/vm_lifecycle/tests/inventory +++ b/roles/vm_lifecycle/tests/inventory @@ -1,2 +1 @@ localhost - diff --git a/roles/vm_mac_address/README.md b/roles/vm_mac_address/README.md index 39afb2b..c2f40a6 100644 --- a/roles/vm_mac_address/README.md +++ b/roles/vm_mac_address/README.md @@ -174,4 +174,4 @@ GPL-3.0-only No platforms specified. - \ No newline at end of file + diff --git a/roles/vm_mac_address/tests/inventory b/roles/vm_mac_address/tests/inventory index 878877b..2fbb50c 100644 --- a/roles/vm_mac_address/tests/inventory +++ b/roles/vm_mac_address/tests/inventory @@ -1,2 +1 @@ localhost - diff --git a/roles/vm_networking/README.md b/roles/vm_networking/README.md index bf81ba4..a75199b 100644 --- a/roles/vm_networking/README.md +++ b/roles/vm_networking/README.md @@ -58,4 +58,4 @@ GPL-3.0-only No platforms specified. - \ No newline at end of file + diff --git a/roles/vm_networking/tests/inventory b/roles/vm_networking/tests/inventory index 878877b..2fbb50c 100644 --- a/roles/vm_networking/tests/inventory +++ b/roles/vm_networking/tests/inventory @@ -1,2 +1 @@ localhost - diff --git a/roles/vm_patching/README.md b/roles/vm_patching/README.md index eeb77ae..4c32ec1 100644 --- a/roles/vm_patching/README.md +++ b/roles/vm_patching/README.md @@ -96,4 +96,4 @@ GPL-3.0-only No platforms specified. - \ No newline at end of file + diff --git a/roles/vm_patching/tests/inventory b/roles/vm_patching/tests/inventory index 878877b..2fbb50c 100644 --- a/roles/vm_patching/tests/inventory +++ b/roles/vm_patching/tests/inventory @@ -1,2 +1 @@ localhost - diff --git a/roles/vm_ssh/README.md b/roles/vm_ssh/README.md index fc1671f..4b5d706 100644 --- a/roles/vm_ssh/README.md +++ b/roles/vm_ssh/README.md @@ -257,4 +257,4 @@ GPL-3.0-only No platforms specified. - \ No newline at end of file + diff --git a/roles/vm_ssh/templates/virtual_machine_access_credentials.yml.j2 b/roles/vm_ssh/templates/virtual_machine_access_credentials.yml.j2 index 7b33691..2b41387 100644 --- a/roles/vm_ssh/templates/virtual_machine_access_credentials.yml.j2 +++ b/roles/vm_ssh/templates/virtual_machine_access_credentials.yml.j2 @@ -7,4 +7,4 @@ template: secretName: {{ ssh_target['secret'] }} propagationMethod: qemuGuestAgent: - users: {{ ssh_target['users'] if 'users' in ssh_target else vm_ssh_default_users }} \ No newline at end of file + users: {{ ssh_target['users'] if 'users' in ssh_target else vm_ssh_default_users }} diff --git a/roles/vm_ssh/tests/inventory b/roles/vm_ssh/tests/inventory index 878877b..2fbb50c 100644 --- a/roles/vm_ssh/tests/inventory +++ b/roles/vm_ssh/tests/inventory @@ -1,2 +1 @@ localhost - diff --git a/scripts/create-changelog-fragments.sh b/scripts/create-changelog-fragments.sh index e2bccb1..92ad4af 100755 --- a/scripts/create-changelog-fragments.sh +++ b/scripts/create-changelog-fragments.sh @@ -72,4 +72,4 @@ EOF done -echo "Done! Fragments for $NEXT_VERSION generated." \ No newline at end of file +echo "Done! Fragments for $NEXT_VERSION generated." diff --git a/scripts/update-changelog.sh b/scripts/update-changelog.sh index d187118..0d9e762 100755 --- a/scripts/update-changelog.sh +++ b/scripts/update-changelog.sh @@ -14,4 +14,4 @@ antsibull-changelog lint && echo "✅ All changelog fragments passed linting!" | # Run antsibull-changelog release to update changelog and delete fragments antsibull-changelog release -v --version $NEXT_VERSION -echo "✅ Changelog updated successfully!" \ No newline at end of file +echo "✅ Changelog updated successfully!" diff --git a/tests/integration/test_integration.py b/tests/integration/test_integration.py index ddb7a34..b422c8c 100644 --- a/tests/integration/test_integration.py +++ b/tests/integration/test_integration.py @@ -7,7 +7,8 @@ def test_integration(molecule_scenario: MoleculeScenario) -> None: """Run molecule for each scenario. - :param molecule_scenario: The molecule scenario object + Args: + molecule_scenario: The molecule scenario object """ proc = molecule_scenario.test() assert proc.returncode == 0