-
Notifications
You must be signed in to change notification settings - Fork 76
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
NGINX Part 2 [for ./runrole & for rapid testing of IIAB apps/services e.g. during IIAB installation] #2102
Conversation
57cfdbe
to
07032b4
Compare
The Should this be documented within the command similar to https://github.com/iiab/iiab/blob/master/iiab-install#L55-L63 and https://github.com/iiab/iiab/blob/master/iiab-install#L133-L139 ? |
Adam texted me, an asked for me to review this PR.
As far as I can tell, most of this PR restructures functionality that is already working correctly. So the up side potential benefit is low, and the down side risk is high. Adam has asserted that pretty code helps the world take IIAB more seriously. Maybe he's right. I think the jury is still out on that. Will the changes in this PR be seen as more attractive to our apparent audience -- the technical assistants to fledgling deployments? I doubt it. |
Impossible to review all this, but a couple of things:
|
It's an extremely annoying situation introduced by Ansible 2.8. But at least @jvonau and I are understanding it much better now, as we've written up here: #1632 (comment) |
Just to give a clear look on what needs to be addressed in stage 4, there are duplicate/unused code that should be culled.
This was discussed in the chat meeting and that is what you suggested, don't enable apache if there are no apps that require apache.
Though it would be nice for ICO to update code in stage 4 instead of having to do a reinstall to get the latest code churn.
When ICO or iiab-configure runs. Or don't you care about how iiab-from-console.yml runs?
Again in the chat meeting you suggested that apache is not going anywhere soon.. |
Thank you @tim-moody & @jvonau for moving these critical-but-difficult discussions forward. The fundamental purpose of IIAB 7.1 is to provide a clean and stable testing environment for our growing community of integrators and devs (and those they represent around the world) to build on — even if some of them consider NGINX a distraction from their educational goals — but still we have to march forward now figuring this out, putting it into a stable and understandable form. Even if this PR #2102 isn't final obviously, Rome Was Not Built In A Day. e.g. we could possibly break this PR (#2102) apart into separate PR's to refine it more understandably, should that be necessary in the end. |
I was thinking it didn't need to be done in 0, but I guess runrole needs it there.
I thought we are supporting apache as used by nginx only, not without nginx
We are not installing?
I don't get that. code in 2 has full reference so that it can be run in 4? |
was tested as is, but will break down into smaller bits for further digestion. |
I think I don't understand the difference between iiab-install and iiab-configure. Is the latter meant only to be run after the former? Is it meant only to change enablement? |
The original PR was a POC that needed further polish, as such my thought was to be optional and could be reverted. Now that nginx is now enforced it makes sense to move the templates to the roles and add the needed nginx restarts.
Well yes and no, if there are no changes to *_install in local_vars after install one would be just adjusting services by virtue of 'installed' being present and running just enabled.yml in any roles' main.yml. Should someone adjust *install to True in local_vars.yml then that role would install while the others would just run enabled.yml.
Could of moved the templates but yes, by using an absolute path you gain portability to any other role. |
Correct on the first part. iiab-configure and iiab-from-console.yml share the same code stage 4+ but without network added at the end. |
@jvonau explained extensive progress here as to how he will move forward. Apologies my note-taking did not keep up during our weekly IIAB call that just wrapped up here: http://minutes.iiab.io |
For the most part implemented via the sub PR's |
Fixes Bug
#2062 #2078
Description of changes proposed in this pull request.
Smoke-tested in operating system.
Mention a team member for further information or comment using @ name