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

set_fact and complex data types #5670

Closed
mpdehaan opened this issue Jan 17, 2014 · 1 comment
Closed

set_fact and complex data types #5670

mpdehaan opened this issue Jan 17, 2014 · 1 comment
Labels
feature This issue/PR relates to a feature request.

Comments

@mpdehaan
Copy link
Contributor

set_fact is a little dumb if you do:

set_fact: key={{ some_value | int }}

because that results in a string

but it's fine if you do:

set_fact:
key: "{{ some_value | int }}"

or even

key: "{{ some_value }}"

It would be nice if the short form were a bit smarter, or maybe if the old form just raised a deprecation warning (preferred?)

@mpdehaan
Copy link
Contributor Author

Dup of #5463

@ansibot ansibot added feature This issue/PR relates to a feature request. and removed feature_idea labels Mar 2, 2018
@ansible ansible locked and limited conversation to collaborators Apr 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature This issue/PR relates to a feature request.
Projects
None yet
Development

No branches or pull requests

2 participants