-
Notifications
You must be signed in to change notification settings - Fork 68
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
extra_vars option: json format: string "true" turned into boolean "true" #80
Comments
Okay, and you are 100% sure it is an issue with the action and not Ansible? |
@dawidd6 Sorry for the late response. Here is my ansible playbook CLI:
Here is a playbook:
Here is my command:
This works as expected on the command line. |
Don't know if that makes any difference, but in the action input you are surrounding your extra vars with double quotes and in the cli it is single quotes. Try using the same quotes here and there. |
ok, thanks. i will try it next time i run into the problem. |
I have the following use case:
if 'extra_vars' is using the json-string method, it can contain a value like so:
{
"attr-a": true
"attr-b": "true"
}
My expectation is that 'attr-a' has the boolean true whilst 'attr-b' has the string 'true'. However, the reality is that both attributes have boolean true.
The text was updated successfully, but these errors were encountered: