ansible-supervisor icon indicating copy to clipboard operation
ansible-supervisor copied to clipboard

Quote variables

Open nass600 opened this issue 9 years ago • 2 comments

Hello there.

I am getting this error: TASK: [eggsby.supervisor | installing supervisor] ***************************** fatal: [default] => A variable inserted a new parameter into the module args. Be sure to quote variables if they contain equal signs (for example: "{{var}}").

Is this a bug of I am missing something?

My configuration is:

  • Default variables untouched
  • ansible 1.9.3
  • SO: MacOSX El Capitan
  • vagrant 1.7.4

nass600 avatar Dec 04 '15 08:12 nass600

:+1: I have the same issue.

My config:

  • ansible: 1.9.4
  • OS: Ubuntu 14.04

The problem is in tasks/main.yml at line: {% if pip_args %} extra_args={{ pip_args }} {% endif %}.

I'm not sure what the proper fix is though. It seems like we want to use the default omit option but I was having trouble getting that to work. For reference, I tried: extra_args={{ pip_args | default(omit) }} but didn't have any luck.

jvalentini avatar Feb 02 '16 21:02 jvalentini

Looks like it got fixed in a pull request: https://github.com/eggsby/ansible-supervisor/pull/7

However, whenever I pull I'm not getting the changes. @eggsby, do you need to tag a new version?

jvalentini avatar Feb 02 '16 22:02 jvalentini