Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

include_vars: include main.yml #51926

Merged
merged 1 commit into from
Mar 8, 2019
Merged

include_vars: include main.yml #51926

merged 1 commit into from
Mar 8, 2019

Conversation

Akasurde
Copy link
Member

@Akasurde Akasurde commented Feb 8, 2019

SUMMARY

Enhance the conditional check to include main.yml if it is not
from 'role/vars/'

Fixes: #29135

Signed-off-by: Abhijeet Kasurde akasurde@redhat.com

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

lib/ansible/plugins/action/include_vars.py

@Akasurde Akasurde requested a review from sivel February 8, 2019 04:42
@ansibot ansibot added affects_2.8 This issue/PR affects Ansible v2.8 bug This issue/PR relates to a bug. core_review In order to be merged, this PR must follow the core review workflow. needs_triage Needs a first human triage before being processed. support:core This issue/PR relates to code supported by the Ansible Engineering Team. needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. and removed core_review In order to be merged, this PR must follow the core review workflow. labels Feb 8, 2019
@s-hertel s-hertel removed the needs_triage Needs a first human triage before being processed. label Feb 12, 2019
@ansibot ansibot added core_review In order to be merged, this PR must follow the core review workflow. and removed needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. labels Feb 12, 2019
@Akasurde
Copy link
Member Author

@sivel Could you please take a look ? Thanks.

@ansibot ansibot added the stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. label Feb 21, 2019
@sivel
Copy link
Member

sivel commented Mar 4, 2019

LGTM, but if we are planning to backport at all, this would need a changelog.

Enhance the conditional check to include main.yml if it is not
from 'role/vars/'

Fixes: ansible#29135

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
@ansibot ansibot added support:community This issue/PR relates to code supported by the Ansible community. 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 Mar 5, 2019
@Akasurde Akasurde merged commit a5d3647 into ansible:devel Mar 8, 2019
@Akasurde Akasurde deleted the i29135 branch March 8, 2019 04:33
@Akasurde
Copy link
Member Author

Akasurde commented Mar 8, 2019

@sivel I added changelog before merging. Thanks for the review.

@ansible ansible locked and limited conversation to collaborators Jul 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.8 This issue/PR affects Ansible v2.8 bug This issue/PR relates to a bug. core_review In order to be merged, this PR must follow the core review workflow. support:community This issue/PR relates to code supported by the Ansible community. support:core This issue/PR relates to code supported by the Ansible Engineering Team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

module include_vars not loading main.yml when task is inside role
4 participants