You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.
I am wondering if defining the example.com.conf in sites enabled is definable via a variable.
Currently using:
- role: ansible-role-nginx
nginx_sites:
"{{ my_domain }}": <--- This line causes the error
- server_name {{ my_domain }}
root /home/admin/sites/{{ my_domain }}
The server name and root lines work perfectly fine. Defining the file name statically as per your examples also work fine. Is there anything I am missing here or is what I am trying to do not feasible in the current iteration. Thank you.
The text was updated successfully, but these errors were encountered:
I am wondering if defining the example.com.conf in sites enabled is definable via a variable.
Currently using:
The server name and root lines work perfectly fine. Defining the file name statically as per your examples also work fine. Is there anything I am missing here or is what I am trying to do not feasible in the current iteration. Thank you.
The text was updated successfully, but these errors were encountered: