-
Notifications
You must be signed in to change notification settings - Fork 75
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
[WARNING]: error loading facts as JSON or ini - please check content: /etc/ansible/facts.d/local_facts.fact #2960
Comments
Re iiab-diagnostics: I am so confused. Line 110 of |
I now see that It failed because I made a typo in a pre-setup script that broke Sanity checking the output of But considering that this is a project that people might be interested in porting, and a fairly complex one, that might help a potential high value contributor in future... |
Are you trying to introduce a new OS or trying to setup a build pipeline? Being a bash script you can just run it and see the returned values
The error you noted is about os detection that would be derived from the contents of /etc/os-release on your target VM, to tell ansible about your OS. |
Expected behavior and actual behavior:
Following one click install, with unit-test, minimal, medium or big install, and manual steps from https://github.com/iiab/iiab/wiki/IIAB-Installation#do-everything-from-scratch, all lead to the same dead end below. It seems that
bash.env
does not get generated or is missing. Where does it get generated? Or did I miss a step? Which one? I have done this at least 10 times now, so I am sure I am not missing a step.I've never used ansible before - but I have read the manual and the introduction, but I am still missing something. This is where I am at: From my reading of https://github.com/iiab/iiab/blob/master/vars/default_vars.yml it seems there is a catch-22 - the
/etc/ansible/facts.d/local_facts.fact
mentioned contains environment variables that aren't set, and seems to be set formiiab.env
, but that only gets generated much later, from the facts file, by the looks of it.Steps to reproduce the problem:
My
/etc/ansible/facts.d/local_facts.fact
is identical to https://github.com/iiab/iiab/blob/eabd521200be088fd484edaaa8bc430851297adc/scripts/local_facts.factIIAB version, OS version, hardware details:
Version: git
OS: Ubuntu 20.04
Hardware: qemu_system_x86_64 kvm
Please run the
iiab-diagnostics
command, to generate a URL summarizing your IIAB configuration, for volunteers seeking to help you: (Include that short URL here, Thanks!)Even this tries to reference the
iiab.env
file which I seem to be missing (where and how did I lose it?):The text was updated successfully, but these errors were encountered: