mschuchard / linter-ansible-linting

ansible-lint linter for pulsar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

role/tasks/main.yml is not a playbook.

bbaassssiiee opened this issue · comments

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

I am pretty sure you meant to file this under the 'linter-ansible-syntax' project and this is worked around in the upcoming update.

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.