robertdebock / ansible-role-rsyslog

Install and configure rsyslog on your system.
https://robertdebock.nl/
Apache License 2.0
37 stars 40 forks source link

failing on assert.yml in version 4..4.1 #31

Closed shaunrampersad closed 3 years ago

shaunrampersad commented 3 years ago

Describe the bug

play fails on assert.yml.

Playbook

---
- hosts: all
  become: true
  tasks:

    - name: install robertdebock.rsyslog
      include_role:
        name: robertdebock.rsyslog

Output

ERROR! this task 'ansible.builtin.import_tasks' has extra params, which is only allowed in the following modules: ansible.windows.win_command, win_command, win_shell, include_vars, group_by, ansible.windows.win_shell, add_host, shell, import_tasks, include_tasks, script, raw, set_fact, import_role, command, meta, include_role, include

The error appears to be in '/home/user/code/master/roles/robertdebock.rsyslog/tasks/main.yml': line 4, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

- name: import assert.yml
  ^ here

Environment

Please consider sponsoring me.

shaunrampersad commented 3 years ago

I've upgraded to ansible 2.10.14 and this is now working