diff --git a/.ansible-lint.yml b/.ansible-lint.yml index d0a8dbd..7abbe6a 100644 --- a/.ansible-lint.yml +++ b/.ansible-lint.yml @@ -1,27 +1,24 @@ --- -# Ansible Linter rules -# mock_modules: -# - community.vmware.vmware_guest_snapshot +profile: production # Exclude paths from linter exclude_paths: - - '.github/' - - 'changelogs/' - - 'docs/' - - 'collections/' - - 'extensions/molecule/' + - ".github/" + - "changelogs/" + - "docs/" + - "collections/" + - "extensions/molecule/" # Ansible Linter rules skip_list: - yaml[colons] # Violations reported by yamllint. - - yaml[line-length] # Violations reported by yamllint. + - yaml[line-length] # Violations reported by yamllint. -warn_list: # or 'skip_list' to silence them completely +warn_list: # or 'skip_list' to silence them completely - git-latest # Allow for newest git version - package-latest # Allow newest package version - - template-instead-of-copy # Templated files should use template instead of copy + - template-instead-of-copy # Templated files should use template instead of copy # - command-instead-of-shell # Use shell only when shell functionality is required. # - no-changed-when # temp until updated all tasks # - sanity[cannot-ignore] # cope with shebang test bug - ... diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/ansible-lint.yml similarity index 100% rename from .github/workflows/pre-commit.yml rename to .github/workflows/ansible-lint.yml diff --git a/.github/workflows/ansible-test.yml b/.github/workflows/ansible-test.yml index 479ef79..992914c 100644 --- a/.github/workflows/ansible-test.yml +++ b/.github/workflows/ansible-test.yml @@ -187,9 +187,7 @@ jobs: python: - '2.6' - '2.7' - # - '3.5' - '3.6' - - '3.7' - '3.8' - '3.9' - '3.10' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0c70849..e3a2e5b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -70,6 +70,7 @@ jobs: cat << EOF > ansible.cfg [galaxy] server_list = rh_automation_hub + [galaxy_server.rh_automation_hub] url=https://cloud.redhat.com/api/automation-hub/ auth_url=https://sso.redhat.com/auth/realms/redhat-external/protocol/openid-connect/token diff --git a/.gitignore b/.gitignore index b40255c..22b0498 100644 --- a/.gitignore +++ b/.gitignore @@ -133,3 +133,6 @@ dmypy.json install-deps pre-commit + +# Ignore ansible.cfg +ansible.cfg diff --git a/.github/CODEOWNERS b/CODEOWNERS similarity index 100% rename from .github/CODEOWNERS rename to CODEOWNERS diff --git a/changelogs/fragments/remove_system_roles_dependency.yaml b/changelogs/fragments/remove_system_roles_dependency.yaml new file mode 100644 index 0000000..016def3 --- /dev/null +++ b/changelogs/fragments/remove_system_roles_dependency.yaml @@ -0,0 +1,4 @@ +--- +minor_changes: + - removed fedora.linux_system_roles dependency from required dependencies +... diff --git a/galaxy.yml b/galaxy.yml index d622abe..0583d77 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -3,7 +3,7 @@ namespace: infra name: convert2rhel -version: "1.0.0" +version: "1.1.0" readme: README.md authors: - Rodolfo Olivieri (github.com/r0x0d) @@ -16,7 +16,7 @@ tags: - conversions - linux repository: https://github.com/redhat-cop/infra.convert2rhel -# documentation: https://github.com/ansible-collection-migration/community.REPO_NAME/tree/main/docs +documentation: https://github.com/redhat-cop/infra.convert2rhel/tree/main/docs homepage: https://github.com/redhat-cop/infra.convert2rhel issues: https://github.com/redhat-cop/infra.convert2rhel/issues build_ignore: @@ -26,7 +26,6 @@ build_ignore: - extensions dependencies: ansible.posix: ">=1.5.1" - fedora.linux_system_roles: ">=1.21.0" community.general: ">=6.6.0" ansible.utils: ">=2.12.0" ...