[GH-ISSUE #1356] deploying with ansible-playbook #1950

Open
opened 2026-03-01 18:37:35 +03:00 by kerem · 0 comments
Owner

Originally created by @jesse-cain on GitHub (Dec 5, 2023).
Original GitHub issue: https://github.com/netbootxyz/netboot.xyz/issues/1356

Appears that the Ansible deploy is not compatible with newer versions, at least from Ubuntu Repositories.

Discussed in https://github.com/orgs/netbootxyz/discussions/1355

Originally posted by jesse-cain December 5, 2023
I followed the simple instructions found. Built new server, installed ansible git apache2 and cloned the GitHub repo.
When I try to run the deployment ansible-playbook -i inventory site.yml I get errors. I tried to locate errors in the yml but I am just not that familiar with yaml or ansible.
Error:
ERROR! this task 'ansible.builtin.include_tasks' has extra params, which is only allowed in the following modules: meta, include_role, command, set_fact, group_by, script, win_shell, import_tasks, add_host, include_vars, include, win_command, import_role, raw, shell, include_tasks

The error appears to be in '/opt/netboot/roles/netbootxyz/tasks/main.yml': line 7, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

  • name: Generate menus
    ^ here

  • Thanks,

Originally created by @jesse-cain on GitHub (Dec 5, 2023). Original GitHub issue: https://github.com/netbootxyz/netboot.xyz/issues/1356 Appears that the Ansible deploy is not compatible with newer versions, at least from Ubuntu Repositories. ### Discussed in https://github.com/orgs/netbootxyz/discussions/1355 <div type='discussions-op-text'> <sup>Originally posted by **jesse-cain** December 5, 2023</sup> I followed the simple instructions found. Built new server, installed ansible git apache2 and cloned the GitHub repo. When I try to run the deployment `ansible-playbook -i inventory site.yml` I get errors. I tried to locate errors in the yml but I am just not that familiar with yaml or ansible. Error: ERROR! this task 'ansible.builtin.include_tasks' has extra params, which is only allowed in the following modules: meta, include_role, command, set_fact, group_by, script, win_shell, import_tasks, add_host, include_vars, include, win_command, import_role, raw, shell, include_tasks The error appears to be in '/opt/netboot/roles/netbootxyz/tasks/main.yml': line 7, column 3, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: - name: Generate menus ^ here - Thanks, </div>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/netboot.xyz#1950
No description provided.