I'm getting an error saying "Wrong number of parameters for root. Expected 1, got 7.". Which is true if you take the spacing inside the template tags into consideration.
But if you remove the white space (or treat the tag as a single entity), the error goes away and all is well in the world.
Hi.
Several things.
We are moving from single box Apache to multiple nginx cluster, moving from direct ssh to box to Vagrant+Ansible.
As a consequence, our conf files have entries like ...
The
{{ item.port }}
part is a template entry that will be replaced by Ansible.But, when viewing this in PHPStorm, all sorts of wrong. And reformatting goes out the window!
Upon undo-ing that autoformat, I got an error (https://github.com/ishchenko/idea-nginx/issues/53).
In http://docs.ansible.com/ansible/template_module.html, we are told we can use an alternative tagging mechanism that doesn't conflict with the nginx format.
All is well with that. Nearly.
For
I'm getting an error saying "Wrong number of parameters for root. Expected 1, got 7.". Which is true if you take the spacing inside the template tags into consideration.
But if you remove the white space (or treat the tag as a single entity), the error goes away and all is well in the world.
Thanks.