-
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
move pylib.yml to stage 4 #2368
Conversation
Should all 3 of these...
...move from roles/2-common/templates to roles/4-server-options/templates ? Tangentially related to: #2367 "vnStat playbook cannot be rerun on a VM w/o LAN? Is iiab-from-console.yml part of the issue?" |
sorry commented on the wrong pr. if these files are moved to stage 4 how does that make it easier to update? |
When you click Admin Console (http://box.lan/admin) -> Configure -> ICO (Install Configured Options) Ansible starts at Stage 4...up to Stage 9...and the does the Network stage (equivalent to running ./iiab-network). |
@jvonau mentions:
|
I guess that's true but how does it relate to my question, which was with respect to
runroles 2-common does not require --reinstall and is probably faster |
Don't think it would be faster as there are other functions in 2-common and in doing so does reset the stage counter when completed. |
the only downside is if something needs one of these three files prior to stage 4 |
Nothing that would import iiab_lib.py or iiab_env.py.j2 is ever called in the iiab repo. |
if that were true I would not have created iiab_lib.py and iiab_const.py https://github.com/iiab/iiab/blob/master/roles/kiwix/templates/iiab-make-kiwix-lib3.py But I think iiab_env.py.j2 is obsolete |
Now as role one can just use runrole pylibs to test local changes while being able to update existing installs, should master change at some point, with ease. |
Smoke-test is now running on 191-u20-srv-PR2368-BIG-0428 = 10.8.0.26, currently installing Stage 7... |
Admin Console > Configure > "Save Configuration" and then "Install Configured Options" both worked unlike yesterdat, thanks also to PR #2349 which is now contained in this PR #2368. FYI:
|
That is installed in kiwix's role but used by the cmdsrv and iiab-make-kiwix-lib is never run at any point from within iiab's repo.
I'll look to you & George to make that call and remove if required. |
It allows kiwix to be used without admin console.
had this been done previously it would equally have solved the problem without this PR. |
Agreed no issue there. We agree that iiab-make-kiwix-lib is available post-install for cmdline use, we differ on if it is used during install, and I can't seem to find where iiab-make-kiwix-lib is called. |
I thought it used to be run during the kiwix install, but I see that it is not. |
Would be nice if Save Configuration could be cleaned up as not to add services that are no longer supported and are commented out in both local_vars and default_vars from being append to the user's local_vars file. |
enhances #2362 by not requiring a --reinstall to activate.