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

Fix inline vaults for plugins in ensure_type (#67492) #67741

Merged
merged 1 commit into from Mar 3, 2020

Conversation

s-hertel
Copy link
Contributor

@s-hertel s-hertel commented Feb 25, 2020

SUMMARY

Backport of #67492

Connection plugins have been able to use inline vaults due to using vars (rather than direct), because it was fixed in _loop_entries. This fixes it universally for plugins in ensure_type for string options.

  • Fix inline vaults for plugins in ensure_type
  • Add tests for strings and implicit strings

(cherry picked from commit 8eb00dd)

ISSUE TYPE
  • Bugfix Pull Request

* Fix implicit string - only looked right because of the vault __repr__
* Add tests for strings and implicit strings

(cherry picked from commit 8eb00dd)
@ansibot ansibot added affects_2.9 This issue/PR affects Ansible v2.9 backport This PR does not target the devel branch. 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: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. labels Feb 25, 2020
@mattclay mattclay added the backport_verified This PR has been verified as a backport of a merged devel PR. label Mar 2, 2020
@mattclay mattclay merged commit afb389e into ansible:stable-2.9 Mar 3, 2020
@mattclay mattclay removed the needs_triage Needs a first human triage before being processed. label Mar 3, 2020
@ansible ansible locked and limited conversation to collaborators Mar 31, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.9 This issue/PR affects Ansible v2.9 backport_verified This PR has been verified as a backport of a merged devel PR. backport This PR does not target the devel branch. 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.

None yet

3 participants