mirror of
https://github.com/netbootxyz/netboot.xyz.git
synced 2026-04-25 15:15:56 +03:00
[GH-ISSUE #684] Cannot deploy self-hosted version via ansible #1742
Labels
No labels
Hacktoberfest
Hacktoberfest
bootloader
bsd
bug
confirmed
documentation
duplicate
enhancement
enhancement
enhancement
eol
experimental-merged
freebsd
help wanted
invalid
investigate
ipxe
linux
live-os
memdisk
menu
no-issue-activity
no-issue-activity
pull-request
released
todo
upstream
windows
windows
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/netboot.xyz#1742
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @altucor on GitHub (Jul 23, 2020).
Original GitHub issue: https://github.com/netbootxyz/netboot.xyz/issues/684
Describe the bug
Cannot deploy self-hosted netboot via ansible script
To Reproduce
I just followed the steps on fresh and clear Proxmox container based on Ubuntu 16.04
https://netboot.xyz/selfhosting/#deploying-using-ansible
Expected behavior
Correct installation via ansible script
Additional context
Error log during installation:
root@pxe-server:/opt/netboot.xyz# ansible-playbook -i inventory site.yml
[DEPRECATION WARNING]: Specifying include variables at the top-level of the task is deprecated. Please see:
http://docs.ansible.com/ansible/playbooks_roles.html
#task-include-files-and-encouraging-reuse
for currently supported syntax regarding included files and variables. This feature will be removed in a future release.
Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
PLAY ***************************************************************************
TASK [setup] *******************************************************************
ok: [localhost]
TASK [netbootxyz : include] ****************************************************
fatal: [localhost]: FAILED! => {"failed": true, "reason": "ERROR! 'with_filetree' is not a valid attribute for a Task\n\nThe error appears to have been in '/opt/netboot.xyz/roles/netbootxyz/tasks/generate_menus.yml': line 52, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n - name: Generate netboot.xyz source files templates\n ^ here\n"}
PLAY RECAP *********************************************************************
localhost : ok=1 changed=0 unreachable=0 failed=1
root@pxe-server:/opt/netboot.xyz#
@antonym commented on GitHub (Jul 24, 2020):
The current Ansible code is tested on Ansible 2.9.6 on Ubuntu 20.04. You may try building on that or utilize the container build to generate the code and dump it from the proper environment.