-
Notifications
You must be signed in to change notification settings - Fork 6
Added apache__redirect_to_https variable #9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -465,7 +465,14 @@ apache__combined_snippets: '{{ apache__dependent_snippets | |
apache__https_enabled: '{{ ansible_local|d() and ansible_local.pki|d() and | ||
(ansible_local.pki.enabled|d() | bool) and | ||
apache__https_listen|length > 0 }}' | ||
# ]]] | ||
|
||
|
||
|
||
# .. envvar:: apache__redirect_to_https [[[ | ||
# | ||
# This defines the default for each vhost's ``redirect_to_https`` variable. | ||
# Defaults to ``True``. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Seems redundant as the variable is a simple assignment it is clear what the default is 😉 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah, yeah. I wasn't sure how to handle that. I think I wanted to express that the ultimate decision is made based on the other variable but also make the documentation useful, e.g. to make it show the actual value that's relevant to the user. But I don't like the redundancy. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've made a change. I hope it's better now. |
||
apache__redirect_to_https: True | ||
# ]]] | ||
# PKI [[[ | ||
# ~~~~~~~ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are not yet defined in 80post.rst, feel free to add yourself to the file and run
make includes/global.rst
to get docs working.Added a apache__redirect_to_https to control
→or
and
debops-optimize
will take care of it.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hrm. creating that entry seems to require a non trivial addition to debops-keyring, too. Is the procedure defined anywhere? Anyway, I've tried to create the necessary pull requests.
But there is no change the file here requires, right?
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, no change is needed in https://github.com/debops/ansible-apache.