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,
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