-
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
Record arch #3520
Record arch #3520
Conversation
Both Are they also needing to be recorded during IIAB's initial Ansible install, is that the idea? If so, that seems reasonable. ( |
Or maybe the |
You should know the purpose and reasons for the layout that was 'borrowed' from xsce but to spell it out for you the reason is to capture the install time variables that were in play at install time. Remember 'runtime' is updated every time ansible runs, it looks like a duplication but as you now realize create_iiab_ini.yml only runs once. Using 'original' or 'initial' really doesn't gain anything other that being a nit picker, should never change without willful alteration and that is the purpose of recording the value. (Thinking towards apt repo additions that are not correct for the arch in use and how that came into being) Now with this 'Avoid expanding scripts/local_facts.fact', all #3518 was doing was the same procedure that was used with #3439 as I felt this variable would of come in handy for other roles that might need attention going forward. What I find amusing is this 'to reduce the number of global variables' cope out, default_vars.yml and local_vars.yml are full of 'global variables'. |
Sure. But those 2 section titles should really be...something like |
Now if you want to add --print-foreign-architectures also that would be cool too. While partially a duplication of iiab-summary but that is a post-install tool that would not capture the 'out of the box' pre-iiab environment that might be altered in some unknown way. Just recording the known starting point, just like any other values that are recorded in the same stanza that should not change without willful intervention.
Just a header change feel free. |
Ok |
'ansible_distribution' might be better with 'os_ver' ? |
FWIW after Ansible 2.6+ they ask us not to use |
os_ver matches the form of other entries in create_iiab_ini.yml, this is internal information, should match the detection in use and helps explain OS.yml usage. |
Grouping: Move to be under dpkg_foreign_arch? |
Looks fine to me, run with it. |
Should meet the above requirement, just record the value so it can be easily displayed in the admin-console