-
Notifications
You must be signed in to change notification settings - Fork 15
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
Update hosts.example #108
Update hosts.example #108
Conversation
Added some additional vars (etcd_tls_client_auth=true and configure_firewalld_for_tendrl) that can be set along with documentation on how to set it. Note: tendrl-vagrant doesn't work out of the box with its current firewalld setting, so for sandboxes, disabling configure_firewalld_for_tendrl is sometimes useful.
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.
If we really want to list these 2 particular variables in the example inventory file, we would need either duplicate the full description of the variable from the readme file or reference it there.
I will think about minimal tweaks we need to do here and suggest changes so that we can merge this soon.
hosts.example
Outdated
@@ -29,5 +29,14 @@ graphite_fqdn=tendrl.example.com | |||
#ansible_become=yes | |||
#ansible_user=cloud-user | |||
|
|||
# Uncomment to configure etcd to use client to server authentication with HTTPS | |||
# client certificates, as well as all Tendrl components will be reconfigured | |||
# accordingly. Default set to false. |
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.
For this comment to be fully clear, we will need to add much more information there.
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.
@mbukatov Both of these variables are already mentioned in the README.
The readme pretty much says "etcd tls client authentication" for the etcd_tls_client_auth var.
hosts.example
Outdated
#etcd_tls_client_auth=true | ||
|
||
# Uncomment to configure to not use of firewalld on the tendrl_server and | ||
# gluster_servers. Default set to true. |
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.
For this comment to be fully clear, we will need to add much more information there.
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.
@mbukatov The readme says "firewalld setup for Tendrl (variable configure_firewalld_for_tendrl)" for the firewalld configuration.
Let me update the comments for the host inventory file and see if the revised version is easier to understand.
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.
I've revised this PR -- see #110. We can go ahead and not delete / archive this PR.
Updated per comments and also added another variable tendrl_copr_repo so folks know they can optionally use master (and not just released bits).
@mbukatov I updated hosts.example and improve documentation on the additional ansible vars. I reviewed the readme (in a few places) and tried to be more specific and also align the comments with how the var is mentioned in the readme. Per your request, I've updated the original PR and closed the other PR (#110) I created. |
Since we are unlikely to need any new variables, the bit of duplication is no longer a problem. Merged. |
@mbukatov @r0h4n @shirshendu
Added some additional vars (etcd_tls_client_auth=true and configure_firewalld_for_tendrl) that can be set along with documentation on how to set it.
Note: tendrl-vagrant doesn't work out of the box with its current firewalld setting, so for sandboxes, disabling configure_firewalld_for_tendrl is sometimes useful.
This also addresses partly one of the comments made in Tendrl/documentation#104 (comment).