geerlingguy / ansible-role-nginx

Ansible Role - Nginx

Home Page:https://galaxy.ansible.com/geerlingguy/nginx/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using variables defining upstream servers

enricostano opened this issue · comments

Would be possible to pass string with variables to servers key?

https://github.com/geerlingguy/ansible-role-nginx/blob/master/templates/nginx.conf.j2#L64

Example:

- name: myapp1
  servers: {
    "unix://{{ app_root_path }}/tmp/gunicorn.sock"
  }

Thanks!

commented

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

commented

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.

Hi @geerlingguy ! Any input on this? Thanks!