deploying with ansible-playbook #1355
Unanswered
jesse-cain
asked this question in
Q&A
Replies: 1 comment
-
update: I tried using an older main.yml from four years ago and that also failed. I am guessing the version of Ansible from Ubuntu repository is not compatible? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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,
Beta Was this translation helpful? Give feedback.
All reactions