refactoring roles for nginx install

changing templates for using jinja2