From b8f5dda6da5ae45930ed0057825a4541f70a61e8 Mon Sep 17 00:00:00 2001 From: Alan Rominger Date: Mon, 28 Jun 2021 22:37:10 -0400 Subject: [PATCH] Fix ansible-test pep8 bug and add notable release --- awx_collection/README.md | 3 ++- awx_collection/test/awx/test_project.py | 1 + .../tools/roles/template_galaxy/templates/README.md.j2 | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/awx_collection/README.md b/awx_collection/README.md index 0a9e47a5ab..ff01c8b150 100644 --- a/awx_collection/README.md +++ b/awx_collection/README.md @@ -67,11 +67,12 @@ Notable releases of the `awx.awx` collection: - 7.0.0 is intended to be identical to the content prior to the migration, aside from changes necessary to function as a collection. - 11.0.0 has no non-deprecated modules that depend on the deprecated `tower-cli` [PyPI](https://pypi.org/project/ansible-tower-cli/). + - 19.2.1 large renaming purged "tower" names (like options and module names), adding redirects for old names - 0.0.1-devel is the version you should see if installing from source, which is intended for development and expected to be unstable. The following notes are changes that may require changes to playbooks: - - The module tower_notification was renamed tower_notification_template. In ansible >= 2.10 there is a seemless redirect. Ansible 2.9 does not respect the redirect. + - The module tower_notification was renamed tower_notification_template. In ansible >= 2.10 there is a seamless redirect. Ansible 2.9 does not respect the redirect. - When a project is created, it will wait for the update/sync to finish by default; this can be turned off with the `wait` parameter, if desired. - Creating a "scan" type job template is no longer supported. - Specifying a custom certificate via the `TOWER_CERTIFICATE` environment variable no longer works. diff --git a/awx_collection/test/awx/test_project.py b/awx_collection/test/awx/test_project.py index ec930fde9e..0485748b35 100644 --- a/awx_collection/test/awx/test_project.py +++ b/awx_collection/test/awx/test_project.py @@ -25,6 +25,7 @@ def test_create_project(run_module, admin_user, organization, silence_warning): result.pop('invocation') assert result == {'name': 'foo', 'id': proj.id} + @pytest.mark.django_db def test_create_project_copy_from(run_module, admin_user, organization, silence_warning): ''' Test the copy_from functionality''' diff --git a/awx_collection/tools/roles/template_galaxy/templates/README.md.j2 b/awx_collection/tools/roles/template_galaxy/templates/README.md.j2 index 9d67a50e7e..4e48302f0a 100644 --- a/awx_collection/tools/roles/template_galaxy/templates/README.md.j2 +++ b/awx_collection/tools/roles/template_galaxy/templates/README.md.j2 @@ -73,6 +73,7 @@ Notable releases of the `{{ collection_namespace }}.{{ collection_package }}` co {% if collection_package | lower() == "awx" %} - 7.0.0 is intended to be identical to the content prior to the migration, aside from changes necessary to function as a collection. - 11.0.0 has no non-deprecated modules that depend on the deprecated `tower-cli` [PyPI](https://pypi.org/project/ansible-tower-cli/). + - 19.2.1 large renaming purged "tower" names (like options and module names), adding redirects for old names - 0.0.1-devel is the version you should see if installing from source, which is intended for development and expected to be unstable. {% else %} - 3.7.0 initial release