You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[X]: This bug persists when memory is increased beyond 8GB.
(RAM for the build system is 2TB)
Describe the bug
ansible build fails at step TASK [netbootxyz : Gather variables for each operating system]
fatal: [localhost]: FAILED! => {"msg": "No file was found when using first_found."}
output has an override to /tmp/ because unprivileged build users dont touch /var/www.
To Reproduce
Steps to reproduce the behavior:
build ansible local version of netboot.xyz for localhost
Expected behavior
we complete the variable gathering? Screenshots
Additional context
full debug output:
TASK [netbootxyz : Gather variables for each operating system] *****************************************************************************************************************************************************************************************************************************
task path: /home/cicero/netboot.xyz/roles/netbootxyz/tasks/generate_disks_base.yml:6
fatal: [localhost]: FAILED! => {
"msg": "No file was found when using first_found."
}
I had the same issue on a fresh install of Archlinux.
I have never worked with ansible before so pardon if I make any bad reasoning but my issue was solved.
The file names it is trying to find are generated from ansible.builtin.setup with the previous gathered facts step. On my system you can see one of those values here.
I see some os families have their own ansible files, but not archlinux. They seem responsible for installing packages in apt and pip, so I created a similar file that was empty with the understanding I might have to do some manual installs later.
.roles/netbootxyz/vars/archlinux.yml
---
netbootxyz_packages: []
pipxe_packages: []
After creating this file and running the following command, it appears to work and NBPs are generated.
I do not know what a more robust archlinux.yml file should contain to support self hosting netbootxyz the stub I created was sufficient. The only packages I installed manually were ansible, apache, and git.
[X]: This bug persists when memory is increased beyond 8GB.
(RAM for the build system is 2TB)
Describe the bug
ansible build fails at step TASK [netbootxyz : Gather variables for each operating system]
fatal: [localhost]: FAILED! => {"msg": "No file was found when using first_found."}
output has an override to /tmp/ because unprivileged build users dont touch /var/www.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
we complete the variable gathering?
Screenshots
Additional context
full debug output:
TASK [netbootxyz : Gather variables for each operating system] *****************************************************************************************************************************************************************************************************************************
task path: /home/cicero/netboot.xyz/roles/netbootxyz/tasks/generate_disks_base.yml:6
fatal: [localhost]: FAILED! => {
"msg": "No file was found when using first_found."
}
PLAY RECAP *********************************************************************************************************************************************************************************************************************************************************************************
localhost : ok=12 changed=0 unreachable=0 failed=1 skipped=9 rescued=0 ignored=0
ansible version used is ansible [core 2.16.5]
The text was updated successfully, but these errors were encountered: