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.
First of all thank you for this role, it is very useful.
Is it possible to add a variable allowing to configure the extension of site definition in sites-available ?
For the moment the role always add .conf extension.
- name: Create the configurations for sites
template: src=site.conf.j2 dest={{nginx_conf_dir}}/sites-available/{{ item }}{{nginx_config_extension|default()}}
with_items: nginx_sites.keys()
notify:
- restart nginx
tags: [configuration,nginx]
I can make a pull request if you want, let me know if your agree with my variable name.
The text was updated successfully, but these errors were encountered:
Thanks, the merit go to all contributor of this role.
You can made a PR but add the default in defaults/main.yml .
If it's apply only to sites configuration, the name could be nginx_sites_conf_extension: ".conf".
The use of this variable could be more uniform and apply to "independent config file" also : we can name the variable in this case ; "nginx_conf_extension"
First of all thank you for this role, it is very useful.
Is it possible to add a variable allowing to configure the extension of site definition in sites-available ?
For the moment the role always add .conf extension.
I can make a pull request if you want, let me know if your agree with my variable name.
The text was updated successfully, but these errors were encountered: