You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test ansible-test sanity --test shellcheck [explain] failed with 1 error:
test/integration/targets/interpreter_discovery_python/tasks/library/bashmodule.sh:1:1: SC2148: Tips depend on target shell and yours is unknown. Add a shebang.
The test ansible-test sanity --test shebang [explain] failed with 1 error:
test/integration/targets/interpreter_discovery_python/tasks/library/bashmodule.sh:0:0: file without shebang should not be executable
The test ansible-test sanity --test action-plugin-docs [explain] failed with 1 error:
lib/ansible/plugins/action/set_var.py:0:0: action plugin has no matching module to provide documentation
The test ansible-test sanity --test pylint [explain] failed with 1 error:
The test ansible-test sanity --test shellcheck [explain] failed with 1 error:
test/integration/targets/interpreter_discovery_python/tasks/library/bashmodule.sh:1:1: SC2148: Tips depend on target shell and yours is unknown. Add a shebang.
The test ansible-test sanity --test shebang [explain] failed with 1 error:
test/integration/targets/interpreter_discovery_python/tasks/library/bashmodule.sh:0:0: file without shebang should not be executable
The test ansible-test sanity --test pep8 [explain] failed with 1 error:
lib/ansible/plugins/action/set_var.py:44:161: E501: line too long (166 > 160 characters)
The test ansible-test sanity --test action-plugin-docs [explain] failed with 1 error:
lib/ansible/plugins/action/set_var.py:0:0: action plugin has no matching module to provide documentation
The test ansible-test sanity --test validate-modules [explain] failed with 3 errors:
lib/ansible/modules/set_vars.py:0:0: invalid-documentation: DOCUMENTATION.author: Invalid author for dictionary value @ data['author']. Got 'Ansible Project'
lib/ansible/modules/set_vars.py:0:0: invalid-documentation: DOCUMENTATION.options.scope.type: not a valid value for dictionary value @ data['options']['scope']['type']. Got 'string'
lib/ansible/modules/set_vars.py:0:0: missing-return: No RETURN provided
The test ansible-test sanity --test pylint [explain] failed with 1 error:
ansibot
added
needs_ci
This PR requires CI testing to be performed. Please close and re-open this PR to trigger CI.
and removed
stale_ci
This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested.
labels
Jul 6, 2023
ansibot
added
needs_rebase
https://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.html
and removed
needs_rebase
https://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.html
needs_ci
This PR requires CI testing to be performed. Please close and re-open this PR to trigger CI.
labels
Oct 24, 2023
ansibot
removed
needs_rebase
https://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.html
stale_pr
This PR has not been pushed to for more than one year.
labels
Jun 10, 2025
The test ansible-test sanity --test validate-modules [explain] failed with 5 errors:
lib/ansible/modules/set_vars.py:0:0: invalid-documentation: DOCUMENTATION.author: Invalid author for dictionary value @ data['author']. Got 'Ansible Project'
lib/ansible/modules/set_vars.py:0:0: invalid-documentation: DOCUMENTATION.options.scope.type: not a valid value for dictionary value @ data['options']['scope']['type']. Got 'string'
lib/ansible/modules/set_vars.py:0:0: missing-return: No RETURN provided
lib/ansible/modules/set_vars.py:0:0: module-incorrect-version-added: version_added should be '2.19'. Currently '2.12'
lib/ansible/modules/set_vars.py:0:0: parameter-list-no-elements: DOCUMENTATION.options.defs: Argument defines type as list but elements is not defined for dictionary value @ data['options']['defs']. Got {'description': ['A list of dictionaries that represent a variable definition'], 'type': 'list', 'required': True}
The test ansible-test sanity --test action-plugin-docs [explain] failed with 1 error:
lib/ansible/plugins/action/set_var.py:0:0: action plugin has no matching module to provide documentation
The test ansible-test sanity --test boilerplate [explain] failed with 6 errors:
lib/ansible/modules/set_vars.py:0:0: invalid: __metaclass__ = type
lib/ansible/modules/set_vars.py:0:0: invalid: from __future__ import absolute_import, division, print_function
lib/ansible/modules/set_vars.py:0:0: missing: from __future__ import annotations
lib/ansible/plugins/action/set_var.py:0:0: invalid: __metaclass__ = type
lib/ansible/plugins/action/set_var.py:0:0: invalid: from __future__ import (absolute_import, division, print_function)
lib/ansible/plugins/action/set_var.py:0:0: missing: from __future__ import annotations
The test ansible-test sanity --test mypy [explain] failed with 2 errors:
lib/ansible/executor/task_executor.py:657:34: name-defined: Name "results" is not defined
lib/ansible/plugins/strategy/__init__.py:740:68: name-defined: Name "iteritems" is not defined
The test ansible-test sanity --test shebang [explain] failed with 1 error:
test/integration/targets/interpreter_discovery_python/tasks/library/bashmodule.sh:0:0: file without shebang should not be executable
The test ansible-test sanity --test shellcheck [explain] failed with 1 error:
test/integration/targets/interpreter_discovery_python/tasks/library/bashmodule.sh:1:2: SC1113: Use #!, not just #, for the shebang.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
affects_2.12featureThis issue/PR relates to a feature request.moduleThis issue/PR relates to a module.needs_rebasehttps://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.htmlneeds_revisionThis PR fails CI tests or a maintainer has requested a review/revision of the PR.stale_ciThis PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested.stale_prThis PR has not been pushed to for more than one year.
2 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
allow more flexible var setting
ISSUE TYPE
COMPONENT NAME
set_var