role/tasks/main.yml is not a playbook.
bbaassssiiee opened this issue · comments
Bas commented
Linter says: "Error 'file' is not a valid attribute for a Play".
But project/roles/role/tasks/main.yml is not a playbook.
- name: 'make sure .bashrc exists'
become: no
file: path=~/.bashrc state=file
Matthew Schuchard commented
I am pretty sure you meant to file this under the 'linter-ansible-syntax' project and this is worked around in the upcoming update.
Matthew Schuchard commented
Sixteen days with no reply. Going to assume this is for 'linter-ansible-syntax' and that it pertains to what was fixed in the relevant commit. Closing.