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
I have seen that a number of times in DebOps but I think it does not add much value other than maintenance overhead ;). Thoughts?
The text was updated successfully, but these errors were encountered:
ypid
changed the title
No redundand fallback defaults in templates if they are already in defaults/main.yml
Avoid redundand fallback defaults in templates if they are already in defaults/main.yml
Sep 15, 2016
Agreed. Defaults in templates aren't easily changed by the user, so we can drop them and rely on the variables being present in defaults/main.yml. In the specific debops.nginx case and nginx.conf template I was trying to make the number of the variables in defaults smaller, hoping that the user could add their overrides for variables set there through the inventory anyway. But I guess that I just need to get used to long defaults/main.yml files instead. :-)
Example: "nginx_hsts_age | default('15768000')" in
debops.nginx
I have seen that a number of times in DebOps but I think it does not add much value other than maintenance overhead ;). Thoughts?
The text was updated successfully, but these errors were encountered: